iPXE
efi.h
Go to the documentation of this file.
1#ifndef CONFIG_DEFAULTS_EFI_H
2#define CONFIG_DEFAULTS_EFI_H
3
4/** @file
5 *
6 * Configuration defaults for EFI
7 *
8 */
9
10FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
11FILE_SECBOOT ( PERMITTED );
12
13#define UACCESS_FLAT
14#define IOMAP_VIRT
15#define PCIAPI_EFI
16#define DMAAPI_OP
17#define TIMER_EFI
18#define UMALLOC_EFI
19#define MEMMAP_NULL
20#define SMBIOS_EFI
21#define SANBOOT_EFI
22#define BOFM_EFI
23#define ENTROPY_EFITICK
24#define ENTROPY_EFIRNG
25#define TIME_EFI
26#define REBOOT_EFI
27#define ACPI_EFI
28#define MPAPI_EFI
29#define NAP_EFI
30#define SERIAL_SPCR
31
32#if defined ( __i386__ ) || defined ( __x86_64__ )
33#define IOAPI_X86
34#define ENTROPY_RDRAND
35#define UNSAFE_STD /* Avoid setting direction flag */
36#define FDT_NULL
37#endif
38
39#if defined ( __arm__ ) || defined ( __aarch64__ )
40#define IOAPI_ARM
41#define FDT_EFI
42#endif
43
44#if defined ( __loongarch__ )
45#define IOAPI_LOONG64
46#define FDT_EFI
47#endif
48
49#if defined ( __riscv )
50#define IOAPI_RISCV
51#define FDT_EFI
52#endif
53
54#endif /* CONFIG_DEFAULTS_EFI_H */
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
Definition compiler.h:896
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
Definition compiler.h:926