From c4e27dd441d0271d448043d0c326b995b1f3ed17 Mon Sep 17 00:00:00 2001 From: bellard Date: Thu, 1 Feb 2007 22:12:43 +0000 Subject: [PATCH] 64 bit syscall fix git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2375 c046a42c-6fe2-441c-8c8c-71466251a162 --- kqemu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kqemu.c b/kqemu.c index e01556a..96ca582 100644 --- a/kqemu.c +++ b/kqemu.c @@ -483,7 +483,7 @@ static int do_syscall(CPUState *env, cpu_x86_set_cpl(env, 0); cpu_x86_load_seg_cache(env, R_CS, selector & 0xfffc, 0, 0xffffffff, - DESC_G_MASK | DESC_B_MASK | DESC_P_MASK | + DESC_G_MASK | DESC_P_MASK | DESC_S_MASK | DESC_CS_MASK | DESC_R_MASK | DESC_A_MASK | DESC_L_MASK); cpu_x86_load_seg_cache(env, R_SS, (selector + 8) & 0xfffc, -- 2.7.4