mirror of https://github.com/acidanthera/audk.git
c73fce3d12
Match data type and format specifier for printing. 1. Type cast ProcessorNumber and FeatureIndex to UINT32 as %d only expects a UINT32. 2. Use %08x instead of %08lx for CacheControl to print Index as it is UINT32 type. 3. Use %016lx instead of %08lx for MemoryMapped to print (Index | LShiftU64 (HighIndex, 32)) as it is UINT64 type. Cc: Eric Dong <eric.dong@intel.com> Cc: Ray Ni <ray.ni@intel.com> Cc: Laszlo Ersek <lersek@redhat.com> Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Eric Dong <eric.dong@intel.com> |
||
---|---|---|
.. | ||
CpuFeaturesInitialize.c | ||
DxeRegisterCpuFeaturesLib.c | ||
DxeRegisterCpuFeaturesLib.inf | ||
PeiRegisterCpuFeaturesLib.c | ||
PeiRegisterCpuFeaturesLib.inf | ||
RegisterCpuFeatures.h | ||
RegisterCpuFeaturesLib.c | ||
RegisterCpuFeaturesLib.uni |