summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Core/Dxe/Misc/MemoryProtection.c
diff options
context:
space:
mode:
Diffstat (limited to 'MdeModulePkg/Core/Dxe/Misc/MemoryProtection.c')
-rw-r--r--MdeModulePkg/Core/Dxe/Misc/MemoryProtection.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/MdeModulePkg/Core/Dxe/Misc/MemoryProtection.c b/MdeModulePkg/Core/Dxe/Misc/MemoryProtection.c
index b89ab046fa..7cc829b174 100644
--- a/MdeModulePkg/Core/Dxe/Misc/MemoryProtection.c
+++ b/MdeModulePkg/Core/Dxe/Misc/MemoryProtection.c
@@ -838,7 +838,7 @@ InitializeDxeNxMemoryProtectionPolicy (
DEBUG ((
DEBUG_INFO,
"%a: StackBase = 0x%016lx StackSize = 0x%016lx\n",
- __FUNCTION__,
+ __func__,
MemoryHob->AllocDescriptor.MemoryBaseAddress,
MemoryHob->AllocDescriptor.MemoryLength
));
@@ -864,7 +864,7 @@ InitializeDxeNxMemoryProtectionPolicy (
DEBUG ((
DEBUG_INFO,
"%a: applying strict permissions to active memory regions\n",
- __FUNCTION__
+ __func__
));
MergeMemoryMapForProtectionPolicy (MemoryMap, &MemoryMapSize, DescriptorSize);
@@ -926,7 +926,7 @@ InitializeDxeNxMemoryProtectionPolicy (
DEBUG ((
DEBUG_INFO,
"%a: applying strict permissions to inactive memory regions\n",
- __FUNCTION__
+ __func__
));
CoreAcquireGcdMemoryLock ();