diff options
author | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-05-29 18:55:34 +0000 |
---|---|---|
committer | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-05-29 18:55:34 +0000 |
commit | 78749ba859684748366b5de630ad41bd1b2d60a2 (patch) | |
tree | 3da9e94d098b30fdbdb445a12f938c028804849c /target-mips/cpu.h | |
parent | 5e755519ac9d867f7da13f58a9d0c262db82e14c (diff) |
Fix usermode check, thanks Aurelien Jarno.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2897 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-mips/cpu.h')
-rw-r--r-- | target-mips/cpu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-mips/cpu.h b/target-mips/cpu.h index 2736614cd4..36c58ec1e2 100644 --- a/target-mips/cpu.h +++ b/target-mips/cpu.h @@ -256,7 +256,7 @@ struct CPUMIPSState { uint32_t hflags; /* CPU State */ /* TMASK defines different execution modes */ #define MIPS_HFLAG_TMASK 0x007F -#define MIPS_HFLAG_MODE 0x001F /* execution modes */ +#define MIPS_HFLAG_MODE 0x0007 /* execution modes */ #define MIPS_HFLAG_UM 0x0001 /* user mode */ #define MIPS_HFLAG_DM 0x0002 /* Debug mode */ #define MIPS_HFLAG_SM 0x0004 /* Supervisor mode */ |