Rename MIPS_HFLAGS_TMASK
PATCH 1/1 Rename MIPS_HFLAGS_TMASK
Hello All,
this renames MIPS_HFLAG(S)_TMASK for consistency.
Thiemo
Index: cpu-exec.c
===================================================================
RCS file: /sources/qemu/qemu/cpu-exec.c,v
retrieving revision 1.73
cpu-exec.c +1 -1
@@ -185,7 +185,7 @@ static inline TranslationBlock *tb_find_ 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
Index: target-mips/cpu.h
===================================================================
RCS file: /sources/qemu/qemu/target-mips/cpu.h,v
retrieving revision 1.4
cpu.h +1 -1
@@ -146,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 */