audk/UefiCpuPkg/Library/CpuPageTableLib
Savva Mitrofanov 30afd72eaf 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>
2024-07-22 13:47:17 +03:00
..
UnitTest UefiCpuPkg/CpuPageTableLib/TestCase: Refine test case for PAE paging. 2023-12-06 05:30:55 +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 2024-07-22 13:47:17 +03:00
CpuPageTableMap.c UefiCpuPkg/CpuPageTableLib: qualify page table accesses as volatile 2024-03-01 18:47:27 +00:00
CpuPageTableParse.c UefiCpuPkg/CpuPageTableLib: Enable PAE paging 2023-03-27 08:21:58 +00:00