Commit c4e27dd441d0271d448043d0c326b995b1f3ed17

Authored by bellard
1 parent d80c7d1c

64 bit syscall fix


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2375 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 1 deletions
@@ -483,7 +483,7 @@ static int do_syscall(CPUState *env, @@ -483,7 +483,7 @@ static int do_syscall(CPUState *env,
483 cpu_x86_set_cpl(env, 0); 483 cpu_x86_set_cpl(env, 0);
484 cpu_x86_load_seg_cache(env, R_CS, selector & 0xfffc, 484 cpu_x86_load_seg_cache(env, R_CS, selector & 0xfffc,
485 0, 0xffffffff, 485 0, 0xffffffff,
486 - DESC_G_MASK | DESC_B_MASK | DESC_P_MASK | 486 + DESC_G_MASK | DESC_P_MASK |
487 DESC_S_MASK | 487 DESC_S_MASK |
488 DESC_CS_MASK | DESC_R_MASK | DESC_A_MASK | DESC_L_MASK); 488 DESC_CS_MASK | DESC_R_MASK | DESC_A_MASK | DESC_L_MASK);
489 cpu_x86_load_seg_cache(env, R_SS, (selector + 8) & 0xfffc, 489 cpu_x86_load_seg_cache(env, R_SS, (selector + 8) & 0xfffc,