Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: 94a50ef550b9523a871b9742501995cba0920e67
https://github.com/tianocore/edk2/commit/94a50ef550b9523a871b9742501995cba0920e67
Author: Michael D Kinney <[email protected]>
Date: 2026-01-23 (Fri, 23 Jan 2026)
Changed paths:
M UefiCpuPkg/CpuDxe/CpuPageTable.c
M UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.c
M UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.c
M UefiCpuPkg/Library/CpuPageTableLib/CpuPageTableMap.c
M UefiCpuPkg/PiSmmCpuDxeSmm/NonMmramMapDxeSmm.c
M UefiCpuPkg/PiSmmCpuDxeSmm/NonMmramMapStandaloneMm.c
M UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuCommon.c
M UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuCommon.h
M UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuStandaloneMm.c
M UefiCpuPkg/PiSmmCpuDxeSmm/SmmCpuMemoryManagement.c
M UefiCpuPkg/PiSmmCpuDxeSmm/SmmProfile.c
Log Message:
-----------
UefiCpuPkg: Fix VS2022 NOOPT IA32 build issues
Update to consistently use IS_ALIGNED() to check for page aligned
values instead of & or % operator with EFI_PAGE_SIZE or SIZE_4KB.
Use of % operator is a division operation that introduces use of
intrinsics for VS2022 NOOPT IA32 builds when 64-bit operands are
used.
Change PrevProcessorIndex in GetSmBase() from UINT64 to UINTN
to remove use of intrinsics in VS2022 NOOPT IA32 builds.
Change SmmProfileSize in InitSmmProfileInternal() from UINT64
to UINTN to resolve VS2022 NOOPT IA32 build issues.
Change SmmProfileSize in IsSmmProfileEnabled() from UINT64 to
UINTN to resolve VS2022 NOOPT IA32 build issues.
Change Size parameter in GetSmmProfileData() from UINT64 to
UINTN to resolve VS2022 NOOPT IA32 build issues.
Signed-off-by: Michael D Kinney <[email protected]>
To unsubscribe from these emails, change your notification settings at
https://github.com/tianocore/edk2/settings/notifications
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits