]>
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 | |
9 | This program and the accompanying materials\r | |
10 | are licensed and made available under the terms and conditions of the BSD License\r | |
11 | which accompanies this distribution. The full text of the license may be found at\r | |
12 | http://opensource.org/licenses/bsd-license.php\r | |
13 | \r | |
14 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
15 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
16 | \r | |
17 | **/\r | |
18 | \r | |
19 | #ifndef _MP_INFORMATION_H_\r | |
20 | #define _MP_INFORMATION_H_\r | |
21 | \r | |
22 | #include <Protocol/MpService.h>\r | |
23 | #include <PiPei.h>\r | |
24 | #include <Ppi/SecPlatformInformation.h>\r | |
25 | \r | |
26 | #define MP_INFORMATION_GUID \\r | |
27 | { \\r | |
28 | 0xba33f15d, 0x4000, 0x45c1, {0x8e, 0x88, 0xf9, 0x16, 0x92, 0xd4, 0x57, 0xe3} \\r | |
29 | }\r | |
30 | \r | |
31 | #pragma pack(1)\r | |
32 | typedef struct {\r | |
33 | UINT64 NumberOfProcessors;\r | |
34 | UINT64 NumberOfEnabledProcessors;\r | |
35 | EFI_PROCESSOR_INFORMATION ProcessorInfoBuffer[];\r | |
36 | } MP_INFORMATION_HOB_DATA;\r | |
37 | #pragma pack()\r | |
38 | \r | |
39 | extern EFI_GUID gMpInformationHobGuid;\r | |
40 | \r | |
41 | #endif\r |