We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 330d420 commit 49432dfCopy full SHA for 49432df
kernel/entry.asm
@@ -646,8 +646,8 @@ CritErr05:
646
;
647
; switch to user's stack
648
649
- mov ss,[es:PSP_USERSS]
650
mov bp,[es:PSP_USERSP]
+ mov ss,[es:PSP_USERSS]
651
RestoreSP
652
Restore386Registers
653
mov bp,cx
@@ -747,9 +747,9 @@ CritErrAbort:
747
mov al,FAIL
748
jz CritErrExit
749
cli
750
- mov bp,word [_user_r+2] ;Get frame
751
- mov ss,bp
+ mov ax,word [_user_r+2] ;Get frame
752
mov bp,word [_user_r]
+ mov ss,ax
753
mov sp,bp
754
mov byte [_ErrorMode],1 ; flag abort
755
mov ax,4C00h
0 commit comments