1 /*! 2 * @header 3 * Categorized AP chip environments. These are now defunct. 4 */ 5 #ifndef __IMG4_CHIP_AP_CATEGORY_H 6 #define __IMG4_CHIP_AP_CATEGORY_H 7 8 #ifndef __IMG4_INDIRECT 9 #error "Please #include <img4/firmware.h> instead of this file directly" 10 #endif // __IMG4_INDIRECT 11 12 OS_ASSUME_NONNULL_BEGIN 13 14 /*! 15 * @const IMG4_CHIP_AP_CATEGORY_FF02 16 * The Application Processor on an Intel Mac product. 17 * 18 * This chip environment represents one unique instance of such a chip, though 19 * the uniqueness is not enforced by a secure boot chain with anti-replay 20 * properties, and therefore this chip environment should be considered as 21 * equivalent to a global signing environment. 22 */ 23 #if !XNU_KERNEL_PRIVATE 24 IMG4_API_AVAILABLE_20210305 25 OS_EXPORT 26 const img4_chip_t _img4_chip_ap_category_ff02; 27 #define IMG4_CHIP_AP_CATEGORY_FF02 (&_img4_chip_ap_category_ff02) 28 #else 29 #define IMG4_CHIP_AP_CATEGORY_FF02 (img4if->i4if_v12.chip_ap_category_ff02) 30 #endif 31 32 /*! 33 * @const IMG4_CHIP_AP_CATEGORY_FF03 34 * An Intel x86 processor whose chain of trust is rooted in an instance of a 35 * {@link IMG4_CHIP_AP_SHA2_384} chip. 36 * 37 * This chip environment represents one unique instance of such a chip pair. 38 */ 39 #if !XNU_KERNEL_PRIVATE 40 IMG4_API_AVAILABLE_20210305 41 OS_EXPORT 42 const img4_chip_t _img4_chip_ap_category_ff03; 43 #define IMG4_CHIP_AP_CATEGORY_FF03 (&_img4_chip_ap_category_ff03) 44 #else 45 #define IMG4_CHIP_AP_CATEGORY_FF03 (img4if->i4if_v12.chip_ap_category_ff03) 46 #endif 47 48 /*! 49 * @const IMG4_CHIP_AP_CATEGORY_FF04_F0 50 * The Application Processor of an Apple ARM SoC in an Apple Silicon Mac 51 * product. 52 * 53 * This chip environment represents one unique instance of such a chip. 54 */ 55 #if !XNU_KERNEL_PRIVATE 56 IMG4_API_AVAILABLE_20210305 57 OS_EXPORT 58 const img4_chip_t _img4_chip_ap_category_ff04_f0; 59 #define IMG4_CHIP_AP_CATEGORY_FF04_F0 (&_img4_chip_ap_category_ff04_f0) 60 #else 61 #define IMG4_CHIP_AP_CATEGORY_FF04_F0 \ 62 (img4if->i4if_v12.chip_ap_category_ff04_f0) 63 #endif 64 65 /*! 66 * @const IMG4_CHIP_AP_CATEGORY_FF04_F1 67 * The Application Processor of an Apple ARM SoC in an iPhone, iPad, or iPod 68 * touch product. 69 * 70 * This chip environment represents one unique instance of such a chip. 71 */ 72 #if !XNU_KERNEL_PRIVATE 73 IMG4_API_AVAILABLE_20210305 74 OS_EXPORT 75 const img4_chip_t _img4_chip_ap_category_ff04_f1; 76 #define IMG4_CHIP_AP_CATEGORY_FF04_F1 (&_img4_chip_ap_category_ff04_f1) 77 #else 78 #define IMG4_CHIP_AP_CATEGORY_FF04_F1 \ 79 (img4if->i4if_v12.chip_ap_category_ff04_f1) 80 #endif 81 82 /*! 83 * @const IMG4_CHIP_AP_CATEGORY_FF04_F2 84 * The Application Processor of an Apple ARM SoC in an watch product. 85 * 86 * This chip environment represents one unique instance of such a chip. 87 */ 88 #if !XNU_KERNEL_PRIVATE 89 IMG4_API_AVAILABLE_20210305 90 OS_EXPORT 91 const img4_chip_t _img4_chip_ap_category_ff04_f2; 92 #define IMG4_CHIP_AP_CATEGORY_FF04_F2 (&_img4_chip_ap_category_ff04_f2) 93 #else 94 #define IMG4_CHIP_AP_CATEGORY_FF04_F2 \ 95 (img4if->i4if_v12.chip_ap_category_ff04_f2) 96 #endif 97 98 /*! 99 * @const IMG4_CHIP_AP_CATEGORY_FF04_F3 100 * The Application Processor of an Apple ARM SoC in an tv or HomePod product. 101 * 102 * This chip environment represents one unique instance of such a chip. 103 */ 104 #if !XNU_KERNEL_PRIVATE 105 IMG4_API_AVAILABLE_20210305 106 OS_EXPORT 107 const img4_chip_t _img4_chip_ap_category_ff04_f3; 108 #define IMG4_CHIP_AP_CATEGORY_FF04_F3 (&_img4_chip_ap_category_ff04_f3) 109 #else 110 #define IMG4_CHIP_AP_CATEGORY_FF04_F3 \ 111 (img4if->i4if_v12.chip_ap_category_ff04_f3) 112 #endif 113 114 OS_ASSUME_NONNULL_END 115 116 #endif // __IMG4_CHIP_AP_CATEGORY_H 117