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 
10 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
11 
12 #define UACCESS_FLAT
13 #define IOMAP_VIRT
14 #define PCIAPI_EFI
15 #define DMAAPI_OP
16 #define CONSOLE_EFI
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 FDT_EFI
29 #define MPAPI_EFI
30 #define NAP_EFI
31 #define SERIAL_SPCR
32 
33 #define NET_PROTO_IPV6 /* IPv6 protocol */
34 #define NET_PROTO_LLDP /* Link Layer Discovery protocol */
35 
36 #define DOWNLOAD_PROTO_FILE /* Local filesystem access */
37 
38 #define IMAGE_EFI /* EFI image support */
39 #define IMAGE_SCRIPT /* iPXE script image support */
40 #define IMAGE_EFISIG /* EFI signature list support */
41 
42 #define SANBOOT_PROTO_ISCSI /* iSCSI protocol */
43 #define SANBOOT_PROTO_AOE /* AoE protocol */
44 #define SANBOOT_PROTO_IB_SRP /* Infiniband SCSI RDMA protocol */
45 #define SANBOOT_PROTO_FCP /* Fibre Channel protocol */
46 #define SANBOOT_PROTO_HTTP /* HTTP SAN protocol */
47 
48 #define USB_HCD_XHCI /* xHCI USB host controller */
49 #define USB_HCD_EHCI /* EHCI USB host controller */
50 #define USB_HCD_UHCI /* UHCI USB host controller */
51 #define USB_EFI /* Provide EFI_USB_IO_PROTOCOL interface */
52 #define USB_BLOCK /* USB block devices */
53 
54 #define REBOOT_CMD /* Reboot command */
55 
56 #define EFI_SETTINGS /* EFI variable settings */
57 
58 #define CERTS_EFI /* EFI certificate sources */
59 
60 #if defined ( __i386__ ) || defined ( __x86_64__ )
61 #define IOAPI_X86
62 #define ENTROPY_RDRAND
63 #define CPUID_CMD /* x86 CPU feature detection command */
64 #define UNSAFE_STD /* Avoid setting direction flag */
65 #endif
66 
67 #if defined ( __arm__ ) || defined ( __aarch64__ )
68 #define IOAPI_ARM
69 #define FDT_CMD
70 #endif
71 
72 #if defined ( __aarch64__ )
73 #define IMAGE_GZIP /* GZIP image support */
74 #define FDT_CMD
75 #endif
76 
77 #if defined ( __loongarch__ )
78 #define IOAPI_LOONG64
79 #endif
80 
81 #if defined ( __riscv )
82 #define IOAPI_RISCV
83 #define FDT_CMD
84 #endif
85 
86 #endif /* CONFIG_DEFAULTS_EFI_H */
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)