summaryrefslogtreecommitdiffstats
path: root/target-ppc/cpu.h
diff options
context:
space:
mode:
authorj_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162>2007-09-21 05:23:26 +0000
committerj_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162>2007-09-21 05:23:26 +0000
commit4296f45902536506369cc9c9c329d6680fa3f1a9 (patch)
tree5a4dc713a8aa05ab455adafac6a0ad1718a0239f /target-ppc/cpu.h
parentc068688b03f4af8994ba0d7bd41a74c8f245453b (diff)
downloadhqemu-4296f45902536506369cc9c9c329d6680fa3f1a9.zip
hqemu-4296f45902536506369cc9c9c329d6680fa3f1a9.tar.gz
Make CPU hflags be a masked version of the PowerPC MSR.
As a side effect, avoid potential bits shadowing in TB flags on 64 bits BookE. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3199 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc/cpu.h')
-rw-r--r--target-ppc/cpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-ppc/cpu.h b/target-ppc/cpu.h
index 3ca22e5..e2cf956 100644
--- a/target-ppc/cpu.h
+++ b/target-ppc/cpu.h
@@ -807,7 +807,7 @@ struct CPUPPCState {
/* Those resources are used only in Qemu core */
jmp_buf jmp_env;
int user_mode_only; /* user mode only simulation */
- uint32_t hflags;
+ target_ulong hflags; /* hflags is a MSR & HFLAGS_MASK */
/* Power management */
int power_mode;
OpenPOWER on IntegriCloud