summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/mp.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/include/ipxe/mp.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/include/ipxe/mp.h')
-rw-r--r--src/include/ipxe/mp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/ipxe/mp.h b/src/include/ipxe/mp.h
index a3657490..9670dea5 100644
--- a/src/include/ipxe/mp.h
+++ b/src/include/ipxe/mp.h
@@ -102,6 +102,7 @@ extern void __asmcall mp_call ( mp_addr_t func, mp_addr_t opaque );
/* Include all architecture-independent multiprocessor API headers */
#include <ipxe/null_mp.h>
+#include <ipxe/efi/efi_mp.h>
/* Include all architecture-dependent multiprocessor API headers */
#include <bits/mp.h>