aboutsummaryrefslogtreecommitdiff
path: root/target-i386
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-12-17 01:05:42 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-12-17 01:05:42 +0000
commit265d3497763842573ab67bf67cedef2062f1b7ec (patch)
tree86447bdf2030cda22fdfa917df70b5fc67555e24 /target-i386
parentdbf2c23a60ab167e686ae2502900943a5be33210 (diff)
switch_tss fix (aka spoon OS bug)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1704 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-i386')
-rw-r--r--target-i386/helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-i386/helper.c b/target-i386/helper.c
index 0c5e362c73..531ba1b155 100644
--- a/target-i386/helper.c
+++ b/target-i386/helper.c
@@ -339,7 +339,7 @@ static void switch_tss(int tss_selector,
necessary to valid the TLB after having done the accesses */
v1 = ldub_kernel(env->tr.base);
- v2 = ldub(env->tr.base + old_tss_limit_max);
+ v2 = ldub_kernel(env->tr.base + old_tss_limit_max);
stb_kernel(env->tr.base, v1);
stb_kernel(env->tr.base + old_tss_limit_max, v2);