From 72d239ed26db3f288e73b68b70fcf1bb06f67900 Mon Sep 17 00:00:00 2001 From: aurel32 Date: Wed, 14 Jan 2009 19:40:27 +0000 Subject: Get rid of user_mode_only Signed-off-by: Aurelien Jarno git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6305 c046a42c-6fe2-441c-8c8c-71466251a162 --- tests/qruncom.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'tests') diff --git a/tests/qruncom.c b/tests/qruncom.c index 6bc0b2b2d4..5e503bcccf 100644 --- a/tests/qruncom.c +++ b/tests/qruncom.c @@ -199,10 +199,6 @@ int main(int argc, char **argv) env = cpu_init("qemu32"); - /* set user mode state (XXX: should be done automatically by - cpu_init ?) */ - env->user_mode_only = 1; - cpu_x86_set_cpl(env, 3); env->cr[0] = CR0_PG_MASK | CR0_WP_MASK | CR0_PE_MASK; -- cgit v1.2.3