Commit 56b194039eb3a2a9d239662c004367c726a5ab4f

Authored by pbrook
1 parent 98c1b82b

Rename MIPS_HFLAG(S)_TMASK (Thiemo Seufer).


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1775 c046a42c-6fe2-441c-8c8c-71466251a162
cpu-exec.c
... ... @@ -187,7 +187,7 @@ static inline TranslationBlock *tb_find_fast(void)
187 187 cs_base = 0;
188 188 pc = env->nip;
189 189 #elif defined(TARGET_MIPS)
190   - flags = env->hflags & (MIPS_HFLAGS_TMASK | MIPS_HFLAG_BMASK);
  190 + flags = env->hflags & (MIPS_HFLAG_TMASK | MIPS_HFLAG_BMASK);
191 191 cs_base = 0;
192 192 pc = env->PC;
193 193 #else
... ...
target-mips/cpu.h
... ... @@ -149,7 +149,7 @@ struct CPUMIPSState {
149 149 int user_mode_only; /* user mode only simulation */
150 150 uint32_t hflags; /* CPU State */
151 151 /* TMASK defines different execution modes */
152   -#define MIPS_HFLAGS_TMASK 0x00FF
  152 +#define MIPS_HFLAG_TMASK 0x007F
153 153 #define MIPS_HFLAG_MODE 0x001F /* execution modes */
154 154 #define MIPS_HFLAG_UM 0x0001 /* user mode */
155 155 #define MIPS_HFLAG_ERL 0x0002 /* Error mode */
... ...