Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 4458 → Rev 4459

/kernel/branches/kolibri-process/core/sys32.inc
418,6 → 418,8
.slot equ esp+4 ;locals
.process equ esp ;ptr to parent process
 
xchg bx, bx
 
push esi ;save .slot
 
shl esi, 8
751,13 → 753,12
 
bts [thr_slot_map], esi
 
mov ebx, [.process]
add ebx, PROC.thr_list
cmp ebx, [ebx+LHEAD.next]
mov ecx, [.process]
lea eax, [ecx+PROC.thr_list]
cmp eax, [eax+LHEAD.next]
jne @F
 
DEBUGF 1,"%s",msg_process_destroy
 
call destroy_process.internal
@@:
sti ; .. and life goes on
 
778,9 → 779,6
restore .slot
restore .process
 
msg_process_destroy: db 'K: destroy process', 0x0d, 0x0a,0
 
 
; Three following procedures are used to guarantee that
; some part of kernel code will not be terminated from outside
; while it is running.