Commit a3c7cd11 authored by Konstantin Belousov's avatar Konstantin Belousov
Browse files

Fix double-load of %cr3 and double-copy of the stack frame for the

kernel entry from userspace vm86.

Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
parent 67ad3c0b
......@@ -218,7 +218,7 @@
testl $PCB_VM86CALL, PCB_FLAGS(%eax)
jnz 3f
jmp 2f
jmp 3f
1: testb $SEL_RPL_MASK, TF_CS(%esp)
jz 3f
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