StandaloneMmPkg: Add CPU driver suitable for ARM Platforms.
[mirror_edk2.git] / StandaloneMmPkg / Include / Guid / MpInformation.h
1 /** @file
2 EFI MP information protocol provides a lightweight MP_SERVICES_PROTOCOL.
3
4 MP information protocol only provides static information of MP processor.
5
6 Copyright (c) 2009, Intel Corporation. All rights reserved.<BR>
7 Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.<BR>
8
9 This program and the accompanying materials
10 are licensed and made available under the terms and conditions of the BSD License
11 which accompanies this distribution. The full text of the license may be found at
12 http://opensource.org/licenses/bsd-license.php
13
14 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
15 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16
17 **/
18
19 #ifndef _MP_INFORMATION_H_
20 #define _MP_INFORMATION_H_
21
22 #include <Protocol/MpService.h>
23 #include <PiPei.h>
24 #include <Ppi/SecPlatformInformation.h>
25
26 #define MP_INFORMATION_GUID \
27 { \
28 0xba33f15d, 0x4000, 0x45c1, {0x8e, 0x88, 0xf9, 0x16, 0x92, 0xd4, 0x57, 0xe3} \
29 }
30
31 #pragma pack(1)
32 typedef struct {
33 UINT64 NumberOfProcessors;
34 UINT64 NumberOfEnabledProcessors;
35 EFI_PROCESSOR_INFORMATION ProcessorInfoBuffer[];
36 } MP_INFORMATION_HOB_DATA;
37 #pragma pack()
38
39 extern EFI_GUID gMpInformationHobGuid;
40
41 #endif