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_EFI
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 
30 #define NET_PROTO_IPV6 /* IPv6 protocol */
31 #define NET_PROTO_LLDP /* Link Layer Discovery protocol */
32 
33 #define DOWNLOAD_PROTO_FILE /* Local filesystem access */
34 
35 #define IMAGE_EFI /* EFI image support */
36 #define IMAGE_SCRIPT /* iPXE script image support */
37 
38 #define SANBOOT_PROTO_ISCSI /* iSCSI protocol */
39 #define SANBOOT_PROTO_AOE /* AoE protocol */
40 #define SANBOOT_PROTO_IB_SRP /* Infiniband SCSI RDMA protocol */
41 #define SANBOOT_PROTO_FCP /* Fibre Channel protocol */
42 #define SANBOOT_PROTO_HTTP /* HTTP SAN protocol */
43 
44 #define USB_HCD_XHCI /* xHCI USB host controller */
45 #define USB_HCD_EHCI /* EHCI USB host controller */
46 #define USB_HCD_UHCI /* UHCI USB host controller */
47 #define USB_EFI /* Provide EFI_USB_IO_PROTOCOL interface */
48 #define USB_BLOCK /* USB block devices */
49 
50 #define REBOOT_CMD /* Reboot command */
51 
52 #define EFI_SETTINGS /* EFI variable settings */
53 
54 #if defined ( __i386__ ) || defined ( __x86_64__ )
55 #define IOAPI_X86
56 #define NAP_EFIX86
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 #define NAP_EFIARM
65 #endif
66 
67 #if defined ( __aarch64__ )
68 #define IMAGE_GZIP /* GZIP image support */
69 #endif
70 
71 #if defined ( __loongarch__ )
72 #define IOAPI_LOONG64
73 #define NAP_EFILOONG64
74 #endif
75 
76 #endif /* CONFIG_DEFAULTS_EFI_H */
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)