summaryrefslogtreecommitdiff
path: root/StandaloneMmPkg/Include/Guid
diff options
context:
space:
mode:
Diffstat (limited to 'StandaloneMmPkg/Include/Guid')
-rw-r--r--StandaloneMmPkg/Include/Guid/MmCoreData.h33
-rw-r--r--StandaloneMmPkg/Include/Guid/MmFvDispatch.h12
-rw-r--r--StandaloneMmPkg/Include/Guid/MmramMemoryReserve.h7
-rw-r--r--StandaloneMmPkg/Include/Guid/MpInformation.h8
4 files changed, 29 insertions, 31 deletions
diff --git a/StandaloneMmPkg/Include/Guid/MmCoreData.h b/StandaloneMmPkg/Include/Guid/MmCoreData.h
index f112a75..b8be92c 100644
--- a/StandaloneMmPkg/Include/Guid/MmCoreData.h
+++ b/StandaloneMmPkg/Include/Guid/MmCoreData.h
@@ -13,16 +13,15 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
#define MM_CORE_DATA_HOB_GUID \
{ 0xa160bf99, 0x2aa4, 0x4d7d, { 0x99, 0x93, 0x89, 0x9c, 0xb1, 0x2d, 0xf3, 0x76 }}
-extern EFI_GUID gMmCoreDataHobGuid;
+extern EFI_GUID gMmCoreDataHobGuid;
typedef struct {
//
// Address pointer to MM_CORE_PRIVATE_DATA
//
- EFI_PHYSICAL_ADDRESS Address;
+ EFI_PHYSICAL_ADDRESS Address;
} MM_CORE_DATA_HOB_DATA;
-
///
/// Define values for the communications buffer used when gEfiEventDxeDispatchGuid is
/// event signaled. This event is signaled by the DXE Core each time the DXE Core
@@ -55,19 +54,19 @@ typedef struct {
/// thos structure.
///
typedef struct {
- UINT64 Signature;
+ UINT64 Signature;
///
/// The number of MMRAM ranges passed from the MM IPL to the MM Core. The MM
/// Core uses these ranges of MMRAM to initialize the MM Core memory manager.
///
- UINT64 MmramRangeCount;
+ UINT64 MmramRangeCount;
///
/// A table of MMRAM ranges passed from the MM IPL to the MM Core. The MM
/// Core uses these ranges of MMRAM to initialize the MM Core memory manager.
///
- EFI_PHYSICAL_ADDRESS MmramRanges;
+ EFI_PHYSICAL_ADDRESS MmramRanges;
///
/// The MM Foundation Entry Point. The MM Core fills in this field when the
@@ -78,50 +77,50 @@ typedef struct {
/// the MM Foundation Entry Point as soon as the MM Configuration Protocol is
/// available.
///
- EFI_PHYSICAL_ADDRESS MmEntryPoint;
+ EFI_PHYSICAL_ADDRESS MmEntryPoint;
///
/// Boolean flag set to TRUE while an MMI is being processed by the MM Core.
///
- BOOLEAN MmEntryPointRegistered;
+ BOOLEAN MmEntryPointRegistered;
///
/// Boolean flag set to TRUE while an MMI is being processed by the MM Core.
///
- BOOLEAN InMm;
+ BOOLEAN InMm;
///
/// This field is set by the MM Core then the MM Core is initialized. This field is
/// used by the MM Base 2 Protocol and MM Communication Protocol implementations in
/// the MM IPL.
///
- EFI_PHYSICAL_ADDRESS Mmst;
+ EFI_PHYSICAL_ADDRESS Mmst;
///
/// This field is used by the MM Communication Protocol to pass a buffer into
/// a software MMI handler and for the software MMI handler to pass a buffer back to
/// the caller of the MM Communication Protocol.
///
- EFI_PHYSICAL_ADDRESS CommunicationBuffer;
+ EFI_PHYSICAL_ADDRESS CommunicationBuffer;
///
/// This field is used by the MM Communication Protocol to pass the size of a buffer,
/// in bytes, into a software MMI handler and for the software MMI handler to pass the
/// size, in bytes, of a buffer back to the caller of the MM Communication Protocol.
///
- UINT64 BufferSize;
+ UINT64 BufferSize;
///
/// This field is used by the MM Communication Protocol to pass the return status from
/// a software MMI handler back to the caller of the MM Communication Protocol.
///
- UINT64 ReturnStatus;
+ UINT64 ReturnStatus;
- EFI_PHYSICAL_ADDRESS MmCoreImageBase;
- UINT64 MmCoreImageSize;
- EFI_PHYSICAL_ADDRESS MmCoreEntryPoint;
+ EFI_PHYSICAL_ADDRESS MmCoreImageBase;
+ UINT64 MmCoreImageSize;
+ EFI_PHYSICAL_ADDRESS MmCoreEntryPoint;
- EFI_PHYSICAL_ADDRESS StandaloneBfvAddress;
+ EFI_PHYSICAL_ADDRESS StandaloneBfvAddress;
} MM_CORE_PRIVATE_DATA;
#endif
diff --git a/StandaloneMmPkg/Include/Guid/MmFvDispatch.h b/StandaloneMmPkg/Include/Guid/MmFvDispatch.h
index 643f6e6..6ddc89b 100644
--- a/StandaloneMmPkg/Include/Guid/MmFvDispatch.h
+++ b/StandaloneMmPkg/Include/Guid/MmFvDispatch.h
@@ -14,19 +14,19 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
#define MM_FV_DISPATCH_GUID \
{ 0xb65694cc, 0x9e3, 0x4c3b, { 0xb5, 0xcd, 0x5, 0xf4, 0x4d, 0x3c, 0xdb, 0xff }}
-extern EFI_GUID gMmFvDispatchGuid;
+extern EFI_GUID gMmFvDispatchGuid;
#pragma pack(1)
typedef struct {
- EFI_PHYSICAL_ADDRESS Address;
- UINT64 Size;
+ EFI_PHYSICAL_ADDRESS Address;
+ UINT64 Size;
} EFI_MM_COMMUNICATE_FV_DISPATCH_DATA;
typedef struct {
- EFI_GUID HeaderGuid;
- UINTN MessageLength;
- EFI_MM_COMMUNICATE_FV_DISPATCH_DATA Data;
+ EFI_GUID HeaderGuid;
+ UINTN MessageLength;
+ EFI_MM_COMMUNICATE_FV_DISPATCH_DATA Data;
} EFI_MM_COMMUNICATE_FV_DISPATCH;
#pragma pack()
diff --git a/StandaloneMmPkg/Include/Guid/MmramMemoryReserve.h b/StandaloneMmPkg/Include/Guid/MmramMemoryReserve.h
index 898865a..1159d3a 100644
--- a/StandaloneMmPkg/Include/Guid/MmramMemoryReserve.h
+++ b/StandaloneMmPkg/Include/Guid/MmramMemoryReserve.h
@@ -42,15 +42,14 @@ typedef struct {
/// In Framework MM CIS 0.91 specification, it defines the field type as UINTN.
/// However, HOBs are supposed to be CPU neutral, so UINT32 should be used instead.
///
- UINT32 NumberOfMmReservedRegions;
+ UINT32 NumberOfMmReservedRegions;
///
/// Used throughout this protocol to describe the candidate
/// regions for MMRAM that are supported by this platform.
///
- EFI_MMRAM_DESCRIPTOR Descriptor[1];
+ EFI_MMRAM_DESCRIPTOR Descriptor[1];
} EFI_MMRAM_HOB_DESCRIPTOR_BLOCK;
-extern EFI_GUID gEfiMmPeiSmramMemoryReserveGuid;
+extern EFI_GUID gEfiMmPeiSmramMemoryReserveGuid;
#endif
-
diff --git a/StandaloneMmPkg/Include/Guid/MpInformation.h b/StandaloneMmPkg/Include/Guid/MpInformation.h
index e3a916d..dbf88d1 100644
--- a/StandaloneMmPkg/Include/Guid/MpInformation.h
+++ b/StandaloneMmPkg/Include/Guid/MpInformation.h
@@ -24,12 +24,12 @@
#pragma pack(1)
typedef struct {
- UINT64 NumberOfProcessors;
- UINT64 NumberOfEnabledProcessors;
- EFI_PROCESSOR_INFORMATION ProcessorInfoBuffer[];
+ UINT64 NumberOfProcessors;
+ UINT64 NumberOfEnabledProcessors;
+ EFI_PROCESSOR_INFORMATION ProcessorInfoBuffer[];
} MP_INFORMATION_HOB_DATA;
#pragma pack()
-extern EFI_GUID gMpInformationHobGuid;
+extern EFI_GUID gMpInformationHobGuid;
#endif