summaryrefslogtreecommitdiffhomepage
path: root/src/thread/nt32/syscall_cp.s
blob: c52731fb338ae02a864721ad172159adcfe238fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
.text
.globl	___syscall_cp_asm
.globl	___cp_begin
.globl	___cp_end

___syscall_cp_asm:
___cp_begin:
	mov 	(%ecx),	%ecx	/* check content of ptr */
	test	%ecx,	%ecx
	jnz	___cancel	/* thread is pending cancellation */

	jmp	___syscall

___cp_end:
	ret