Commit 265d3497 authored by bellard's avatar bellard
Browse files

switch_tss fix (aka spoon OS bug)

git-svn-id: svn:// c046a42c-6fe2-441c-8c8c-71466251a162
parent dbf2c23a
......@@ -339,7 +339,7 @@ static void switch_tss(int tss_selector,
necessary to valid the TLB after having done the accesses */
v1 = ldub_kernel(env->tr.base);
v2 = ldub(env->tr.base + old_tss_limit_max);
v2 = ldub_kernel(env->tr.base + old_tss_limit_max);
stb_kernel(env->tr.base, v1);
stb_kernel(env->tr.base + old_tss_limit_max, v2);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment