summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/errfile.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/errfile.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/errfile.h')
-rw-r--r--src/include/ipxe/errfile.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/ipxe/errfile.h b/src/include/ipxe/errfile.h
index 1fe34113..c673b9a4 100644
--- a/src/include/ipxe/errfile.h
+++ b/src/include/ipxe/errfile.h
@@ -81,6 +81,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
#define ERRFILE_efi_strings ( ERRFILE_CORE | 0x00290000 )
#define ERRFILE_uuid ( ERRFILE_CORE | 0x002a0000 )
#define ERRFILE_efi_path ( ERRFILE_CORE | 0x002b0000 )
+#define ERRFILE_efi_mp ( ERRFILE_CORE | 0x002c0000 )
#define ERRFILE_eisa ( ERRFILE_DRIVER | 0x00000000 )
#define ERRFILE_isa ( ERRFILE_DRIVER | 0x00010000 )