audk/UefiCpuPkg/Library/CpuPageTableLib
Savva Mitrofanov 0177e0ac42 UefiCpuPkg/CpuPageTableLib: Add intrinsic lib to fix MSVC build
For the bitfield access, MSVC apparently uses a right shift of the base type of the bitfield member. In our case, is is cased by IA32_PTE_4K and
IA32_PAGE_LEAF_ENTRY_BIG_PAGESIZE and other structures which uses uint64
bitfields and 32-bit x86 doesn't have a 64-bit integer shift (except using MMX or SSE2). With -Od (NOOPT) even for constant counts it puts
the data in EDX:EAX, the shift count in cl and calls __aullshr.

Signed-off-by: Savva Mitrofanov <savvamtr@gmail.com>
2023-12-20 13:55:44 +03:00
..
UnitTest UefiCpuPkg/Test: Disable random test cases 2023-03-31 23:44:49 +00:00
CpuPageTable.h UefiCpuPkg/CpuPageTableLib: Enable PAE paging 2023-03-27 08:21:58 +00:00
CpuPageTableLib.inf UefiCpuPkg/CpuPageTableLib: Add intrinsic lib to fix MSVC build 2023-12-20 13:55:44 +03:00
CpuPageTableMap.c UefiCpuPkg/CpuPageTableLib: Enable PAE paging 2023-03-27 08:21:58 +00:00
CpuPageTableParse.c UefiCpuPkg/CpuPageTableLib: Enable PAE paging 2023-03-27 08:21:58 +00:00