mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-20 00:33:57 +00:00
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
This commit is contained in:
parent
67ad3c0bf9
commit
a3c7cd11d2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=334040
|
@ -218,7 +218,7 @@
|
|||
testl $PCB_VM86CALL, PCB_FLAGS(%eax)
|
||||
jnz 3f
|
||||
NMOVE_STACKS
|
||||
jmp 2f
|
||||
jmp 3f
|
||||
1: testb $SEL_RPL_MASK, TF_CS(%esp)
|
||||
jz 3f
|
||||
2: MOVE_STACKS
|
||||
|
|
Loading…
Reference in a new issue