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