summaryrefslogtreecommitdiffstats
path: root/src/config/defaults/efi.h
diff options
context:
space:
mode:
authorMichael Brown2024-03-13 16:16:47 +0100
committerMichael Brown2024-03-15 14:26:53 +0100
commit89bb926a041b03c3926bf21266cbdf735d9aee66 (patch)
treea311ed537893b42e25dec583665777db6a0d99ac /src/config/defaults/efi.h
parent[mp] Define an API for multiprocessor functions (diff)
downloadipxe-89bb926a041b03c3926bf21266cbdf735d9aee66.tar.gz
ipxe-89bb926a041b03c3926bf21266cbdf735d9aee66.tar.xz
ipxe-89bb926a041b03c3926bf21266cbdf735d9aee66.zip
[efi] Provide a multiprocessor API for EFI
Provide an implementation of the iPXE multiprocessor API for EFI, based on using EFI_MP_SERVICES to start up a wrapper function on all application processors. Note that the processor numbers used by EFI_MP_SERVICES are opaque integers that bear no relation to the underlying CPU identity (e.g. the APIC ID), and so we must rely on our own (architecture- specific) implementation to determine the relevant CPU identifiers. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/config/defaults/efi.h')
-rw-r--r--src/config/defaults/efi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/defaults/efi.h b/src/config/defaults/efi.h
index 9c0f238a..b62ddb46 100644
--- a/src/config/defaults/efi.h
+++ b/src/config/defaults/efi.h
@@ -25,7 +25,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
#define REBOOT_EFI
#define ACPI_EFI
#define FDT_EFI
-#define MPAPI_NULL
+#define MPAPI_EFI
#define NET_PROTO_IPV6 /* IPv6 protocol */
#define NET_PROTO_LLDP /* Link Layer Discovery protocol */