faster and more accurate segment handling

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@373 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
bellard 2003-08-21 23:25:21 +00:00
parent 3f33731662
commit 2e255c6b9f
7 changed files with 153 additions and 97 deletions

View file

@ -433,6 +433,8 @@ int main(int argc, char **argv)
env->user_mode_only = 1;
#if defined(TARGET_I386)
cpu_x86_set_cpl(env, 3);
env->cr[0] = CR0_PG_MASK | CR0_WP_MASK | CR0_PE_MASK;
/* linux register setup */