FmpDevicePkg/FmpDxe: Improve all DEBUG() messages
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1525
Update all DEBUG() messages to include the name of the
FMP device from PcdFmpDeviceImageIdName.
Based on content from the following commit, but expanded
to cover all DEBUG() messages.
a2c7da88d3 (diff-025d4889f6d3a482b49638a25e432d6d)
Cc: Sean Brogan <sean.brogan@microsoft.com>
Cc: Michael Turner <Michael.Turner@microsoft.com>
Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>
Cc: Liming Gao <liming.gao@intel.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Eric Jin <eric.jin@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
@@ -17,6 +17,8 @@
|
||||
#include <Library/DebugLib.h>
|
||||
#include <Library/BaseLib.h>
|
||||
#include <Library/BaseMemoryLib.h>
|
||||
#include <Library/BaseCryptLib.h>
|
||||
#include <Library/PcdLib.h>
|
||||
#include <Library/UefiBootServicesTableLib.h>
|
||||
#include <Library/UefiRuntimeServicesTableLib.h>
|
||||
#include <Library/MemoryAllocationLib.h>
|
||||
@@ -71,6 +73,11 @@ typedef struct {
|
||||
#define FIRMWARE_MANAGEMENT_PRIVATE_DATA_FROM_THIS(a) \
|
||||
CR (a, FIRMWARE_MANAGEMENT_PRIVATE_DATA, Fmp, FIRMWARE_MANAGEMENT_PRIVATE_DATA_SIGNATURE)
|
||||
|
||||
///
|
||||
/// Null-terminated Unicode string retrieved from PcdFmpDeviceImageIdName.
|
||||
///
|
||||
extern CHAR16 *mImageIdName;
|
||||
|
||||
/**
|
||||
Check to see if any of the keys in PcdFmpDevicePkcs7CertBufferXdr matches
|
||||
the test key. PcdFmpDeviceTestKeySha256Digest contains the SHA256 hash of
|
||||
|
Reference in New Issue
Block a user