projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e75551
)
Fix usermode check, thanks Aurelien Jarno.
author
ths
<ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 29 May 2007 18:55:34 +0000
(18:55 +0000)
committer
ths
<ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 29 May 2007 18:55:34 +0000
(18:55 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2897
c046a42c
-6fe2-441c-8c8c-
71466251a162
target-mips/cpu.h
patch
|
blob
|
history
diff --git
a/target-mips/cpu.h
b/target-mips/cpu.h
index 2736614cd4783dfdf16e489733719433a39f1cce..36c58ec1e2d22a1ac91a71817a3ef3cffd5709ae 100644
(file)
--- 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 0x00
1F
/* execution modes */
+#define MIPS_HFLAG_MODE 0x00
07
/* execution modes */
#define MIPS_HFLAG_UM 0x0001 /* user mode */
#define MIPS_HFLAG_DM 0x0002 /* Debug mode */
#define MIPS_HFLAG_SM 0x0004 /* Supervisor mode */