StandaloneMmPkg: Apply uncrustify changes
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737 Apply uncrustify changes to .c/.h files in the StandaloneMmPkg package Cc: Andrew Fish <afish@apple.com> Cc: Leif Lindholm <leif@nuviainc.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com> Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
This commit is contained in:
committed by
mergify[bot]
parent
c1e126b119
commit
91415a36ae
@@ -9,7 +9,7 @@
|
||||
|
||||
#include "StandaloneMmCore.h"
|
||||
|
||||
#define CONFIG_TABLE_SIZE_INCREASED 0x10
|
||||
#define CONFIG_TABLE_SIZE_INCREASED 0x10
|
||||
|
||||
UINTN mMmSystemTableAllocateSize = 0;
|
||||
|
||||
@@ -33,10 +33,10 @@ UINTN mMmSystemTableAllocateSize = 0;
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
MmInstallConfigurationTable (
|
||||
IN CONST EFI_MM_SYSTEM_TABLE *SystemTable,
|
||||
IN CONST EFI_GUID *Guid,
|
||||
IN VOID *Table,
|
||||
IN UINTN TableSize
|
||||
IN CONST EFI_MM_SYSTEM_TABLE *SystemTable,
|
||||
IN CONST EFI_GUID *Guid,
|
||||
IN VOID *Table,
|
||||
IN UINTN TableSize
|
||||
)
|
||||
{
|
||||
UINTN Index;
|
||||
@@ -87,7 +87,6 @@ MmInstallConfigurationTable (
|
||||
&(ConfigurationTable[Index + 1]),
|
||||
(gMmCoreMmst.NumberOfTableEntries - Index) * sizeof (EFI_CONFIGURATION_TABLE)
|
||||
);
|
||||
|
||||
} else {
|
||||
//
|
||||
// No matching GUIDs were found, so this is an add operation.
|
||||
@@ -107,7 +106,7 @@ MmInstallConfigurationTable (
|
||||
// Allocate a table with one additional entry.
|
||||
//
|
||||
mMmSystemTableAllocateSize += (CONFIG_TABLE_SIZE_INCREASED * sizeof (EFI_CONFIGURATION_TABLE));
|
||||
ConfigurationTable = AllocatePool (mMmSystemTableAllocateSize);
|
||||
ConfigurationTable = AllocatePool (mMmSystemTableAllocateSize);
|
||||
if (ConfigurationTable == NULL) {
|
||||
//
|
||||
// If a new table could not be allocated, then return an error.
|
||||
|
Reference in New Issue
Block a user