Fix usermode check, thanks Aurelien Jarno.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2897 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
5e755519ac
commit
78749ba859
1 changed files with 1 additions and 1 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue