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