Commit 7ca5a0d3 authored by Russ Cox's avatar Russ Cox

correct arg register in bsdthread_create

R=r
DELTA=1  (0 added, 0 deleted, 1 changed)
OCL=21040
CL=21176
parent 8fb837d9
...@@ -157,7 +157,7 @@ TEXT bsdthread_create(SB),7,$-8 ...@@ -157,7 +157,7 @@ TEXT bsdthread_create(SB),7,$-8
MOVQ m+16(SP), SI // "arg" MOVQ m+16(SP), SI // "arg"
MOVQ stk+8(SP), DX // stack MOVQ stk+8(SP), DX // stack
MOVQ g+24(SP), R10 // "pthread" MOVQ g+24(SP), R10 // "pthread"
MOVQ $0, R10 // flags MOVQ $0, R8 // flags
MOVQ $(0x2000000+360), AX // bsdthread_create MOVQ $(0x2000000+360), AX // bsdthread_create
SYSCALL SYSCALL
JCC 2(PC) JCC 2(PC)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment