diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/thread/nt32/syscall_cp.s | 4 | ||||
-rw-r--r-- | src/thread/nt64/syscall_cp.s | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/thread/nt32/syscall_cp.s b/src/thread/nt32/syscall_cp.s index 1b3f672..1f5142c 100644 --- a/src/thread/nt32/syscall_cp.s +++ b/src/thread/nt32/syscall_cp.s @@ -5,9 +5,9 @@ ___syscall_cp_asm: ___cp_begin: - mov (%ecx), %ecx /* check content of ptr */ + mov (%ecx), %ecx # check content of ptr test %ecx, %ecx - jnz ___cancel /* thread is pending cancellation */ + jnz ___cancel # thread is pending cancellation jmp ___syscall diff --git a/src/thread/nt64/syscall_cp.s b/src/thread/nt64/syscall_cp.s index 0488e19..7d4cbaf 100644 --- a/src/thread/nt64/syscall_cp.s +++ b/src/thread/nt64/syscall_cp.s @@ -5,13 +5,13 @@ __syscall_cp_asm: __cp_begin: - movq (%rcx), %rcx /* check content of ptr */ + movq (%rcx), %rcx # check content of ptr test %ecx, %ecx - jnz __cancel /* thread is pending cancellation */ + jnz __cancel # thread is pending cancellation - movq %rdx, %rcx/* move water */ - movq %r8, %rdx/* from one glass */ - movq %r9, %r8 /* to another */ + movq %rdx, %rcx # move water + movq %r8, %rdx # from one glass + movq %r9, %r8 # to another movq 0x28(%rsp), %r9 movq 0x30(%rsp),%rax |