diff options
author | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-03-11 21:03:16 +0000 |
---|---|---|
committer | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-03-11 21:03:16 +0000 |
commit | 19b045dec90378e63496f7ebf86b4f81fdcc5fd3 (patch) | |
tree | c85450417b41d6917571e53f6a2d4e500934aeb4 /target-arm/nwfpe/fpa11.c | |
parent | b55669bf570339188461a9ba755c2386f549de90 (diff) | |
download | qemu-19b045dec90378e63496f7ebf86b4f81fdcc5fd3.zip qemu-19b045dec90378e63496f7ebf86b4f81fdcc5fd3.tar.gz qemu-19b045dec90378e63496f7ebf86b4f81fdcc5fd3.tar.bz2 |
Fix FPA condition codes (Ulrich Hecht).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1784 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-arm/nwfpe/fpa11.c')
-rw-r--r-- | target-arm/nwfpe/fpa11.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/target-arm/nwfpe/fpa11.c b/target-arm/nwfpe/fpa11.c index cfbe700..a8141e7 100644 --- a/target-arm/nwfpe/fpa11.c +++ b/target-arm/nwfpe/fpa11.c @@ -36,7 +36,7 @@ unsigned int EmulateCPDT(const unsigned int); unsigned int EmulateCPRT(const unsigned int); FPA11* qemufpa=0; -unsigned int* user_registers=0; +CPUARMState* user_registers; /* Reset the FPA11 chip. Called to initialize and reset the emulator. */ void resetFPA11(void) @@ -137,7 +137,8 @@ void SetRoundingPrecision(const unsigned int opcode) } /* Emulate the instruction in the opcode. */ -unsigned int EmulateAll(unsigned int opcode, FPA11* qfpa, unsigned int* qregs) +/* ??? This is not thread safe. */ +unsigned int EmulateAll(unsigned int opcode, FPA11* qfpa, CPUARMState* qregs) { unsigned int nRc = 0; // unsigned long flags; |