1*043036a2SApple OSS Distributions /*! 2*043036a2SApple OSS Distributions * @header 3*043036a2SApple OSS Distributions * Software AP chip environments. 4*043036a2SApple OSS Distributions */ 5*043036a2SApple OSS Distributions #ifndef __IMG4_CHIP_AP_SOFTWARE_H 6*043036a2SApple OSS Distributions #define __IMG4_CHIP_AP_SOFTWARE_H 7*043036a2SApple OSS Distributions 8*043036a2SApple OSS Distributions #ifndef __IMG4_INDIRECT 9*043036a2SApple OSS Distributions #error "Please #include <img4/firmware.h> instead of this file directly" 10*043036a2SApple OSS Distributions #endif // __IMG4_INDIRECT 11*043036a2SApple OSS Distributions 12*043036a2SApple OSS Distributions __BEGIN_DECLS 13*043036a2SApple OSS Distributions OS_ASSUME_NONNULL_BEGIN 14*043036a2SApple OSS Distributions OS_ASSUME_PTR_ABI_SINGLE_BEGIN 15*043036a2SApple OSS Distributions 16*043036a2SApple OSS Distributions /*! 17*043036a2SApple OSS Distributions * @const IMG4_CHIP_AP_SOFTWARE_FF00 18*043036a2SApple OSS Distributions * A software-defined chip environment whose firmwares are executed on any 19*043036a2SApple OSS Distributions * Application Processor on an Apple ARM SoC. The firmwares are loadable trust 20*043036a2SApple OSS Distributions * caches shipped with OTA update brains. 21*043036a2SApple OSS Distributions * 22*043036a2SApple OSS Distributions * This chip cannot be uniquely identified. 23*043036a2SApple OSS Distributions */ 24*043036a2SApple OSS Distributions #if !XNU_KERNEL_PRIVATE 25*043036a2SApple OSS Distributions IMG4_API_AVAILABLE_20200508 26*043036a2SApple OSS Distributions OS_EXPORT 27*043036a2SApple OSS Distributions const img4_chip_t _img4_chip_ap_software_ff00; 28*043036a2SApple OSS Distributions #define IMG4_CHIP_AP_SOFTWARE_FF00 (&_img4_chip_ap_software_ff00) 29*043036a2SApple OSS Distributions #else 30*043036a2SApple OSS Distributions #define IMG4_CHIP_AP_SOFTWARE_FF00 (img4if->i4if_v7.chip_ap_software_ff00) 31*043036a2SApple OSS Distributions #endif 32*043036a2SApple OSS Distributions 33*043036a2SApple OSS Distributions /*! 34*043036a2SApple OSS Distributions * @const IMG4_CHIP_AP_SOFTWARE_FF01 35*043036a2SApple OSS Distributions * A software-defined chip environment whose firmwares are executed on any 36*043036a2SApple OSS Distributions * Application Processor on an Apple ARM SoC. The firmwares are loadable trust 37*043036a2SApple OSS Distributions * caches which are shipped in the Install Assistant and loaded by an 38*043036a2SApple OSS Distributions * unprivileged trampoline. 39*043036a2SApple OSS Distributions * 40*043036a2SApple OSS Distributions * This chip cannot be uniquely identified. 41*043036a2SApple OSS Distributions */ 42*043036a2SApple OSS Distributions #if !XNU_KERNEL_PRIVATE 43*043036a2SApple OSS Distributions IMG4_API_AVAILABLE_20200508 44*043036a2SApple OSS Distributions OS_EXPORT 45*043036a2SApple OSS Distributions const img4_chip_t _img4_chip_ap_software_ff01; 46*043036a2SApple OSS Distributions #define IMG4_CHIP_AP_SOFTWARE_FF01 (&_img4_chip_ap_software_ff01) 47*043036a2SApple OSS Distributions #else 48*043036a2SApple OSS Distributions #define IMG4_CHIP_AP_SOFTWARE_FF01 (img4if->i4if_v7.chip_ap_software_ff01) 49*043036a2SApple OSS Distributions #endif 50*043036a2SApple OSS Distributions 51*043036a2SApple OSS Distributions /*! 52*043036a2SApple OSS Distributions * @const IMG4_CHIP_AP_SOFTWARE_FF06 53*043036a2SApple OSS Distributions * A software-defined chip environment whose firmwares are executed on any 54*043036a2SApple OSS Distributions * Application Processor on an Apple ARM SoC. The firmwares are loadable trust 55*043036a2SApple OSS Distributions * caches which are shipped in the preboot volume. 56*043036a2SApple OSS Distributions * 57*043036a2SApple OSS Distributions * This chip cannot be uniquely identified. 58*043036a2SApple OSS Distributions */ 59*043036a2SApple OSS Distributions #if !XNU_KERNEL_PRIVATE 60*043036a2SApple OSS Distributions IMG4_API_AVAILABLE_20210113 61*043036a2SApple OSS Distributions OS_EXPORT 62*043036a2SApple OSS Distributions const img4_chip_t _img4_chip_ap_software_ff06; 63*043036a2SApple OSS Distributions #define IMG4_CHIP_AP_SOFTWARE_FF06 (&_img4_chip_ap_software_ff06) 64*043036a2SApple OSS Distributions #else 65*043036a2SApple OSS Distributions #define IMG4_CHIP_AP_SOFTWARE_FF06 (img4if->i4if_v11.chip_ap_software_ff06) 66*043036a2SApple OSS Distributions #endif 67*043036a2SApple OSS Distributions 68*043036a2SApple OSS Distributions OS_ASSUME_PTR_ABI_SINGLE_END 69*043036a2SApple OSS Distributions OS_ASSUME_NONNULL_END 70*043036a2SApple OSS Distributions __END_DECLS 71*043036a2SApple OSS Distributions 72*043036a2SApple OSS Distributions #endif // __IMG4_CHIP_AP_SOFTWARE_H 73