aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorSubrata Banik <subratabanik@google.com>2022-03-23 03:42:22 +0530
committerFelix Held <felix-coreboot@felixheld.de>2022-03-25 19:26:12 +0000
commit2f4fe94331222b9bef246fe4aed0011ff8059cac (patch)
treee3382764e5057ea267cb807c32d24289029a2853 /src/include
parentab205430751321278b4f0e568d7dcdd46f77a136 (diff)
include/efi: Add correct header file for EFI_PROCESSOR_INFORMATION
This patch resolves compilation issue of including `efi_datatype.h` in other stage files due to unresolved EFI_PROCESSOR_INFORMATION macro definition. EFI_PROCESSOR_INFORMATION defined in `Protocol/MpService.h` hence, included to resolve compilation issue. TEST=Able to build brya. Signed-off-by: Subrata Banik <subratabanik@google.com> Change-Id: I4c0ca4f8876e46f1748ffc9e3b90de00ead80ebd Reviewed-on: https://review.coreboot.org/c/coreboot/+/63010 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/efi/efi_datatype.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/efi/efi_datatype.h b/src/include/efi/efi_datatype.h
index 7eefad3391..5415ae8e09 100644
--- a/src/include/efi/efi_datatype.h
+++ b/src/include/efi/efi_datatype.h
@@ -8,6 +8,7 @@
#if CONFIG_UDK_VERSION >= CONFIG_UDK_2017_VERSION
#include <Pi/PiPeiCis.h>
+#include <Protocol/MpService.h>
/* Data structure for EFI_PEI_SERVICE. */
typedef EFI_PEI_SERVICES efi_pei_services;