diff options
author | j_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-10-14 08:27:14 +0000 |
---|---|---|
committer | j_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-10-14 08:27:14 +0000 |
commit | 1e42b8f06dedf7229c3e7d4660ef85e404f8692f (patch) | |
tree | a2e177e5752e7afa32617a1ef6cff53adeb711d1 | |
parent | b1806c9e67fd887bca117af2fc061f3dcc3beb98 (diff) |
Generate micro-ops for PowerPC hypervisor mode.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3386 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r-- | target-ppc/op.c | 5 | ||||
-rw-r--r-- | target-ppc/op_helper.c | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/target-ppc/op.c b/target-ppc/op.c index 1412c09ae0..4889ad476f 100644 --- a/target-ppc/op.c +++ b/target-ppc/op.c @@ -1919,6 +1919,11 @@ void OPPROTO op_fneg (void) #define MEMSUFFIX _kernel #include "op_helper.h" #include "op_mem.h" +#if defined(TARGET_PPC64H) +#define MEMSUFFIX _hypv +#include "op_helper.h" +#include "op_mem.h" +#endif #endif /* Special op to check and maybe clear reservation */ diff --git a/target-ppc/op_helper.c b/target-ppc/op_helper.c index 38c3a7ff8f..f5331bace4 100644 --- a/target-ppc/op_helper.c +++ b/target-ppc/op_helper.c @@ -31,6 +31,11 @@ #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 |