diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-12-17 01:05:42 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-12-17 01:05:42 +0000 |
commit | 265d3497763842573ab67bf67cedef2062f1b7ec (patch) | |
tree | 86447bdf2030cda22fdfa917df70b5fc67555e24 /target-i386 | |
parent | dbf2c23a60ab167e686ae2502900943a5be33210 (diff) | |
download | hqemu-265d3497763842573ab67bf67cedef2062f1b7ec.zip hqemu-265d3497763842573ab67bf67cedef2062f1b7ec.tar.gz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-i386/helper.c b/target-i386/helper.c index 0c5e362..531ba1b 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); |