mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-28 08:04:07 +02:00
UefiCpuPkg SecCore: Fix operands of different size in bitwise operation
It is introduced by 9e9ca2100f22be29f1a53129d741f4305ff34a71. 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…
x
Reference in New Issue
Block a user