LEFT | RIGHT |
(Both sides are equal) |
1 // Copyright 2009 The Go Authors. All rights reserved. | 1 // Copyright 2009 The Go Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style | 2 // Use of this source code is governed by a BSD-style |
3 // license that can be found in the LICENSE file. | 3 // license that can be found in the LICENSE file. |
4 | 4 |
5 // | 5 // |
6 // System calls and other sys.stuff for AMD64, Darwin | 6 // System calls and other sys.stuff for AMD64, Darwin |
7 // See http://fxr.watson.org/fxr/source/bsd/kern/syscalls.c?v=xnu-1228 | 7 // See http://fxr.watson.org/fxr/source/bsd/kern/syscalls.c?v=xnu-1228 |
8 // or /usr/include/sys/syscall.h (on a Mac) for system call numbers. | 8 // or /usr/include/sys/syscall.h (on a Mac) for system call numbers. |
9 // | 9 // |
10 | 10 |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 MOVL $(0x1000000+33), AX // semaphore_signal_trap | 209 MOVL $(0x1000000+33), AX // semaphore_signal_trap |
210 SYSCALL | 210 SYSCALL |
211 RET | 211 RET |
212 | 212 |
213 // uint32 mach_semaphore_signal_all(uint32) | 213 // uint32 mach_semaphore_signal_all(uint32) |
214 TEXT mach_semaphore_signal_all(SB),7,$0 | 214 TEXT mach_semaphore_signal_all(SB),7,$0 |
215 MOVL 8(SP), DI | 215 MOVL 8(SP), DI |
216 MOVL $(0x1000000+34), AX // semaphore_signal_all_trap | 216 MOVL $(0x1000000+34), AX // semaphore_signal_all_trap |
217 SYSCALL | 217 SYSCALL |
218 RET | 218 RET |
LEFT | RIGHT |