diff options
author | j_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-11-16 14:11:28 +0000 |
---|---|---|
committer | j_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-11-16 14:11:28 +0000 |
commit | 7863667f35531557f10e7f920e4361f621a14e3f (patch) | |
tree | 87b0adcf62fc8f3f7cb3f331fad68f7d5b39a6eb /target-ppc/op_helper.c | |
parent | 2f6196984b98fe2a852b1b5254756f1614eb7635 (diff) | |
download | qemu-7863667f35531557f10e7f920e4361f621a14e3f.zip qemu-7863667f35531557f10e7f920e4361f621a14e3f.tar.gz qemu-7863667f35531557f10e7f920e4361f621a14e3f.tar.bz2 |
Always make PowerPC hypervisor mode memory accesses and instructions
available for full system emulation, then removing all #if TARGET_PPC64H
from micro-ops and code translator.
Add new macros to dramatically simplify memory access tables definitions
in target-ppc/translate.c.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3654 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc/op_helper.c')
-rw-r--r-- | target-ppc/op_helper.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/target-ppc/op_helper.c b/target-ppc/op_helper.c index 1dde1a1..50c3d72 100644 --- a/target-ppc/op_helper.c +++ b/target-ppc/op_helper.c @@ -33,12 +33,10 @@ #define MEMSUFFIX _kernel #include "op_helper.h" #include "op_helper_mem.h" -#if defined(TARGET_PPC64H) #define MEMSUFFIX _hypv #include "op_helper.h" #include "op_helper_mem.h" #endif -#endif //#define DEBUG_OP //#define DEBUG_EXCEPTIONS @@ -1475,8 +1473,7 @@ void do_rfid (void) __do_rfi(env->spr[SPR_SRR0], env->spr[SPR_SRR1], ~((target_ulong)0xFFFF0000), 0); } -#endif -#if defined(TARGET_PPC64H) + void do_hrfid (void) { __do_rfi(env->spr[SPR_HSRR0], env->spr[SPR_HSRR1], |