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
13OS_ASSUME_NONNULL_BEGIN
14OS_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
25IMG4_API_AVAILABLE_20200508
26OS_EXPORT
27const 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
43IMG4_API_AVAILABLE_20200508
44OS_EXPORT
45const 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
60IMG4_API_AVAILABLE_20210113
61OS_EXPORT
62const 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
68OS_ASSUME_PTR_ABI_SINGLE_END
69OS_ASSUME_NONNULL_END
70__END_DECLS
71
72#endif // __IMG4_CHIP_AP_SOFTWARE_H
73