summaryrefslogtreecommitdiffstats
path: root/OvmfPkg
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2017-08-30 13:15:29 +0200
committerLaszlo Ersek <lersek@redhat.com>2017-09-01 14:20:27 +0200
commit6c72134dff1e5cb97bc4686cb795fe6b55889965 (patch)
tree11b74fb71539e5c23d3736a6cb28b9b705820466 /OvmfPkg
parent6692af92b19c37525c10b769c4c69d9ee5a2c319 (diff)
downloadedk2-6c72134dff1e5cb97bc4686cb795fe6b55889965.tar.gz
edk2-6c72134dff1e5cb97bc4686cb795fe6b55889965.tar.bz2
edk2-6c72134dff1e5cb97bc4686cb795fe6b55889965.zip
OvmfPkg/BaseMemEncryptSevLib: clean up DEBUG prefixes
The prefix for the SetMemoryEncDec() DEBUG messages should be "ModuleName:FunctionName: " not "ModuleName:FunctionName " Cc: Brijesh Singh <brijesh.singh@amd.com> Cc: Jordan Justen <jordan.l.justen@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Brijesh Singh <brijesh.singh@amd.com> Tested-by: Brijesh Singh <brijesh.singh@amd.com>
Diffstat (limited to 'OvmfPkg')
-rw-r--r--OvmfPkg/Library/BaseMemEncryptSevLib/X64/VirtualMemory.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/OvmfPkg/Library/BaseMemEncryptSevLib/X64/VirtualMemory.c b/OvmfPkg/Library/BaseMemEncryptSevLib/X64/VirtualMemory.c
index 83e3d89921..5e8c9b4c43 100644
--- a/OvmfPkg/Library/BaseMemEncryptSevLib/X64/VirtualMemory.c
+++ b/OvmfPkg/Library/BaseMemEncryptSevLib/X64/VirtualMemory.c
@@ -288,7 +288,7 @@ SetMemoryEncDec (
if (!PageMapLevel4Entry->Bits.Present) {
DEBUG ((
DEBUG_WARN,
- "%a:%a ERROR bad PML4 for %lx\n",
+ "%a:%a: ERROR bad PML4 for %lx\n",
gEfiCallerBaseName,
__FUNCTION__,
PhysicalAddress
@@ -301,7 +301,7 @@ SetMemoryEncDec (
if (!PageDirectory1GEntry->Bits.Present) {
DEBUG ((
DEBUG_WARN,
- "%a:%a ERROR bad PDPE for %lx\n",
+ "%a:%a: ERROR bad PDPE for %lx\n",
gEfiCallerBaseName,
__FUNCTION__,
PhysicalAddress
@@ -321,7 +321,7 @@ SetMemoryEncDec (
SetOrClearCBit(&PageDirectory1GEntry->Uint64, Mode);
DEBUG ((
DEBUG_VERBOSE,
- "%a:%a Updated 1GB entry for %lx\n",
+ "%a:%a: Updated 1GB entry for %lx\n",
gEfiCallerBaseName,
__FUNCTION__,
PhysicalAddress
@@ -334,7 +334,7 @@ SetMemoryEncDec (
//
DEBUG ((
DEBUG_VERBOSE,
- "%a:%a Spliting 1GB page\n",
+ "%a:%a: Spliting 1GB page\n",
gEfiCallerBaseName,
__FUNCTION__
));
@@ -351,7 +351,7 @@ SetMemoryEncDec (
if (!PageDirectory2MEntry->Bits.Present) {
DEBUG ((
DEBUG_WARN,
- "%a:%a ERROR bad PDE for %lx\n",
+ "%a:%a: ERROR bad PDE for %lx\n",
gEfiCallerBaseName,
__FUNCTION__,
PhysicalAddress
@@ -376,7 +376,7 @@ SetMemoryEncDec (
//
DEBUG ((
DEBUG_VERBOSE,
- "%a:%a Spliting 2MB page at %lx\n",
+ "%a:%a: Spliting 2MB page at %lx\n",
gEfiCallerBaseName,
__FUNCTION__,
PhysicalAddress
@@ -391,7 +391,7 @@ SetMemoryEncDec (
if (!PageTableEntry->Bits.Present) {
DEBUG ((
DEBUG_WARN,
- "%a:%a ERROR bad PTE for %lx\n",
+ "%a:%a: ERROR bad PTE for %lx\n",
gEfiCallerBaseName,
__FUNCTION__,
PhysicalAddress