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