]>
Commit | Line | Data |
---|---|---|
275d4bd4 SV |
1 | /** @file\r |
2 | EFI MP information protocol provides a lightweight MP_SERVICES_PROTOCOL.\r | |
3 | \r | |
4 | MP information protocol only provides static information of MP processor.\r | |
5 | \r | |
6 | Copyright (c) 2009, Intel Corporation. All rights reserved.<BR>\r | |
7 | Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.<BR>\r | |
8 | \r | |
86094561 | 9 | SPDX-License-Identifier: BSD-2-Clause-Patent\r |
275d4bd4 SV |
10 | \r |
11 | **/\r | |
12 | \r | |
13 | #ifndef _MP_INFORMATION_H_\r | |
14 | #define _MP_INFORMATION_H_\r | |
15 | \r | |
16 | #include <Protocol/MpService.h>\r | |
17 | #include <PiPei.h>\r | |
18 | #include <Ppi/SecPlatformInformation.h>\r | |
19 | \r | |
20 | #define MP_INFORMATION_GUID \\r | |
21 | { \\r | |
22 | 0xba33f15d, 0x4000, 0x45c1, {0x8e, 0x88, 0xf9, 0x16, 0x92, 0xd4, 0x57, 0xe3} \\r | |
23 | }\r | |
24 | \r | |
25 | #pragma pack(1)\r | |
26 | typedef struct {\r | |
27 | UINT64 NumberOfProcessors;\r | |
28 | UINT64 NumberOfEnabledProcessors;\r | |
29 | EFI_PROCESSOR_INFORMATION ProcessorInfoBuffer[];\r | |
30 | } MP_INFORMATION_HOB_DATA;\r | |
31 | #pragma pack()\r | |
32 | \r | |
33 | extern EFI_GUID gMpInformationHobGuid;\r | |
34 | \r | |
35 | #endif\r |