FmpDevicePkg/FmpDxe: Remove use of CatSprint()

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1525

The size overhead for CatSPrint() is large.  This function
is only used to generate variable names with HardwareInstance
value appended.  Use UnicodeValueToStringS() instead that is
much smaller.

Cc: Sean Brogan <sean.brogan@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:
Eric Jin
2019-07-26 15:48:44 +08:00
committed by Liming Gao
parent 11d354945c
commit a5944b6a13
4 changed files with 17 additions and 5 deletions

View File

@@ -45,6 +45,7 @@
BaseMemoryLib
UefiBootServicesTableLib
MemoryAllocationLib
PrintLib
UefiLib
BaseCryptLib
FmpAuthenticationLib