arm: Get rid of some magic constants. Specify proper ARM mode.

Initially, we were starting the emulator in USER26MODE, which is incorrect, this should be USER32MODE.
This commit is contained in:
Lioncash 2015-02-11 10:49:48 -05:00
parent 93cd199633
commit c94c41f95a
3 changed files with 10 additions and 3 deletions

View file

@ -50,6 +50,13 @@ enum {
INSTCACHE = 2,
};
// Abort models
enum {
ABORT_BASE_RESTORED = 0,
ABORT_EARLY = 1,
ABORT_BASE_UPDATED = 2
};
#define POS(i) ( (~(i)) >> 31 )
#define NEG(i) ( (i) >> 31 )