ArmPlatformPkg: Apply uncrustify changes
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737 Apply uncrustify changes to .c/.h files in the ArmPlatformPkg 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: Andrew Fish <afish@apple.com>
This commit is contained in:
committed by
mergify[bot]
parent
429309e0c6
commit
40b0b23ed3
@@ -27,8 +27,8 @@
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
MemoryPeim (
|
||||
IN EFI_PHYSICAL_ADDRESS UefiMemoryBase,
|
||||
IN UINT64 UefiMemorySize
|
||||
IN EFI_PHYSICAL_ADDRESS UefiMemoryBase,
|
||||
IN UINT64 UefiMemorySize
|
||||
);
|
||||
|
||||
// May want to put this into a library so you only need the PCD settings if you are using the feature?
|
||||
@@ -37,7 +37,7 @@ BuildMemoryTypeInformationHob (
|
||||
VOID
|
||||
)
|
||||
{
|
||||
EFI_MEMORY_TYPE_INFORMATION Info[10];
|
||||
EFI_MEMORY_TYPE_INFORMATION Info[10];
|
||||
|
||||
Info[0].Type = EfiACPIReclaimMemory;
|
||||
Info[0].NumberOfPages = PcdGet32 (PcdMemoryTypeEfiACPIReclaimMemory);
|
||||
@@ -88,12 +88,12 @@ InitializeMemory (
|
||||
IN CONST EFI_PEI_SERVICES **PeiServices
|
||||
)
|
||||
{
|
||||
EFI_STATUS Status;
|
||||
UINTN SystemMemoryBase;
|
||||
UINT64 SystemMemoryTop;
|
||||
UINTN FdBase;
|
||||
UINTN FdTop;
|
||||
UINTN UefiMemoryBase;
|
||||
EFI_STATUS Status;
|
||||
UINTN SystemMemoryBase;
|
||||
UINT64 SystemMemoryTop;
|
||||
UINTN FdBase;
|
||||
UINTN FdTop;
|
||||
UINTN UefiMemoryBase;
|
||||
|
||||
DEBUG ((DEBUG_LOAD | DEBUG_INFO, "Memory Init PEIM Loaded\n"));
|
||||
|
||||
@@ -102,12 +102,13 @@ InitializeMemory (
|
||||
ASSERT (PcdGet64 (PcdSystemMemoryBase) < (UINT64)MAX_ALLOC_ADDRESS);
|
||||
|
||||
SystemMemoryBase = (UINTN)PcdGet64 (PcdSystemMemoryBase);
|
||||
SystemMemoryTop = SystemMemoryBase + PcdGet64 (PcdSystemMemorySize);
|
||||
SystemMemoryTop = SystemMemoryBase + PcdGet64 (PcdSystemMemorySize);
|
||||
if (SystemMemoryTop - 1 > MAX_ALLOC_ADDRESS) {
|
||||
SystemMemoryTop = (UINT64)MAX_ALLOC_ADDRESS + 1;
|
||||
}
|
||||
|
||||
FdBase = (UINTN)PcdGet64 (PcdFdBaseAddress);
|
||||
FdTop = FdBase + (UINTN)PcdGet32 (PcdFdSize);
|
||||
FdTop = FdBase + (UINTN)PcdGet32 (PcdFdSize);
|
||||
|
||||
//
|
||||
// Declare the UEFI memory to PEI
|
||||
|
Reference in New Issue
Block a user