mirror of https://github.com/acidanthera/audk.git
MdeModulePkg/DxeIplPeim: Initialize pointer PageMapLevel5Entry
Initialize PageMapLevel5Entry at the beginning of the function. This commit will fix a GCC 4.8.5 build failure introduced by commitb3527dedc3
. OvmfPkg build failure wtih gcc 4.8.5 still exists at latest edk2 version. The commit46f8a68916
seems not to fix the build failure completely. Cc: Dandan Bi <dandan.bi@intel.com> Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
This commit is contained in:
parent
48d8d4d80b
commit
0680d08683
|
@ -652,6 +652,11 @@ CreateIdentityMappingPageTables (
|
||||||
UINT64 AddressEncMask;
|
UINT64 AddressEncMask;
|
||||||
IA32_CR4 Cr4;
|
IA32_CR4 Cr4;
|
||||||
|
|
||||||
|
//
|
||||||
|
// Set PageMapLevel5Entry to suppress incorrect compiler/analyzer warnings
|
||||||
|
//
|
||||||
|
PageMapLevel5Entry = NULL;
|
||||||
|
|
||||||
//
|
//
|
||||||
// Make sure AddressEncMask is contained to smallest supported address field
|
// Make sure AddressEncMask is contained to smallest supported address field
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in New Issue