mirror of
https://github.com/FDOS/kernel.git
synced 2025-09-24 02:17:45 +02:00
entry.asm: allow critical error Abort on self-parented process
Fixes #213
This commit is contained in:
parent
017e083275
commit
2b54761e28
@ -741,11 +741,16 @@ CritErrExit:
|
||||
; Abort processing.
|
||||
;
|
||||
CritErrAbort:
|
||||
%if 0
|
||||
mov ax,[_cu_psp]
|
||||
mov es,ax
|
||||
cmp ax,[es:PSP_PARENT]
|
||||
mov al,FAIL
|
||||
jz CritErrExit
|
||||
; ecm: This check is done by (E)DR-DOS, but not MS-DOS.
|
||||
; Therefore, disable it and terminate the self-parented
|
||||
; process here like any other.
|
||||
%endif
|
||||
cli
|
||||
mov ax,word [_user_r+2] ;Get frame
|
||||
mov bp,word [_user_r]
|
||||
|
Loading…
x
Reference in New Issue
Block a user