summaryrefslogtreecommitdiff
path: root/target-i386
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-06-20 13:38:54 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-06-20 13:38:54 +0000
commit63b7e036978df6323345bcfa16dba7771e351a85 (patch)
tree8b2b43fec7803ce8a2196d6b0d7dba3dd56f1f3e /target-i386
parent678f2df60fefdf75a880a606fb66d0238ecefbc2 (diff)
downloadqemu-63b7e036978df6323345bcfa16dba7771e351a85.tar.gz
boot to top of 4GB space
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@944 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-i386')
-rw-r--r--target-i386/helper2.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/target-i386/helper2.c b/target-i386/helper2.c
index 03e3db30ad..455b348a0a 100644
--- a/target-i386/helper2.c
+++ b/target-i386/helper2.c
@@ -107,8 +107,7 @@ void cpu_reset(CPUX86State *env)
env->tr.limit = 0xffff;
env->tr.flags = DESC_P_MASK;
- /* not correct (CS base=0xffff0000) */
- cpu_x86_load_seg_cache(env, R_CS, 0xf000, (uint8_t *)0x000f0000, 0xffff, 0);
+ cpu_x86_load_seg_cache(env, R_CS, 0xf000, (uint8_t *)0xffff0000, 0xffff, 0);
cpu_x86_load_seg_cache(env, R_DS, 0, NULL, 0xffff, 0);
cpu_x86_load_seg_cache(env, R_ES, 0, NULL, 0xffff, 0);
cpu_x86_load_seg_cache(env, R_SS, 0, NULL, 0xffff, 0);