]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg/BaseMemEncryptSevLib: clean up debug logging of PhysicalAddress
authorLaszlo Ersek <lersek@redhat.com>
Wed, 30 Aug 2017 11:22:58 +0000 (13:22 +0200)
committerLaszlo Ersek <lersek@redhat.com>
Fri, 1 Sep 2017 12:20:30 +0000 (14:20 +0200)
commit631bd7e084c042b799bc1497be3bfc01ed1d5f83
treef2fb5b3921fd81b321db98c6b153806754438d84
parent6c72134dff1e5cb97bc4686cb795fe6b55889965
OvmfPkg/BaseMemEncryptSevLib: clean up debug logging of PhysicalAddress

In the SetMemoryEncDec() function, the way we currently report
PhysicalAddress is not uniform:

- mostly we say "for %lx",

- in one spot we say "at %lx" (even though the 2MB page being split does
  not live *at* PhysicalAddress, instead it maps PhysicalAddress),

- in another spot we don't log PhysicalAddress at all (when splitting a
  1GB page).

Unify this, using the format string "for Physical=0x%Lx".

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>
OvmfPkg/Library/BaseMemEncryptSevLib/X64/VirtualMemory.c