audk/CryptoPkg/Library/IntrinsicLib
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
..
Ia32 UefiCpuPkg/CpuPageTableLib: Add intrinsic lib to fix MSVC build 2024-07-22 13:47:17 +03:00
BaseIntrinsicLib.uni CryptoPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:22 -07:00
CopyMem.c CryptoPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
IntrinsicLib.inf UefiCpuPkg/CpuPageTableLib: Add intrinsic lib to fix MSVC build 2024-07-22 13:47:17 +03:00
MemoryIntrinsics.c CryptoPkg: remove strcmp to syscall 2023-08-09 07:10:31 +00:00