kolibrios-fun/programs/media/zsea/clr_bcgr.inc
Marat Zakiyanov (Mario79) 3dee3b0598 zSea - cleaning and preparing the source code
git-svn-id: svn://kolibrios.org@2000 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-07-07 19:18:51 +00:00

17 lines
472 B
PHP

;---------------------------------------------------------------------
clear_thread:
call get_memory_for_thread_stack
mov [clear_thread_stack],eax
mcall 51,1,clear_thread_start ;, clear_thread_stack
ret
;---------------------------------------------------------------------
clear_thread_start:
mcall 5,100
@@:
mcall 23,10
cmp eax,5
je @f
mcall 15,3
mcall 68,13,[clear_thread_stack]
mcall -1
;---------------------------------------------------------------------