mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
SecurityPkg: Fix VS2022 NOOPT IA32 use of intrinsics
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
This commit is contained in:
parent
b734b82ad8
commit
43e0552a74
1 changed files with 1 additions and 1 deletions
|
|
@ -151,7 +151,7 @@ AssignOpRegion (
|
|||
Tcg2AcpiCommunicateBufferHob = GET_GUID_HOB_DATA (GuidHob);
|
||||
MemoryAddress = Tcg2AcpiCommunicateBufferHob->Tcg2AcpiCommunicateBuffer;
|
||||
ASSERT (MemoryAddress != 0);
|
||||
ASSERT (EFI_PAGES_TO_SIZE (Tcg2AcpiCommunicateBufferHob->Pages) >= Size);
|
||||
ASSERT (EFI_PAGES_TO_SIZE ((UINTN)Tcg2AcpiCommunicateBufferHob->Pages) >= Size);
|
||||
|
||||
ZeroMem ((VOID *)(UINTN)MemoryAddress, Size);
|
||||
OpRegion->RegionOffset = (UINT32)(UINTN)MemoryAddress;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue