mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
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> |
||
|---|---|---|
| .. | ||
| BaseXApicLib.c | ||
| BaseXApicLib.inf | ||
| BaseXApicLib.uni | ||