Subversion Repositories Kolibri OS

Rev

Rev 1951 | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1951 Rev 2000
1
;---------------------------------------------------------------------
1
;---------------------------------------------------------------------
2
clear_thread:
2
clear_thread:
3
	call	get_memory_for_tread_stack
3
	call	get_memory_for_thread_stack
4
	mov	[clear_thread_stack],eax
4
	mov	[clear_thread_stack],eax
5
	mcall	51, 1, clear_thread_start	;, clear_thread_stack
5
	mcall	51,1,clear_thread_start	;, clear_thread_stack
6
	ret
6
	ret
7
;---------------------------------------------------------------------
7
;---------------------------------------------------------------------
8
clear_thread_start:
8
clear_thread_start:
9
	mcall	5,100
9
	mcall	5,100
10
@@:
10
@@:
11
	mcall	23,10
11
	mcall	23,10
12
	cmp	eax,5
12
	cmp	eax,5
13
	je	@f
13
	je	@f
14
	mcall	15,3
14
	mcall	15,3
15
	mcall	68,13,[clear_thread_stack]
15
	mcall	68,13,[clear_thread_stack]
16
	mcall	-1
16
	mcall	-1
17
;---------------------------------------------------------------------
17
;---------------------------------------------------------------------