Remove .internal from more header filenames

This commit is contained in:
Justine Tunney 2024-08-04 12:52:25 -07:00
parent c265c17d54
commit 31194165d2
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
734 changed files with 779 additions and 778 deletions

47
libc/mach.h Normal file
View file

@ -0,0 +1,47 @@
#ifndef COSMOPOLITAN_LIBC_MACH_H_
#define COSMOPOLITAN_LIBC_MACH_H_
/* ▄▄███▄
cosmopolitan § xnu's not unix! » carnegie mellon mach microkernel
*/
#define XNU_SYSCALL_MASK_MACH 0x1000000
#define XNU_SYSCALL_MASK_UNIX 0x2000000
#define XNU_SYSCALL_MASK_MACH_IPC 0x5000000
#define kXnuCommonPage 0x00007fffffe00000
#define kXnuNtTscBase 0x050 /* uint64_t */
#define kXnuNtScale 0x058 /* uint32_t */
#define kXnuNtShift 0x05c /* uint32_t */
#define kXnuNtNsBase 0x060 /* uint64_t */
#define kXnuNtGeneration 0x068 /* uint32_t */
COSMOPOLITAN_C_START_
bool swtch(void);
bool swtch_pri(int);
COSMOPOLITAN_C_END_
#endif /* COSMOPOLITAN_LIBC_MACH_H_ */