mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 06:48:31 +00:00
Perform some minor fixups
This commit is contained in:
parent
ca88ce5026
commit
4e93750afd
9 changed files with 24 additions and 50 deletions
11
libc/mach.h
11
libc/mach.h
|
@ -24,7 +24,7 @@
|
|||
█████████████ ████████░░███████░░░██████ ▓██████████
|
||||
█████████████ ██████░░░████████████ █████████████
|
||||
╔────────────────────────────────────────────────────────────────────────────│─╗
|
||||
│ cosmopolitan § xnu's not unix » carnegie mellon mach microkernel ─╬─│┼
|
||||
│ cosmopolitan § xnu's not unix! » carnegie mellon mach microkernel ─╬─│┼
|
||||
╚────────────────────────────────────────────────────────────────────────────│*/
|
||||
|
||||
#define XNU_SYSCALL_MASK_MACH 0x1000000
|
||||
|
@ -38,7 +38,12 @@
|
|||
#define kXnuNtNsBase 0x060 /* uint64_t */
|
||||
#define kXnuNtGeneration 0x068 /* uint32_t */
|
||||
|
||||
bool swtch(void);
|
||||
bool swtch_pri(int pri);
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
bool swtch(void);
|
||||
bool swtch_pri(int);
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_MACH_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue