summaryrefslogtreecommitdiffstats
path: root/StandaloneMmPkg
diff options
context:
space:
mode:
authorSami Mujawar <sami.mujawar@arm.com>2020-12-03 13:56:48 +0000
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2021-01-07 11:13:39 +0000
commit9ef62f5078c33368cbf481e36adb2ae3c450f835 (patch)
treeabfa57fbb9b8fb1977645b783102377018526d28 /StandaloneMmPkg
parentc6fa62aaccb45eb75e70489fe6c8262518c60a9e (diff)
downloadedk2-9ef62f5078c33368cbf481e36adb2ae3c450f835.tar.gz
edk2-9ef62f5078c33368cbf481e36adb2ae3c450f835.tar.bz2
edk2-9ef62f5078c33368cbf481e36adb2ae3c450f835.zip
StandaloneMmPkg: Fix ECC error 1001 in SMM Memory pool management
Bugzilla: 3150 (https://bugzilla.tianocore.org/show_bug.cgi?id=3150) Fix the following error reported by the Ecc tool: [1001] 'TAB' character is not allowed in source code, please replace each 'TAB' with two spaces. Signed-off-by: Sami Mujawar <sami.mujawar@arm.com> Acked-by: Jiewen Yao <Jiewen.yao@intel.com> Acked-by: Ard Biesheuvel <ard.biesheuvel@arm.com> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Diffstat (limited to 'StandaloneMmPkg')
-rw-r--r--StandaloneMmPkg/Core/Pool.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/StandaloneMmPkg/Core/Pool.c b/StandaloneMmPkg/Core/Pool.c
index 661ef09021..34371d8dc3 100644
--- a/StandaloneMmPkg/Core/Pool.c
+++ b/StandaloneMmPkg/Core/Pool.c
@@ -2,7 +2,7 @@
SMM Memory pool management functions.
Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>
- Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.<BR>
+ Copyright (c) 2016 - 2021, Arm Limited. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
@@ -50,7 +50,7 @@ MmInitializeMemoryServices (
continue;
}
DEBUG ((DEBUG_INFO, "MmAddMemoryRegion %d : 0x%016lx - 0x%016lx\n",
- Index, MmramRanges[Index].CpuStart, MmramRanges[Index].PhysicalSize));
+ Index, MmramRanges[Index].CpuStart, MmramRanges[Index].PhysicalSize));
MmAddMemoryRegion (
MmramRanges[Index].CpuStart,
MmramRanges[Index].PhysicalSize,
@@ -86,7 +86,7 @@ InternalAllocPoolByIndex (
Hdr = NULL;
if (PoolIndex == MAX_POOL_INDEX) {
Status = MmInternalAllocatePages (
- AllocateAnyPages,
+ AllocateAnyPages,
EfiRuntimeServicesData,
EFI_SIZE_TO_PAGES (MAX_POOL_SIZE << 1),
&Address