mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
in C and asm, replace pkg·name with ·name
(eliminate assumption of package global name space, make code easier to move between packages). R=r CC=golang-dev https://golang.org/cl/194072
This commit is contained in:
parent
c90b05bf7d
commit
718be3215f
64 changed files with 416 additions and 416 deletions
|
|
@ -49,11 +49,11 @@ futexsleep(uint32 *addr, uint32 val)
|
|||
return;
|
||||
|
||||
prints("futexsleep addr=");
|
||||
runtime·printpointer(addr);
|
||||
·printpointer(addr);
|
||||
prints(" val=");
|
||||
runtime·printint(val);
|
||||
·printint(val);
|
||||
prints(" returned ");
|
||||
runtime·printint(ret);
|
||||
·printint(ret);
|
||||
prints("\n");
|
||||
*(int32*)0x1005 = 0x1005;
|
||||
}
|
||||
|
|
@ -74,9 +74,9 @@ futexwakeup(uint32 *addr)
|
|||
// safe to loop and call futex again.
|
||||
|
||||
prints("futexwakeup addr=");
|
||||
runtime·printpointer(addr);
|
||||
·printpointer(addr);
|
||||
prints(" returned ");
|
||||
runtime·printint(ret);
|
||||
·printint(ret);
|
||||
prints("\n");
|
||||
*(int32*)0x1006 = 0x1006;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue