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 SMBIOS_EFI
20 #define SANBOOT_EFI
21 #define BOFM_EFI
22 #define ENTROPY_EFITICK
23 #define ENTROPY_EFIRNG
24 #define TIME_EFI
25 #define REBOOT_EFI
26 #define ACPI_EFI
27 #define FDT_EFI
28 #define MPAPI_EFI
29 #define NAP_EFI
30 
31 #define NET_PROTO_IPV6 /* IPv6 protocol */
32 #define NET_PROTO_LLDP /* Link Layer Discovery protocol */
33 
34 #define DOWNLOAD_PROTO_FILE /* Local filesystem access */
35 
36 #define IMAGE_EFI /* EFI image support */
37 #define IMAGE_SCRIPT /* iPXE script image support */
38 
39 #define SANBOOT_PROTO_ISCSI /* iSCSI protocol */
40 #define SANBOOT_PROTO_AOE /* AoE protocol */
41 #define SANBOOT_PROTO_IB_SRP /* Infiniband SCSI RDMA protocol */
42 #define SANBOOT_PROTO_FCP /* Fibre Channel protocol */
43 #define SANBOOT_PROTO_HTTP /* HTTP SAN protocol */
44 
45 #define USB_HCD_XHCI /* xHCI USB host controller */
46 #define USB_HCD_EHCI /* EHCI USB host controller */
47 #define USB_HCD_UHCI /* UHCI USB host controller */
48 #define USB_EFI /* Provide EFI_USB_IO_PROTOCOL interface */
49 #define USB_BLOCK /* USB block devices */
50 
51 #define REBOOT_CMD /* Reboot command */
52 
53 #define EFI_SETTINGS /* EFI variable settings */
54 
55 #if defined ( __i386__ ) || defined ( __x86_64__ )
56 #define IOAPI_X86
57 #define ENTROPY_RDRAND
58 #define CPUID_CMD /* x86 CPU feature detection command */
59 #define UNSAFE_STD /* Avoid setting direction flag */
60 #endif
61 
62 #if defined ( __arm__ ) || defined ( __aarch64__ )
63 #define IOAPI_ARM
64 #endif
65 
66 #if defined ( __aarch64__ )
67 #define IMAGE_GZIP /* GZIP image support */
68 #endif
69 
70 #if defined ( __loongarch__ )
71 #define IOAPI_LOONG64
72 #endif
73 
74 #if defined ( __riscv )
75 #define IOAPI_RISCV
76 #endif
77 
78 #endif /* CONFIG_DEFAULTS_EFI_H */
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)