Skip to content

Commit cd387d2

Browse files
lzeng14mergify[bot]
authored andcommitted
UefiCpuPkg MpInformation2.h: Include PiMultiPhase.h
There will be build failure because of EFI_AP_PROCEDURE definition not found if MpInformation2.h is included by base type library. MpInformation2.h depends on MpService.h because of EFI_PROCESSOR_INFORMATION definition, and then MpService.h depends on PiMultiPhase.h because of EFI_AP_PROCEDURE definition. This patch updates MpInformation2.h to include PiMultiPhase.h instead of PiPei.h and also removes SecPlatformInformation.h including. It also does minor refinement to file header description. Signed-off-by: Star Zeng <[email protected]>
1 parent 2a3926d commit cd387d2

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

UefiCpuPkg/Include/Guid/MpInformation2.h

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
/** @file
2-
EFI MP information protocol provides a lightweight MP_SERVICES_PROTOCOL.
2+
MP information HOB to be provided by MP service module.
33
4-
MP information protocol only provides static information of MP processor.
4+
MP information HOB only provides static information of MP processors.
55
66
If SwitchBSP or Enable/DisableAP in MP service is called between the HOB
77
production and HOB consumption, EFI_PROCESSOR_INFORMATION.StatusFlag field
88
in this HOB may be invalidated.
99
10-
Copyright (c) 2023, Intel Corporation. All rights reserved.<BR>
10+
Copyright (c) 2023 - 2025, Intel Corporation. All rights reserved.<BR>
1111
1212
SPDX-License-Identifier: BSD-2-Clause-Patent
1313
@@ -16,9 +16,8 @@
1616
#ifndef MP_INFORMATION2_H_
1717
#define MP_INFORMATION2_H_
1818

19+
#include <Pi/PiMultiPhase.h>
1920
#include <Protocol/MpService.h>
20-
#include <PiPei.h>
21-
#include <Ppi/SecPlatformInformation.h>
2221

2322
#define MP_INFORMATION2_HOB_REVISION 1
2423

0 commit comments

Comments
 (0)