summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-01-29 17:50:07 -0500
committermidipix <writeonce@midipix.org>2016-01-29 17:50:07 -0500
commitc5e6e59c2681cab7ac731766b7c25cfbc60d6e7b (patch)
tree60b0d29c5e47917857679d66dc9c9373b03de4a7 /src
parentb3094b987bbfc34d3f8427f1b447ead7a8d3f09c (diff)
downloadmmglue-c5e6e59c2681cab7ac731766b7c25cfbc60d6e7b.tar.bz2
mmglue-c5e6e59c2681cab7ac731766b7c25cfbc60d6e7b.tar.xz
syscall_cp(): fix comment style.
Diffstat (limited to 'src')
-rw-r--r--src/thread/nt32/syscall_cp.s4
-rw-r--r--src/thread/nt64/syscall_cp.s10
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