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