Loading...
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 | module Darwin.machine [system] { module _limits { #ifdef XNU_KERNEL_PRIVATE // A few machine headers are in the public SDK for macOS, but // mastered out of the public SDK for the other OSes. Oddly the // corresponding arm and i386 headers are in all the public SDKs. #endif #ifdef PLATFORM_MacOSX header "machine/_limits.h" #endif #if defined(PLATFORM_MacOSX) || defined(PLATFORM_iPhoneSimulator) || defined(PLATFORM_AppleTVSimulator) || defined(PLATFORM_WatchSimulator) header "i386/_limits.h" #endif header "arm/_limits.h" export * } module _mcontext { header "machine/_mcontext.h" #if defined(PLATFORM_MacOSX) || defined(PLATFORM_iPhoneSimulator) || defined(PLATFORM_AppleTVSimulator) || defined(PLATFORM_WatchSimulator) header "i386/_mcontext.h" #endif header "arm/_mcontext.h" export * } module _param { header "machine/_param.h" #if defined(PLATFORM_MacOSX) || defined(PLATFORM_iPhoneSimulator) || defined(PLATFORM_AppleTVSimulator) || defined(PLATFORM_WatchSimulator) header "i386/_param.h" #endif header "arm/_param.h" export * } module _types { header "machine/_types.h" #if defined(PLATFORM_MacOSX) || defined(PLATFORM_iPhoneSimulator) || defined(PLATFORM_AppleTVSimulator) || defined(PLATFORM_WatchSimulator) header "i386/_types.h" #endif header "arm/_types.h" export * } module arch { header "arm/arch.h" export * } #ifdef XNU_KERNEL_PRIVATE // The PLATFORM_MacOSX headers are in the public SDK for macOS, // but mastered out of the public SDK for the other OSes. #endif #ifdef PLATFORM_MacOSX module byte_order { header "machine/byte_order.h" export * } #endif #if defined(PLATFORM_MacOSX) || defined(PLATFORM_iPhoneSimulator) || defined(PLATFORM_AppleTVSimulator) || defined(PLATFORM_WatchSimulator) module eflags { header "i386/eflags.h" export * } #endif module endian { header "machine/endian.h" #if defined(PLATFORM_MacOSX) || defined(PLATFORM_iPhoneSimulator) || defined(PLATFORM_AppleTVSimulator) || defined(PLATFORM_WatchSimulator) header "i386/endian.h" #endif header "arm/endian.h" export * } #ifdef XNU_KERNEL_PRIVATE // A few other machine headers are in the public SDK for macOS, but // mastered out of the public SDK for the other OSes. This time the // corresponding arm headers follow the machine headers, but the // corresponding i386 headers are in the public SDK for simulators. #endif #if defined(PLATFORM_MacOSX) || defined(PLATFORM_iPhoneSimulator) || defined(PLATFORM_AppleTVSimulator) || defined(PLATFORM_WatchSimulator) module fasttrap_isa { #ifdef PLATFORM_MacOSX header "machine/fasttrap_isa.h" #endif header "i386/fasttrap_isa.h" #ifdef PLATFORM_MacOSX header "arm/fasttrap_isa.h" #endif export * } #endif module limits { header "machine/limits.h" #if defined(PLATFORM_MacOSX) || defined(PLATFORM_iPhoneSimulator) || defined(PLATFORM_AppleTVSimulator) || defined(PLATFORM_WatchSimulator) header "i386/limits.h" #endif header "arm/limits.h" export * } module param { header "machine/param.h" #if defined(PLATFORM_MacOSX) || defined(PLATFORM_iPhoneSimulator) || defined(PLATFORM_AppleTVSimulator) || defined(PLATFORM_WatchSimulator) header "i386/param.h" #endif header "arm/param.h" export * } #if defined(PLATFORM_MacOSX) || defined(PLATFORM_iPhoneSimulator) || defined(PLATFORM_AppleTVSimulator) || defined(PLATFORM_WatchSimulator) module profile { #ifdef PLATFORM_MacOSX header "machine/profile.h" #endif header "i386/profile.h" #ifdef PLATFORM_MacOSX header "arm/profile.h" #endif export * } #endif module signal { header "machine/signal.h" #if defined(PLATFORM_MacOSX) || defined(PLATFORM_iPhoneSimulator) || defined(PLATFORM_AppleTVSimulator) || defined(PLATFORM_WatchSimulator) header "i386/signal.h" #endif header "arm/signal.h" export * } module types { header "machine/types.h" #if defined(PLATFORM_MacOSX) || defined(PLATFORM_iPhoneSimulator) || defined(PLATFORM_AppleTVSimulator) || defined(PLATFORM_WatchSimulator) header "i386/types.h" #endif header "arm/types.h" export * } #if defined(PLATFORM_MacOSX) || defined(PLATFORM_iPhoneSimulator) || defined(PLATFORM_AppleTVSimulator) || defined(PLATFORM_WatchSimulator) module user_ldt { header "i386/user_ldt.h" export * } module vmparam { #ifdef PLATFORM_MacOSX header "machine/vmparam.h" #endif header "i386/vmparam.h" #ifdef PLATFORM_MacOSX header "arm/vmparam.h" #endif export * } #endif } |