diff options
Diffstat (limited to 'linux-user')
-rw-r--r-- | linux-user/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linux-user/main.c b/linux-user/main.c index 2f341d92c9..b85637f8bf 100644 --- a/linux-user/main.c +++ b/linux-user/main.c @@ -433,6 +433,8 @@ int main(int argc, char **argv) env->user_mode_only = 1; #if defined(TARGET_I386) + env->cr[0] = CR0_PG_MASK | CR0_WP_MASK | CR0_PE_MASK; + /* linux register setup */ env->regs[R_EAX] = regs->eax; env->regs[R_EBX] = regs->ebx; |