From 1e42b8f06dedf7229c3e7d4660ef85e404f8692f Mon Sep 17 00:00:00 2001 From: j_mayer Date: Sun, 14 Oct 2007 08:27:14 +0000 Subject: [PATCH] Generate micro-ops for PowerPC hypervisor mode. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3386 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-ppc/op.c | 5 +++++ target-ppc/op_helper.c | 5 +++++ 2 files changed, 10 insertions(+) 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