diff options
author | Laszlo Ersek <lersek@redhat.com> | 2017-08-30 14:35:58 +0200 |
---|---|---|
committer | Laszlo Ersek <lersek@redhat.com> | 2017-09-01 14:20:45 +0200 |
commit | 80ddd336daf9ee398ace88c95ec410fd5c41f804 (patch) | |
tree | 0849bf7b8afb4eeae4121ec492d5eb8a92d6b7b0 /CryptoPkg | |
parent | a1d6a9dcda311918bdc7d415a29c10487244a62c (diff) | |
download | edk2-80ddd336daf9ee398ace88c95ec410fd5c41f804.zip edk2-80ddd336daf9ee398ace88c95ec410fd5c41f804.tar.gz edk2-80ddd336daf9ee398ace88c95ec410fd5c41f804.tar.bz2 |
OvmfPkg/IoMmuDxe: IoMmuAllocateBuffer(): nicer and more informative DEBUGs
Log all relevant IN and IN OUT parameters on entry.
(Note that the HostAddress parameter is IN OUT rather than OUT due to
historical reasons. The "IN EFI_ALLOCATE_TYPE Type" parameter is now to be
ignored, but historically it could be set to AllocateMaxAddress for
example, and for that HostAddress had to be IN OUT.)
When exiting with success, log all relevant OUT parameters (i.e.,
HostAddress). Also log the new (internal) StashBuffer address, on which
IoMmuMap() and IoMmuUnmap() rely on, for BusMasterCommonBuffer operations
(in-place decryption and encryption, respectively).
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 'CryptoPkg')
0 files changed, 0 insertions, 0 deletions