summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/PiDxeS3BootScriptLib/InternalBootScriptLib.h
diff options
context:
space:
mode:
authorMichael D Kinney <michael.d.kinney@intel.com>2026-01-19 02:19:58 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2026-01-23 20:59:06 +0300
commit94a50ef550b9523a871b9742501995cba0920e67 (patch)
treeee507cc6b27bc870b162227c8a16b209263c2659 /MdeModulePkg/Library/PiDxeS3BootScriptLib/InternalBootScriptLib.h
parent811f56c9386be0dcd151cb5b1af3878c0a4e7b09 (diff)
downloadedk2-94a50ef550b9523a871b9742501995cba0920e67.tar.xz
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 <michael.d.kinney@intel.com>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib/InternalBootScriptLib.h')
0 files changed, 0 insertions, 0 deletions