From 2436b61a6b386d712a1813b036921443bd1c5c39 Mon Sep 17 00:00:00 2001 From: balrog Date: Thu, 25 Sep 2008 18:16:18 +0000 Subject: SYSENTER/SYSEXIT IA-32e implementation (Alexander Graf). On Intel CPUs, sysenter and sysexit are valid in 64-bit mode. This patch makes both 64-bit aware and enables them for Intel CPUs. Add cpu save/load for 64-bit wide sysenter variables. Signed-off-by: Alexander Graf git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5318 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-i386/helper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target-i386/helper.h') diff --git a/target-i386/helper.h b/target-i386/helper.h index 14ed100d3..ea7bd3514 100644 --- a/target-i386/helper.h +++ b/target-i386/helper.h @@ -55,7 +55,7 @@ DEF_HELPER(void, helper_enter_level, (int level, int data32, target_ulong t1)) DEF_HELPER(void, helper_enter64_level, (int level, int data64, target_ulong t1)) #endif DEF_HELPER(void, helper_sysenter, (void)) -DEF_HELPER(void, helper_sysexit, (void)) +DEF_HELPER(void, helper_sysexit, (int dflag)) #ifdef TARGET_X86_64 DEF_HELPER(void, helper_syscall, (int next_eip_addend)) DEF_HELPER(void, helper_sysret, (int dflag)) -- cgit v1.2.3-65-gdbad