mirror of
https://github.com/FDOS/kernel.git
synced 2025-09-24 10:28:01 +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.
|
; Abort processing.
|
||||||
;
|
;
|
||||||
CritErrAbort:
|
CritErrAbort:
|
||||||
|
%if 0
|
||||||
mov ax,[_cu_psp]
|
mov ax,[_cu_psp]
|
||||||
mov es,ax
|
mov es,ax
|
||||||
cmp ax,[es:PSP_PARENT]
|
cmp ax,[es:PSP_PARENT]
|
||||||
mov al,FAIL
|
mov al,FAIL
|
||||||
jz CritErrExit
|
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
|
cli
|
||||||
mov ax,word [_user_r+2] ;Get frame
|
mov ax,word [_user_r+2] ;Get frame
|
||||||
mov bp,word [_user_r]
|
mov bp,word [_user_r]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user