StandaloneMmPkg: Replace BSD License with BSD+Patent License
[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 SPDX-License-Identifier: BSD-2-Clause-Patent
10
11 **/
12
13 #ifndef _MP_INFORMATION_H_
14 #define _MP_INFORMATION_H_
15
16 #include <Protocol/MpService.h>
17 #include <PiPei.h>
18 #include <Ppi/SecPlatformInformation.h>
19
20 #define MP_INFORMATION_GUID \
21 { \
22 0xba33f15d, 0x4000, 0x45c1, {0x8e, 0x88, 0xf9, 0x16, 0x92, 0xd4, 0x57, 0xe3} \
23 }
24
25 #pragma pack(1)
26 typedef struct {
27 UINT64 NumberOfProcessors;
28 UINT64 NumberOfEnabledProcessors;
29 EFI_PROCESSOR_INFORMATION ProcessorInfoBuffer[];
30 } MP_INFORMATION_HOB_DATA;
31 #pragma pack()
32
33 extern EFI_GUID gMpInformationHobGuid;
34
35 #endif