Signed-off-by: Don Porter <porter@cs.unc.edu>
---
include/hw/core/sysemu-cpu-ops.h | 6 +++++
target/i386/cpu.h | 5 ++--
target/i386/helper.c | 36 +++++++++++++++++++++++++++
target/i386/tcg/helper-tcg.h | 32 ++++++++++++++++++++++++
target/i386/tcg/seg_helper.c | 36 ---------------------------
target/i386/tcg/sysemu/excp_helper.c | 37 +---------------------------
6 files changed, 77 insertions(+), 75 deletions(-)
diff --git a/include/hw/core/sysemu-cpu-ops.h b/include/hw/core/sysemu-cpu-ops.h
index 24d003fe04..4c94e51267 100644
--- a/include/hw/core/sysemu-cpu-ops.h
+++ b/include/hw/core/sysemu-cpu-ops.h
@@ -12,6 +12,12 @@
#include "hw/core/cpu.h"
+typedef enum TranslateFaultStage2 {
+ S2_NONE,
+ S2_GPA,
+ S2_GPT,
+} TranslateFaultStage2;