i386 doreti: Fix calculation of stack frame size
Reviewed by: kib
Fixes: e8b2980e4a
- i386 doreti: stop saving/restoring %ecx
This commit is contained in:
parent
66c73af7ea
commit
cfdc649e45
@ -530,7 +530,7 @@ doreti_exit:
|
||||
testl $PSL_VM,TF_EFLAGS(%esp)
|
||||
jz 2f /* PCB_VM86CALL is not set */
|
||||
addl $VM86_STACK_SPACE, %ecx
|
||||
2: subl $TF_SZ, %edx
|
||||
2: subl %ecx, %edx
|
||||
movl %edx, %edi
|
||||
rep; movsb
|
||||
movl %edx, %esp
|
||||
|
Loading…
Reference in New Issue
Block a user