Commit 63b7e036978df6323345bcfa16dba7771e351a85
1 parent
678f2df6
boot to top of 4GB space
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@944 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
2 deletions
target-i386/helper2.c
... | ... | @@ -107,8 +107,7 @@ void cpu_reset(CPUX86State *env) |
107 | 107 | env->tr.limit = 0xffff; |
108 | 108 | env->tr.flags = DESC_P_MASK; |
109 | 109 | |
110 | - /* not correct (CS base=0xffff0000) */ | |
111 | - cpu_x86_load_seg_cache(env, R_CS, 0xf000, (uint8_t *)0x000f0000, 0xffff, 0); | |
110 | + cpu_x86_load_seg_cache(env, R_CS, 0xf000, (uint8_t *)0xffff0000, 0xffff, 0); | |
112 | 111 | cpu_x86_load_seg_cache(env, R_DS, 0, NULL, 0xffff, 0); |
113 | 112 | cpu_x86_load_seg_cache(env, R_ES, 0, NULL, 0xffff, 0); |
114 | 113 | cpu_x86_load_seg_cache(env, R_SS, 0, NULL, 0xffff, 0); | ... | ... |