diff options
author | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-03-11 16:23:39 +0000 |
---|---|---|
committer | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-03-11 16:23:39 +0000 |
commit | 56b194039eb3a2a9d239662c004367c726a5ab4f (patch) | |
tree | 79a464234c70df1aeb10730c1e0d452bd716a4a4 | |
parent | 98c1b82b6cf96d650bf07a6a2bf0414907924ffe (diff) |
Rename MIPS_HFLAG(S)_TMASK (Thiemo Seufer).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1775 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r-- | cpu-exec.c | 2 | ||||
-rw-r--r-- | target-mips/cpu.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cpu-exec.c b/cpu-exec.c index 3a537fc46c..4741a25261 100644 --- a/cpu-exec.c +++ b/cpu-exec.c @@ -187,7 +187,7 @@ static inline TranslationBlock *tb_find_fast(void) cs_base = 0; pc = env->nip; #elif defined(TARGET_MIPS) - flags = env->hflags & (MIPS_HFLAGS_TMASK | MIPS_HFLAG_BMASK); + flags = env->hflags & (MIPS_HFLAG_TMASK | MIPS_HFLAG_BMASK); cs_base = 0; pc = env->PC; #else diff --git a/target-mips/cpu.h b/target-mips/cpu.h index 809c586a01..af5a97e68d 100644 --- a/target-mips/cpu.h +++ b/target-mips/cpu.h @@ -149,7 +149,7 @@ struct CPUMIPSState { int user_mode_only; /* user mode only simulation */ uint32_t hflags; /* CPU State */ /* TMASK defines different execution modes */ -#define MIPS_HFLAGS_TMASK 0x00FF +#define MIPS_HFLAG_TMASK 0x007F #define MIPS_HFLAG_MODE 0x001F /* execution modes */ #define MIPS_HFLAG_UM 0x0001 /* user mode */ #define MIPS_HFLAG_ERL 0x0002 /* Error mode */ |