mirror of https://github.com/acidanthera/audk.git
UefiCpuPkg SecCore: Fix operands of different size in bitwise operation
It is introduced by 9e9ca2100f
.
Cc: Hao Wu <hao.a.wu@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Jeff Fan <jeff.fan@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
parent
354a75f9ed
commit
59d3fad32e
|
@ -281,7 +281,7 @@ SecStartupPhase2(
|
|||
// will be built based on them in PEI phase.
|
||||
//
|
||||
SecCoreData->PeiTemporaryRamBase = (VOID *)(((UINTN)SecCoreData->PeiTemporaryRamBase + 7) & ~0x07);
|
||||
SecCoreData->PeiTemporaryRamSize &= ~0x07;
|
||||
SecCoreData->PeiTemporaryRamSize &= ~(UINTN)0x07;
|
||||
} else {
|
||||
//
|
||||
// No addition PPI, PpiList directly point to the common PPI list.
|
||||
|
|
Loading…
Reference in New Issue