]> git.proxmox.com Git - mirror_edk2.git/commit - FmpDevicePkg/FmpDxe/FmpDxe.inf
FmpDevicePkg/FmpDxe: Remove use of CatSprint()
authorEric Jin <eric.jin@intel.com>
Fri, 26 Jul 2019 07:48:44 +0000 (15:48 +0800)
committerLiming Gao <liming.gao@intel.com>
Thu, 15 Aug 2019 09:22:24 +0000 (17:22 +0800)
commita5944b6a13e227da23daa0ab59b5d6f4b06bb49b
treeec6facce36397326be6b5ecf56b14725eacc7f62
parent11d354945c204588c98f74cfd8b6d18433d621c4
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>
FmpDevicePkg/FmpDxe/FmpDxe.h
FmpDevicePkg/FmpDxe/FmpDxe.inf
FmpDevicePkg/FmpDxe/FmpDxeLib.inf
FmpDevicePkg/FmpDxe/VariableSupport.c