--- qemu/linux-user/arm/nwfpe/fpa11.h 2018/04/24 16:52:09 1.1 +++ qemu/linux-user/arm/nwfpe/fpa11.h 2018/04/24 18:58:04 1.1.1.5 @@ -15,8 +15,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + along with this program; if not, see . */ #ifndef __FPA11_H__ @@ -90,9 +89,9 @@ typedef struct tagFPA11 { extern FPA11* qemufpa; -extern void resetFPA11(void); -extern void SetRoundingMode(const unsigned int); -extern void SetRoundingPrecision(const unsigned int); +void resetFPA11(void); +void SetRoundingMode(const unsigned int); +void SetRoundingPrecision(const unsigned int); static inline unsigned int readRegister(unsigned int reg) { @@ -112,10 +111,19 @@ static inline void writeConditionCodes(u cpsr_write(user_registers,x,CPSR_NZCV); } -#define REG_PC 15 +#define ARM_REG_PC 15 unsigned int EmulateAll(unsigned int opcode, FPA11* qfpa, CPUARMState* qregs); +unsigned int EmulateCPDO(const unsigned int); +unsigned int EmulateCPDT(const unsigned int); +unsigned int EmulateCPRT(const unsigned int); + +unsigned int SingleCPDO(const unsigned int opcode); +unsigned int DoubleCPDO(const unsigned int opcode); +unsigned int ExtendedCPDO(const unsigned int opcode); + + /* included only for get_user/put_user macros */ #include "qemu.h"