]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[efi] Provide a multiprocessor API for EFI
authorMichael Brown <mcb30@ipxe.org>
Wed, 13 Mar 2024 15:16:47 +0000 (15:16 +0000)
committerMichael Brown <mcb30@ipxe.org>
Fri, 15 Mar 2024 13:26:53 +0000 (13:26 +0000)
commit89bb926a041b03c3926bf21266cbdf735d9aee66
treea311ed537893b42e25dec583665777db6a0d99ac
parent1ab4d3079d29e9ebee0c85f1aec14a3b1df8f679
[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>
src/config/defaults/efi.h
src/include/ipxe/efi/Protocol/MpService.h [new file with mode: 0644]
src/include/ipxe/efi/efi_mp.h [new file with mode: 0644]
src/include/ipxe/errfile.h
src/include/ipxe/mp.h
src/interface/efi/efi_mp.c [new file with mode: 0644]