From 4296f45902536506369cc9c9c329d6680fa3f1a9 Mon Sep 17 00:00:00 2001 From: j_mayer Date: Fri, 21 Sep 2007 05:23:26 +0000 Subject: 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 --- target-ppc/cpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target-ppc/cpu.h') 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; -- cgit v1.1