]> git.proxmox.com Git - mirror_edk2.git/blobdiff - StandaloneMmPkg/Include/Guid/MpInformation.h
StandaloneMmPkg: Add CPU driver suitable for ARM Platforms.
[mirror_edk2.git] / StandaloneMmPkg / Include / Guid / MpInformation.h
diff --git a/StandaloneMmPkg/Include/Guid/MpInformation.h b/StandaloneMmPkg/Include/Guid/MpInformation.h
new file mode 100644 (file)
index 0000000..c88ff4a
--- /dev/null
@@ -0,0 +1,41 @@
+/** @file\r
+  EFI MP information protocol provides a lightweight MP_SERVICES_PROTOCOL.\r
+\r
+  MP information protocol only provides static information of MP processor.\r
+\r
+  Copyright (c) 2009, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.<BR>\r
+\r
+  This program and the accompanying materials\r
+  are licensed and made available under the terms and conditions of the BSD License\r
+  which accompanies this distribution.  The full text of the license may be found at\r
+  http://opensource.org/licenses/bsd-license.php\r
+\r
+  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+\r
+**/\r
+\r
+#ifndef _MP_INFORMATION_H_\r
+#define _MP_INFORMATION_H_\r
+\r
+#include <Protocol/MpService.h>\r
+#include <PiPei.h>\r
+#include <Ppi/SecPlatformInformation.h>\r
+\r
+#define MP_INFORMATION_GUID \\r
+  { \\r
+    0xba33f15d, 0x4000, 0x45c1, {0x8e, 0x88, 0xf9, 0x16, 0x92, 0xd4, 0x57, 0xe3}  \\r
+  }\r
+\r
+#pragma pack(1)\r
+typedef struct {\r
+  UINT64                     NumberOfProcessors;\r
+  UINT64                     NumberOfEnabledProcessors;\r
+  EFI_PROCESSOR_INFORMATION  ProcessorInfoBuffer[];\r
+} MP_INFORMATION_HOB_DATA;\r
+#pragma pack()\r
+\r
+extern EFI_GUID gMpInformationHobGuid;\r
+\r
+#endif\r