summaryrefslogtreecommitdiffstats
path: root/StandaloneMmPkg/Include
diff options
context:
space:
mode:
authorHongbin1 Zhang <hongbin1.zhang@intel.com>2024-12-17 16:30:19 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-12-20 05:44:54 +0000
commit47cb080ca4ef61977d90fc80547ac6c84e290f50 (patch)
tree1f3e24b6adaf0a4da6d4c99d9df85e041c7b5172 /StandaloneMmPkg/Include
parent8279e49aaec387869e28d4e3e7cc209f727afd26 (diff)
downloadedk2-47cb080ca4ef61977d90fc80547ac6c84e290f50.tar.gz
StandaloneMmPkg : Add MM core fv location PPI
Add MM core FV location PPI, it will include MM core FV location which could be in FSP-I or Bootloader MM FV. Signed-off-by: Hongbin1 Zhang <hongbin1.zhang@intel.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Ray Ni <ray.ni@intel.com> Cc: Star Zeng <star.zeng@intel.com> Cc: Jiaxin Wu <jiaxin.wu@intel.com> Cc: Wei6 Xu <wei6.xu@intel.com> Cc: Sami Mujawar <sami.mujawar@arm.com> Cc: Ard Biesheuvel <ardb+tianocore@kernel.org> Cc: Supreeth Venkatesh <supreeth.venkatesh@arm.com>
Diffstat (limited to 'StandaloneMmPkg/Include')
-rw-r--r--StandaloneMmPkg/Include/Ppi/MmCoreFvLocationPpi.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/StandaloneMmPkg/Include/Ppi/MmCoreFvLocationPpi.h b/StandaloneMmPkg/Include/Ppi/MmCoreFvLocationPpi.h
new file mode 100644
index 0000000000..5769ac4212
--- /dev/null
+++ b/StandaloneMmPkg/Include/Ppi/MmCoreFvLocationPpi.h
@@ -0,0 +1,34 @@
+/** @file
+ MM Core FV location PPI header file.
+
+ MM Core FV location PPI is used by StandaloneMm IPL to find MM Core.
+
+ Copyright (c) 2024, Intel Corporation. All rights reserved.<BR>
+
+ SPDX-License-Identifier: BSD-2-Clause-Patent
+
+**/
+
+#ifndef MM_CORE_FV_LOCATION_PPI_H_
+#define MM_CORE_FV_LOCATION_PPI_H_
+
+#pragma pack(1)
+
+///
+/// Global ID for the MM_CORE_FV_LOCATION_PPI.
+///
+#define MM_CORE_FV_LOCATION_GUID \
+ { \
+ 0x47a00618, 0x237a, 0x4386, { 0x8f, 0xc5, 0x2a, 0x86, 0xd8, 0xac, 0x41, 0x05 } \
+ }
+
+typedef struct {
+ EFI_PHYSICAL_ADDRESS Address;
+ UINT64 Size;
+} MM_CORE_FV_LOCATION_PPI;
+
+extern EFI_GUID gMmCoreFvLocationPpiGuid;
+
+#pragma pack()
+
+#endif