aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-14 19:40:27 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-14 19:40:27 +0000
commit72d239ed26db3f288e73b68b70fcf1bb06f67900 (patch)
treea7a198fb8a8599857f31ea3f4c22797ccd4ec45a /tests
parent1c918eba9aa037e5c48cf46a6e67fe2aa8e80d04 (diff)
downloadqemu-72d239ed26db3f288e73b68b70fcf1bb06f67900.zip
qemu-72d239ed26db3f288e73b68b70fcf1bb06f67900.tar.gz
qemu-72d239ed26db3f288e73b68b70fcf1bb06f67900.tar.bz2
Get rid of user_mode_only
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6305 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'tests')
-rw-r--r--tests/qruncom.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/qruncom.c b/tests/qruncom.c
index 6bc0b2b..5e503bc 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;