## @file\r
# Base Library implementation.\r
#\r
-# Copyright (c) 2007 - 2015, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2007 - 2021, Intel Corporation. All rights reserved.<BR>\r
# Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
# Portions copyright (c) 2011 - 2013, ARM Ltd. All rights reserved.<BR>\r
+# Copyright (c) 2020 - 2021, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>\r
#\r
-# This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution. The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php.\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+# SPDX-License-Identifier: BSD-2-Clause-Patent\r
#\r
#\r
##\r
FILE_GUID = 27d67720-ea68-48ae-93da-a3a074c90e30\r
MODULE_TYPE = BASE\r
VERSION_STRING = 1.1\r
- LIBRARY_CLASS = BaseLib \r
+ LIBRARY_CLASS = BaseLib\r
\r
#\r
-# VALID_ARCHITECTURES = IA32 X64 IPF EBC ARM AARCH64\r
+# VALID_ARCHITECTURES = IA32 X64 EBC ARM AARCH64 RISCV64\r
#\r
\r
[Sources]\r
SwapBytes16.c\r
LongJump.c\r
SetJump.c\r
+ QuickSort.c\r
RShiftU64.c\r
RRotU64.c\r
RRotU32.c\r
BaseLibInternals.h\r
\r
[Sources.Ia32]\r
- Ia32/Wbinvd.c | MSFT \r
- Ia32/WriteMm7.c | MSFT \r
- Ia32/WriteMm6.c | MSFT \r
- Ia32/WriteMm5.c | MSFT \r
- Ia32/WriteMm4.c | MSFT \r
- Ia32/WriteMm3.c | MSFT \r
- Ia32/WriteMm2.c | MSFT \r
- Ia32/WriteMm1.c | MSFT \r
- Ia32/WriteMm0.c | MSFT \r
- Ia32/WriteLdtr.c | MSFT \r
- Ia32/WriteIdtr.c | MSFT \r
- Ia32/WriteGdtr.c | MSFT \r
- Ia32/WriteDr7.c | MSFT \r
- Ia32/WriteDr6.c | MSFT \r
- Ia32/WriteDr5.c | MSFT \r
- Ia32/WriteDr4.c | MSFT \r
- Ia32/WriteDr3.c | MSFT \r
- Ia32/WriteDr2.c | MSFT \r
- Ia32/WriteDr1.c | MSFT \r
- Ia32/WriteDr0.c | MSFT \r
- Ia32/WriteCr4.c | MSFT \r
- Ia32/WriteCr3.c | MSFT \r
- Ia32/WriteCr2.c | MSFT \r
- Ia32/WriteCr0.c | MSFT \r
- Ia32/WriteMsr64.c | MSFT \r
- Ia32/SwapBytes64.c | MSFT \r
- Ia32/SetJump.c | MSFT \r
- Ia32/RRotU64.c | MSFT \r
- Ia32/RShiftU64.c | MSFT \r
- Ia32/ReadPmc.c | MSFT \r
- Ia32/ReadTsc.c | MSFT \r
- Ia32/ReadLdtr.c | MSFT \r
- Ia32/ReadIdtr.c | MSFT \r
- Ia32/ReadGdtr.c | MSFT \r
- Ia32/ReadTr.c | MSFT \r
- Ia32/ReadSs.c | MSFT \r
- Ia32/ReadGs.c | MSFT \r
- Ia32/ReadFs.c | MSFT \r
- Ia32/ReadEs.c | MSFT \r
- Ia32/ReadDs.c | MSFT \r
- Ia32/ReadCs.c | MSFT \r
- Ia32/ReadMsr64.c | MSFT \r
- Ia32/ReadMm7.c | MSFT \r
- Ia32/ReadMm6.c | MSFT \r
- Ia32/ReadMm5.c | MSFT \r
- Ia32/ReadMm4.c | MSFT \r
- Ia32/ReadMm3.c | MSFT \r
- Ia32/ReadMm2.c | MSFT \r
- Ia32/ReadMm1.c | MSFT \r
- Ia32/ReadMm0.c | MSFT \r
- Ia32/ReadEflags.c | MSFT \r
- Ia32/ReadDr7.c | MSFT \r
- Ia32/ReadDr6.c | MSFT \r
- Ia32/ReadDr5.c | MSFT \r
- Ia32/ReadDr4.c | MSFT \r
- Ia32/ReadDr3.c | MSFT \r
- Ia32/ReadDr2.c | MSFT \r
- Ia32/ReadDr1.c | MSFT \r
- Ia32/ReadDr0.c | MSFT \r
- Ia32/ReadCr4.c | MSFT \r
- Ia32/ReadCr3.c | MSFT \r
- Ia32/ReadCr2.c | MSFT \r
- Ia32/ReadCr0.c | MSFT \r
- Ia32/Mwait.c | MSFT \r
- Ia32/Monitor.c | MSFT \r
- Ia32/ModU64x32.c | MSFT \r
- Ia32/MultU64x64.c | MSFT \r
- Ia32/MultU64x32.c | MSFT \r
- Ia32/LShiftU64.c | MSFT \r
- Ia32/LRotU64.c | MSFT \r
- Ia32/LongJump.c | MSFT \r
- Ia32/Invd.c | MSFT \r
- Ia32/FxRestore.c | MSFT \r
- Ia32/FxSave.c | MSFT \r
- Ia32/FlushCacheLine.c | MSFT \r
- Ia32/EnablePaging32.c | MSFT \r
- Ia32/EnableInterrupts.c | MSFT \r
- Ia32/EnableDisableInterrupts.c | MSFT \r
- Ia32/DivU64x64Remainder.nasm| MSFT\r
- Ia32/DivU64x64Remainder.asm | MSFT \r
- Ia32/DivU64x32Remainder.c | MSFT \r
- Ia32/DivU64x32.c | MSFT \r
- Ia32/DisablePaging32.c | MSFT \r
- Ia32/DisableInterrupts.c | MSFT \r
- Ia32/CpuPause.c | MSFT \r
- Ia32/CpuIdEx.c | MSFT \r
- Ia32/CpuId.c | MSFT \r
- Ia32/CpuBreakpoint.c | MSFT \r
- Ia32/ARShiftU64.c | MSFT \r
- Ia32/Thunk16.nasm | MSFT\r
- Ia32/Thunk16.asm | MSFT\r
- Ia32/EnablePaging64.nasm| MSFT\r
- Ia32/EnablePaging64.asm | MSFT\r
+ Ia32/WriteTr.nasm\r
+ Ia32/Lfence.nasm\r
+\r
+ Ia32/Wbinvd.c | MSFT\r
+ Ia32/WriteMm7.c | MSFT\r
+ Ia32/WriteMm6.c | MSFT\r
+ Ia32/WriteMm5.c | MSFT\r
+ Ia32/WriteMm4.c | MSFT\r
+ Ia32/WriteMm3.c | MSFT\r
+ Ia32/WriteMm2.c | MSFT\r
+ Ia32/WriteMm1.c | MSFT\r
+ Ia32/WriteMm0.c | MSFT\r
+ Ia32/WriteLdtr.c | MSFT\r
+ Ia32/WriteIdtr.c | MSFT\r
+ Ia32/WriteGdtr.c | MSFT\r
+ Ia32/WriteDr7.c | MSFT\r
+ Ia32/WriteDr6.c | MSFT\r
+ Ia32/WriteDr5.c | MSFT\r
+ Ia32/WriteDr4.c | MSFT\r
+ Ia32/WriteDr3.c | MSFT\r
+ Ia32/WriteDr2.c | MSFT\r
+ Ia32/WriteDr1.c | MSFT\r
+ Ia32/WriteDr0.c | MSFT\r
+ Ia32/WriteCr4.c | MSFT\r
+ Ia32/WriteCr3.c | MSFT\r
+ Ia32/WriteCr2.c | MSFT\r
+ Ia32/WriteCr0.c | MSFT\r
+ Ia32/WriteMsr64.c | MSFT\r
+ Ia32/SwapBytes64.c | MSFT\r
+ Ia32/RRotU64.c | MSFT\r
+ Ia32/RShiftU64.c | MSFT\r
+ Ia32/ReadPmc.c | MSFT\r
+ Ia32/ReadTsc.c | MSFT\r
+ Ia32/ReadLdtr.c | MSFT\r
+ Ia32/ReadIdtr.c | MSFT\r
+ Ia32/ReadGdtr.c | MSFT\r
+ Ia32/ReadTr.c | MSFT\r
+ Ia32/ReadSs.c | MSFT\r
+ Ia32/ReadGs.c | MSFT\r
+ Ia32/ReadFs.c | MSFT\r
+ Ia32/ReadEs.c | MSFT\r
+ Ia32/ReadDs.c | MSFT\r
+ Ia32/ReadCs.c | MSFT\r
+ Ia32/ReadMsr64.c | MSFT\r
+ Ia32/ReadMm7.c | MSFT\r
+ Ia32/ReadMm6.c | MSFT\r
+ Ia32/ReadMm5.c | MSFT\r
+ Ia32/ReadMm4.c | MSFT\r
+ Ia32/ReadMm3.c | MSFT\r
+ Ia32/ReadMm2.c | MSFT\r
+ Ia32/ReadMm1.c | MSFT\r
+ Ia32/ReadMm0.c | MSFT\r
+ Ia32/ReadEflags.c | MSFT\r
+ Ia32/ReadDr7.c | MSFT\r
+ Ia32/ReadDr6.c | MSFT\r
+ Ia32/ReadDr5.c | MSFT\r
+ Ia32/ReadDr4.c | MSFT\r
+ Ia32/ReadDr3.c | MSFT\r
+ Ia32/ReadDr2.c | MSFT\r
+ Ia32/ReadDr1.c | MSFT\r
+ Ia32/ReadDr0.c | MSFT\r
+ Ia32/ReadCr4.c | MSFT\r
+ Ia32/ReadCr3.c | MSFT\r
+ Ia32/ReadCr2.c | MSFT\r
+ Ia32/ReadCr0.c | MSFT\r
+ Ia32/Mwait.c | MSFT\r
+ Ia32/Monitor.c | MSFT\r
+ Ia32/ModU64x32.c | MSFT\r
+ Ia32/MultU64x64.c | MSFT\r
+ Ia32/MultU64x32.c | MSFT\r
+ Ia32/LShiftU64.c | MSFT\r
+ Ia32/LRotU64.c | MSFT\r
+ Ia32/Invd.c | MSFT\r
+ Ia32/FxRestore.c | MSFT\r
+ Ia32/FxSave.c | MSFT\r
+ Ia32/FlushCacheLine.c | MSFT\r
+ Ia32/EnablePaging32.c | MSFT\r
+ Ia32/EnableInterrupts.c | MSFT\r
+ Ia32/EnableDisableInterrupts.c | MSFT\r
+ Ia32/DivU64x32Remainder.c | MSFT\r
+ Ia32/DivU64x32.c | MSFT\r
+ Ia32/DisablePaging32.c | MSFT\r
+ Ia32/DisableInterrupts.c | MSFT\r
+ Ia32/CpuPause.c | MSFT\r
+ Ia32/CpuIdEx.c | MSFT\r
+ Ia32/CpuId.c | MSFT\r
+ Ia32/CpuBreakpoint.c | MSFT\r
+ Ia32/ARShiftU64.c | MSFT\r
Ia32/EnableCache.c | MSFT\r
Ia32/DisableCache.c | MSFT\r
- Ia32/RdRand.nasm| MSFT\r
- Ia32/RdRand.asm | MSFT\r
\r
- Ia32/Wbinvd.nasm| INTEL\r
- Ia32/Wbinvd.asm | INTEL \r
- Ia32/WriteMm7.nasm| INTEL\r
- Ia32/WriteMm7.asm | INTEL \r
- Ia32/WriteMm6.nasm| INTEL\r
- Ia32/WriteMm6.asm | INTEL \r
- Ia32/WriteMm5.nasm| INTEL\r
- Ia32/WriteMm5.asm | INTEL \r
- Ia32/WriteMm4.nasm| INTEL\r
- Ia32/WriteMm4.asm | INTEL \r
- Ia32/WriteMm3.nasm| INTEL\r
- Ia32/WriteMm3.asm | INTEL \r
- Ia32/WriteMm2.nasm| INTEL\r
- Ia32/WriteMm2.asm | INTEL \r
- Ia32/WriteMm1.nasm| INTEL\r
- Ia32/WriteMm1.asm | INTEL \r
- Ia32/WriteMm0.nasm| INTEL\r
- Ia32/WriteMm0.asm | INTEL \r
- Ia32/WriteLdtr.nasm| INTEL\r
- Ia32/WriteLdtr.asm | INTEL \r
- Ia32/WriteIdtr.nasm| INTEL\r
- Ia32/WriteIdtr.asm | INTEL \r
- Ia32/WriteGdtr.nasm| INTEL\r
- Ia32/WriteGdtr.asm | INTEL \r
- Ia32/WriteDr7.nasm| INTEL\r
- Ia32/WriteDr7.asm | INTEL \r
- Ia32/WriteDr6.nasm| INTEL\r
- Ia32/WriteDr6.asm | INTEL \r
- Ia32/WriteDr5.nasm| INTEL\r
- Ia32/WriteDr5.asm | INTEL \r
- Ia32/WriteDr4.nasm| INTEL\r
- Ia32/WriteDr4.asm | INTEL \r
- Ia32/WriteDr3.nasm| INTEL\r
- Ia32/WriteDr3.asm | INTEL \r
- Ia32/WriteDr2.nasm| INTEL\r
- Ia32/WriteDr2.asm | INTEL \r
- Ia32/WriteDr1.nasm| INTEL\r
- Ia32/WriteDr1.asm | INTEL \r
- Ia32/WriteDr0.nasm| INTEL\r
- Ia32/WriteDr0.asm | INTEL \r
- Ia32/WriteCr4.nasm| INTEL\r
- Ia32/WriteCr4.asm | INTEL \r
- Ia32/WriteCr3.nasm| INTEL\r
- Ia32/WriteCr3.asm | INTEL \r
- Ia32/WriteCr2.nasm| INTEL\r
- Ia32/WriteCr2.asm | INTEL \r
- Ia32/WriteCr0.nasm| INTEL\r
- Ia32/WriteCr0.asm | INTEL \r
- Ia32/WriteMsr64.nasm| INTEL\r
- Ia32/WriteMsr64.asm | INTEL \r
- Ia32/SwapBytes64.nasm| INTEL\r
- Ia32/SwapBytes64.asm | INTEL \r
- Ia32/SetJump.nasm| INTEL\r
- Ia32/SetJump.asm | INTEL \r
- Ia32/RRotU64.nasm| INTEL\r
- Ia32/RRotU64.asm | INTEL \r
- Ia32/RShiftU64.nasm| INTEL\r
- Ia32/RShiftU64.asm | INTEL \r
- Ia32/ReadPmc.nasm| INTEL\r
- Ia32/ReadPmc.asm | INTEL \r
- Ia32/ReadTsc.nasm| INTEL\r
- Ia32/ReadTsc.asm | INTEL \r
- Ia32/ReadLdtr.nasm| INTEL\r
- Ia32/ReadLdtr.asm | INTEL \r
- Ia32/ReadIdtr.nasm| INTEL\r
- Ia32/ReadIdtr.asm | INTEL \r
- Ia32/ReadGdtr.nasm| INTEL\r
- Ia32/ReadGdtr.asm | INTEL \r
- Ia32/ReadTr.nasm| INTEL\r
- Ia32/ReadTr.asm | INTEL \r
- Ia32/ReadSs.nasm| INTEL\r
- Ia32/ReadSs.asm | INTEL \r
- Ia32/ReadGs.nasm| INTEL\r
- Ia32/ReadGs.asm | INTEL \r
- Ia32/ReadFs.nasm| INTEL\r
- Ia32/ReadFs.asm | INTEL \r
- Ia32/ReadEs.nasm| INTEL\r
- Ia32/ReadEs.asm | INTEL \r
- Ia32/ReadDs.nasm| INTEL\r
- Ia32/ReadDs.asm | INTEL \r
- Ia32/ReadCs.nasm| INTEL\r
- Ia32/ReadCs.asm | INTEL \r
- Ia32/ReadMsr64.nasm| INTEL\r
- Ia32/ReadMsr64.asm | INTEL \r
- Ia32/ReadMm7.nasm| INTEL\r
- Ia32/ReadMm7.asm | INTEL \r
- Ia32/ReadMm6.nasm| INTEL\r
- Ia32/ReadMm6.asm | INTEL \r
- Ia32/ReadMm5.nasm| INTEL\r
- Ia32/ReadMm5.asm | INTEL \r
- Ia32/ReadMm4.nasm| INTEL\r
- Ia32/ReadMm4.asm | INTEL \r
- Ia32/ReadMm3.nasm| INTEL\r
- Ia32/ReadMm3.asm | INTEL \r
- Ia32/ReadMm2.nasm| INTEL\r
- Ia32/ReadMm2.asm | INTEL \r
- Ia32/ReadMm1.nasm| INTEL\r
- Ia32/ReadMm1.asm | INTEL \r
- Ia32/ReadMm0.nasm| INTEL\r
- Ia32/ReadMm0.asm | INTEL \r
- Ia32/ReadEflags.nasm| INTEL\r
- Ia32/ReadEflags.asm | INTEL \r
- Ia32/ReadDr7.nasm| INTEL\r
- Ia32/ReadDr7.asm | INTEL \r
- Ia32/ReadDr6.nasm| INTEL\r
- Ia32/ReadDr6.asm | INTEL \r
- Ia32/ReadDr5.nasm| INTEL\r
- Ia32/ReadDr5.asm | INTEL \r
- Ia32/ReadDr4.nasm| INTEL\r
- Ia32/ReadDr4.asm | INTEL \r
- Ia32/ReadDr3.nasm| INTEL\r
- Ia32/ReadDr3.asm | INTEL \r
- Ia32/ReadDr2.nasm| INTEL\r
- Ia32/ReadDr2.asm | INTEL \r
- Ia32/ReadDr1.nasm| INTEL\r
- Ia32/ReadDr1.asm | INTEL \r
- Ia32/ReadDr0.nasm| INTEL\r
- Ia32/ReadDr0.asm | INTEL \r
- Ia32/ReadCr4.nasm| INTEL\r
- Ia32/ReadCr4.asm | INTEL \r
- Ia32/ReadCr3.nasm| INTEL\r
- Ia32/ReadCr3.asm | INTEL \r
- Ia32/ReadCr2.nasm| INTEL\r
- Ia32/ReadCr2.asm | INTEL \r
- Ia32/ReadCr0.nasm| INTEL\r
- Ia32/ReadCr0.asm | INTEL \r
- Ia32/Mwait.nasm| INTEL\r
- Ia32/Mwait.asm | INTEL \r
- Ia32/Monitor.nasm| INTEL\r
- Ia32/Monitor.asm | INTEL \r
- Ia32/ModU64x32.nasm| INTEL\r
- Ia32/ModU64x32.asm | INTEL \r
- Ia32/MultU64x64.nasm| INTEL\r
- Ia32/MultU64x64.asm | INTEL \r
- Ia32/MultU64x32.nasm| INTEL\r
- Ia32/MultU64x32.asm | INTEL \r
- Ia32/LShiftU64.nasm| INTEL\r
- Ia32/LShiftU64.asm | INTEL \r
- Ia32/LRotU64.nasm| INTEL\r
- Ia32/LRotU64.asm | INTEL \r
- Ia32/LongJump.nasm| INTEL\r
- Ia32/LongJump.asm | INTEL \r
- Ia32/Invd.nasm| INTEL\r
- Ia32/Invd.asm | INTEL \r
- Ia32/FxRestore.nasm| INTEL\r
- Ia32/FxRestore.asm | INTEL \r
- Ia32/FxSave.nasm| INTEL\r
- Ia32/FxSave.asm | INTEL \r
- Ia32/FlushCacheLine.nasm| INTEL\r
- Ia32/FlushCacheLine.asm | INTEL \r
- Ia32/EnablePaging32.nasm| INTEL\r
- Ia32/EnablePaging32.asm | INTEL \r
- Ia32/EnableInterrupts.nasm| INTEL\r
- Ia32/EnableInterrupts.asm | INTEL \r
- Ia32/EnableDisableInterrupts.nasm| INTEL\r
- Ia32/EnableDisableInterrupts.asm | INTEL \r
- Ia32/DivU64x64Remainder.nasm| INTEL\r
- Ia32/DivU64x64Remainder.asm | INTEL \r
- Ia32/DivU64x32Remainder.nasm| INTEL\r
- Ia32/DivU64x32Remainder.asm | INTEL \r
- Ia32/DivU64x32.nasm| INTEL\r
- Ia32/DivU64x32.asm | INTEL \r
- Ia32/DisablePaging32.asm | INTEL \r
- Ia32/DisableInterrupts.nasm| INTEL\r
- Ia32/DisableInterrupts.asm | INTEL \r
- Ia32/CpuPause.nasm| INTEL\r
- Ia32/CpuPause.asm | INTEL \r
- Ia32/CpuIdEx.nasm| INTEL\r
- Ia32/CpuIdEx.asm | INTEL \r
- Ia32/CpuId.nasm| INTEL\r
- Ia32/CpuId.asm | INTEL \r
- Ia32/CpuBreakpoint.nasm| INTEL\r
- Ia32/CpuBreakpoint.asm | INTEL \r
- Ia32/ARShiftU64.nasm| INTEL\r
- Ia32/ARShiftU64.asm | INTEL \r
- Ia32/Thunk16.nasm | INTEL\r
- Ia32/Thunk16.asm | INTEL\r
- Ia32/EnablePaging64.nasm| INTEL\r
- Ia32/EnablePaging64.asm | INTEL\r
- Ia32/EnableCache.nasm| INTEL\r
- Ia32/EnableCache.asm | INTEL\r
- Ia32/DisableCache.nasm| INTEL\r
- Ia32/DisableCache.asm | INTEL\r
- Ia32/RdRand.nasm| INTEL\r
- Ia32/RdRand.asm | INTEL\r
\r
Ia32/GccInline.c | GCC\r
- Ia32/Thunk16.nasm | GCC \r
- Ia32/Thunk16.S | XCODE \r
+ Ia32/GccInlinePriv.c | GCC\r
+ Ia32/Thunk16.nasm\r
Ia32/EnableDisableInterrupts.nasm| GCC\r
- Ia32/EnableDisableInterrupts.S | GCC \r
- Ia32/EnablePaging64.nasm| GCC\r
- Ia32/EnablePaging64.S | GCC \r
- Ia32/DisablePaging32.S | GCC \r
+ Ia32/EnablePaging64.nasm\r
+ Ia32/DisablePaging32.nasm| GCC\r
Ia32/EnablePaging32.nasm| GCC\r
- Ia32/EnablePaging32.S | GCC \r
Ia32/Mwait.nasm| GCC\r
- Ia32/Mwait.S | GCC \r
Ia32/Monitor.nasm| GCC\r
- Ia32/Monitor.S | GCC \r
Ia32/CpuIdEx.nasm| GCC\r
- Ia32/CpuIdEx.S | GCC \r
Ia32/CpuId.nasm| GCC\r
- Ia32/CpuId.S | GCC \r
- Ia32/LongJump.nasm| GCC\r
- Ia32/LongJump.S | GCC \r
- Ia32/SetJump.nasm| GCC\r
- Ia32/SetJump.S | GCC \r
+ Ia32/LongJump.nasm\r
+ Ia32/SetJump.nasm\r
Ia32/SwapBytes64.nasm| GCC\r
- Ia32/SwapBytes64.S | GCC \r
- Ia32/DivU64x64Remainder.nasm| GCC\r
- Ia32/DivU64x64Remainder.S | GCC \r
+ Ia32/DivU64x64Remainder.nasm\r
Ia32/DivU64x32Remainder.nasm| GCC\r
- Ia32/DivU64x32Remainder.S | GCC \r
Ia32/ModU64x32.nasm| GCC\r
- Ia32/ModU64x32.S | GCC \r
Ia32/DivU64x32.nasm| GCC\r
- Ia32/DivU64x32.S | GCC \r
Ia32/MultU64x64.nasm| GCC\r
- Ia32/MultU64x64.S | GCC \r
Ia32/MultU64x32.nasm| GCC\r
- Ia32/MultU64x32.S | GCC \r
Ia32/RRotU64.nasm| GCC\r
- Ia32/RRotU64.S | GCC \r
Ia32/LRotU64.nasm| GCC\r
- Ia32/LRotU64.S | GCC \r
Ia32/ARShiftU64.nasm| GCC\r
- Ia32/ARShiftU64.S | GCC \r
Ia32/RShiftU64.nasm| GCC\r
- Ia32/RShiftU64.S | GCC \r
Ia32/LShiftU64.nasm| GCC\r
- Ia32/LShiftU64.S | GCC \r
Ia32/EnableCache.nasm| GCC\r
- Ia32/EnableCache.S | GCC\r
Ia32/DisableCache.nasm| GCC\r
- Ia32/DisableCache.S | GCC\r
- Ia32/RdRand.nasm| GCC\r
- Ia32/RdRand.S | GCC\r
+ Ia32/RdRand.nasm\r
+ Ia32/XGetBv.nasm\r
+ Ia32/XSetBv.nasm\r
+ Ia32/VmgExit.nasm\r
\r
Ia32/DivS64x64Remainder.c\r
Ia32/InternalSwitchStack.c | MSFT\r
- Ia32/InternalSwitchStack.c | INTEL\r
- Ia32/InternalSwitchStack.S | GCC\r
+ Ia32/InternalSwitchStack.nasm | GCC\r
Ia32/Non-existing.c\r
Unaligned.c\r
X86WriteIdtr.c\r
X86ReadGdtr.c\r
X86Msr.c\r
X86MemoryFence.c | MSFT\r
- X86MemoryFence.c | INTEL\r
X86GetInterruptState.c\r
X86FxSave.c\r
X86FxRestore.c\r
X86EnablePaging32.c\r
X86DisablePaging64.c\r
X86DisablePaging32.c\r
+ X86RdRand.c\r
+ X86PatchInstruction.c\r
+ X86SpeculationBarrier.c\r
\r
[Sources.X64]\r
X64/Thunk16.nasm\r
- X64/Thunk16.asm\r
X64/CpuIdEx.nasm\r
- X64/CpuIdEx.asm\r
X64/CpuId.nasm\r
- X64/CpuId.asm\r
X64/LongJump.nasm\r
- X64/LongJump.asm\r
X64/SetJump.nasm\r
- X64/SetJump.asm\r
X64/SwitchStack.nasm\r
- X64/SwitchStack.asm\r
X64/EnableCache.nasm\r
- X64/EnableCache.asm\r
X64/DisableCache.nasm\r
- X64/DisableCache.asm\r
+ X64/WriteTr.nasm\r
+ X64/Lfence.nasm\r
\r
- X64/CpuBreakpoint.c | MSFT \r
- X64/WriteMsr64.c | MSFT \r
- X64/ReadMsr64.c | MSFT \r
- X64/RdRand.nasm| MSFT\r
- X64/RdRand.asm | MSFT\r
+ X64/CpuBreakpoint.c | MSFT\r
+ X64/WriteMsr64.c | MSFT\r
+ X64/ReadMsr64.c | MSFT\r
X64/CpuPause.nasm| MSFT\r
- X64/CpuPause.asm | MSFT\r
- X64/EnableDisableInterrupts.nasm| MSFT\r
- X64/EnableDisableInterrupts.asm | MSFT\r
X64/DisableInterrupts.nasm| MSFT\r
- X64/DisableInterrupts.asm | MSFT\r
X64/EnableInterrupts.nasm| MSFT\r
- X64/EnableInterrupts.asm | MSFT\r
X64/FlushCacheLine.nasm| MSFT\r
- X64/FlushCacheLine.asm | MSFT\r
X64/Invd.nasm| MSFT\r
- X64/Invd.asm | MSFT\r
X64/Wbinvd.nasm| MSFT\r
- X64/Wbinvd.asm | MSFT\r
- X64/DisablePaging64.nasm| MSFT\r
- X64/DisablePaging64.asm | MSFT\r
X64/Mwait.nasm| MSFT\r
- X64/Mwait.asm | MSFT\r
X64/Monitor.nasm| MSFT\r
- X64/Monitor.asm | MSFT\r
X64/ReadPmc.nasm| MSFT\r
- X64/ReadPmc.asm | MSFT\r
X64/ReadTsc.nasm| MSFT\r
- X64/ReadTsc.asm | MSFT\r
X64/WriteMm7.nasm| MSFT\r
- X64/WriteMm7.asm | MSFT\r
X64/WriteMm6.nasm| MSFT\r
- X64/WriteMm6.asm | MSFT\r
X64/WriteMm5.nasm| MSFT\r
- X64/WriteMm5.asm | MSFT\r
X64/WriteMm4.nasm| MSFT\r
- X64/WriteMm4.asm | MSFT\r
X64/WriteMm3.nasm| MSFT\r
- X64/WriteMm3.asm | MSFT\r
X64/WriteMm2.nasm| MSFT\r
- X64/WriteMm2.asm | MSFT\r
X64/WriteMm1.nasm| MSFT\r
- X64/WriteMm1.asm | MSFT\r
X64/WriteMm0.nasm| MSFT\r
- X64/WriteMm0.asm | MSFT\r
X64/ReadMm7.nasm| MSFT\r
- X64/ReadMm7.asm | MSFT\r
X64/ReadMm6.nasm| MSFT\r
- X64/ReadMm6.asm | MSFT\r
X64/ReadMm5.nasm| MSFT\r
- X64/ReadMm5.asm | MSFT\r
X64/ReadMm4.nasm| MSFT\r
- X64/ReadMm4.asm | MSFT\r
X64/ReadMm3.nasm| MSFT\r
- X64/ReadMm3.asm | MSFT\r
X64/ReadMm2.nasm| MSFT\r
- X64/ReadMm2.asm | MSFT\r
X64/ReadMm1.nasm| MSFT\r
- X64/ReadMm1.asm | MSFT\r
X64/ReadMm0.nasm| MSFT\r
- X64/ReadMm0.asm | MSFT\r
X64/FxRestore.nasm| MSFT\r
- X64/FxRestore.asm | MSFT\r
X64/FxSave.nasm| MSFT\r
- X64/FxSave.asm | MSFT\r
X64/WriteLdtr.nasm| MSFT\r
- X64/WriteLdtr.asm | MSFT\r
X64/ReadLdtr.nasm| MSFT\r
- X64/ReadLdtr.asm | MSFT\r
X64/WriteIdtr.nasm| MSFT\r
- X64/WriteIdtr.asm | MSFT\r
X64/ReadIdtr.nasm| MSFT\r
- X64/ReadIdtr.asm | MSFT\r
X64/WriteGdtr.nasm| MSFT\r
- X64/WriteGdtr.asm | MSFT\r
X64/ReadGdtr.nasm| MSFT\r
- X64/ReadGdtr.asm | MSFT\r
X64/ReadTr.nasm| MSFT\r
- X64/ReadTr.asm | MSFT\r
X64/ReadSs.nasm| MSFT\r
- X64/ReadSs.asm | MSFT\r
X64/ReadGs.nasm| MSFT\r
- X64/ReadGs.asm | MSFT\r
X64/ReadFs.nasm| MSFT\r
- X64/ReadFs.asm | MSFT\r
X64/ReadEs.nasm| MSFT\r
- X64/ReadEs.asm | MSFT\r
X64/ReadDs.nasm| MSFT\r
- X64/ReadDs.asm | MSFT\r
- X64/ReadCs.asm | MSFT\r
- X64/WriteDr7.asm | MSFT\r
- X64/WriteDr6.asm | MSFT\r
- X64/WriteDr5.asm | MSFT\r
- X64/WriteDr4.asm | MSFT\r
- X64/WriteDr3.asm | MSFT\r
- X64/WriteDr2.asm | MSFT\r
- X64/WriteDr1.asm | MSFT\r
- X64/WriteDr0.asm | MSFT\r
- X64/ReadDr7.asm | MSFT\r
- X64/ReadDr6.asm | MSFT\r
- X64/ReadDr5.asm | MSFT\r
- X64/ReadDr4.asm | MSFT\r
- X64/ReadDr3.asm | MSFT\r
- X64/ReadDr2.asm | MSFT\r
- X64/ReadDr1.asm | MSFT\r
- X64/ReadDr0.asm | MSFT\r
- X64/WriteCr4.asm | MSFT\r
- X64/WriteCr3.asm | MSFT\r
- X64/WriteCr2.asm | MSFT\r
- X64/WriteCr0.asm | MSFT\r
- X64/ReadCr4.asm | MSFT\r
- X64/ReadCr3.asm | MSFT\r
- X64/ReadCr2.asm | MSFT\r
- X64/ReadCr0.asm | MSFT\r
- X64/ReadEflags.asm | MSFT\r
+ X64/ReadCs.nasm| MSFT\r
+ X64/WriteDr7.nasm| MSFT\r
+ X64/WriteDr6.nasm| MSFT\r
+ X64/WriteDr5.nasm| MSFT\r
+ X64/WriteDr4.nasm| MSFT\r
+ X64/WriteDr3.nasm| MSFT\r
+ X64/WriteDr2.nasm| MSFT\r
+ X64/WriteDr1.nasm| MSFT\r
+ X64/WriteDr0.nasm| MSFT\r
+ X64/ReadDr7.nasm| MSFT\r
+ X64/ReadDr6.nasm| MSFT\r
+ X64/ReadDr5.nasm| MSFT\r
+ X64/ReadDr4.nasm| MSFT\r
+ X64/ReadDr3.nasm| MSFT\r
+ X64/ReadDr2.nasm| MSFT\r
+ X64/ReadDr1.nasm| MSFT\r
+ X64/ReadDr0.nasm| MSFT\r
+ X64/WriteCr4.nasm| MSFT\r
+ X64/WriteCr3.nasm| MSFT\r
+ X64/WriteCr2.nasm| MSFT\r
+ X64/WriteCr0.nasm| MSFT\r
+ X64/ReadCr4.nasm| MSFT\r
+ X64/ReadCr3.nasm| MSFT\r
+ X64/ReadCr2.nasm| MSFT\r
+ X64/ReadCr0.nasm| MSFT\r
+ X64/ReadEflags.nasm| MSFT\r
\r
- X64/CpuBreakpoint.asm | INTEL \r
- X64/WriteMsr64.asm | INTEL \r
- X64/ReadMsr64.asm | INTEL \r
- X64/RdRand.nasm| INTEL\r
- X64/RdRand.asm | INTEL\r
- X64/CpuPause.nasm| INTEL\r
- X64/CpuPause.asm | INTEL\r
- X64/EnableDisableInterrupts.nasm| INTEL\r
- X64/EnableDisableInterrupts.asm | INTEL\r
- X64/DisableInterrupts.nasm| INTEL\r
- X64/DisableInterrupts.asm | INTEL\r
- X64/EnableInterrupts.nasm| INTEL\r
- X64/EnableInterrupts.asm | INTEL\r
- X64/FlushCacheLine.nasm| INTEL\r
- X64/FlushCacheLine.asm | INTEL\r
- X64/Invd.nasm| INTEL\r
- X64/Invd.asm | INTEL\r
- X64/Wbinvd.nasm| INTEL\r
- X64/Wbinvd.asm | INTEL\r
- X64/DisablePaging64.nasm| INTEL\r
- X64/DisablePaging64.asm | INTEL\r
- X64/Mwait.nasm| INTEL\r
- X64/Mwait.asm | INTEL\r
- X64/Monitor.nasm| INTEL\r
- X64/Monitor.asm | INTEL\r
- X64/ReadPmc.nasm| INTEL\r
- X64/ReadPmc.asm | INTEL\r
- X64/ReadTsc.nasm| INTEL\r
- X64/ReadTsc.asm | INTEL\r
- X64/WriteMm7.nasm| INTEL\r
- X64/WriteMm7.asm | INTEL\r
- X64/WriteMm6.nasm| INTEL\r
- X64/WriteMm6.asm | INTEL\r
- X64/WriteMm5.nasm| INTEL\r
- X64/WriteMm5.asm | INTEL\r
- X64/WriteMm4.nasm| INTEL\r
- X64/WriteMm4.asm | INTEL\r
- X64/WriteMm3.nasm| INTEL\r
- X64/WriteMm3.asm | INTEL\r
- X64/WriteMm2.nasm| INTEL\r
- X64/WriteMm2.asm | INTEL\r
- X64/WriteMm1.nasm| INTEL\r
- X64/WriteMm1.asm | INTEL\r
- X64/WriteMm0.nasm| INTEL\r
- X64/WriteMm0.asm | INTEL\r
- X64/ReadMm7.nasm| INTEL\r
- X64/ReadMm7.asm | INTEL\r
- X64/ReadMm6.nasm| INTEL\r
- X64/ReadMm6.asm | INTEL\r
- X64/ReadMm5.nasm| INTEL\r
- X64/ReadMm5.asm | INTEL\r
- X64/ReadMm4.nasm| INTEL\r
- X64/ReadMm4.asm | INTEL\r
- X64/ReadMm3.nasm| INTEL\r
- X64/ReadMm3.asm | INTEL\r
- X64/ReadMm2.nasm| INTEL\r
- X64/ReadMm2.asm | INTEL\r
- X64/ReadMm1.nasm| INTEL\r
- X64/ReadMm1.asm | INTEL\r
- X64/ReadMm0.nasm| INTEL\r
- X64/ReadMm0.asm | INTEL\r
- X64/FxRestore.nasm| INTEL\r
- X64/FxRestore.asm | INTEL\r
- X64/FxSave.nasm| INTEL\r
- X64/FxSave.asm | INTEL\r
- X64/WriteLdtr.nasm| INTEL\r
- X64/WriteLdtr.asm | INTEL\r
- X64/ReadLdtr.nasm| INTEL\r
- X64/ReadLdtr.asm | INTEL\r
- X64/WriteIdtr.nasm| INTEL\r
- X64/WriteIdtr.asm | INTEL\r
- X64/ReadIdtr.nasm| INTEL\r
- X64/ReadIdtr.asm | INTEL\r
- X64/WriteGdtr.nasm| INTEL\r
- X64/WriteGdtr.asm | INTEL\r
- X64/ReadGdtr.nasm| INTEL\r
- X64/ReadGdtr.asm | INTEL\r
- X64/ReadTr.nasm| INTEL\r
- X64/ReadTr.asm | INTEL\r
- X64/ReadSs.nasm| INTEL\r
- X64/ReadSs.asm | INTEL\r
- X64/ReadGs.nasm| INTEL\r
- X64/ReadGs.asm | INTEL\r
- X64/ReadFs.nasm| INTEL\r
- X64/ReadFs.asm | INTEL\r
- X64/ReadEs.nasm| INTEL\r
- X64/ReadEs.asm | INTEL\r
- X64/ReadDs.nasm| INTEL\r
- X64/ReadDs.asm | INTEL\r
- X64/ReadCs.asm | INTEL\r
- X64/WriteDr7.asm | INTEL\r
- X64/WriteDr6.asm | INTEL\r
- X64/WriteDr5.asm | INTEL\r
- X64/WriteDr4.asm | INTEL\r
- X64/WriteDr3.asm | INTEL\r
- X64/WriteDr2.asm | INTEL\r
- X64/WriteDr1.asm | INTEL\r
- X64/WriteDr0.asm | INTEL\r
- X64/ReadDr7.asm | INTEL\r
- X64/ReadDr6.asm | INTEL\r
- X64/ReadDr5.asm | INTEL\r
- X64/ReadDr4.asm | INTEL\r
- X64/ReadDr3.asm | INTEL\r
- X64/ReadDr2.asm | INTEL\r
- X64/ReadDr1.asm | INTEL\r
- X64/ReadDr0.asm | INTEL\r
- X64/WriteCr4.asm | INTEL\r
- X64/WriteCr3.asm | INTEL\r
- X64/WriteCr2.asm | INTEL\r
- X64/WriteCr0.asm | INTEL\r
- X64/ReadCr4.asm | INTEL\r
- X64/ReadCr3.asm | INTEL\r
- X64/ReadCr2.asm | INTEL\r
- X64/ReadCr0.asm | INTEL\r
- X64/ReadEflags.asm | INTEL\r
\r
X64/Non-existing.c\r
Math64.c\r
X86ReadGdtr.c\r
X86Msr.c\r
X86MemoryFence.c | MSFT\r
- X86MemoryFence.c | INTEL\r
X86GetInterruptState.c\r
X86FxSave.c\r
X86FxRestore.c\r
X86EnablePaging32.c\r
X86DisablePaging64.c\r
X86DisablePaging32.c\r
+ X86RdRand.c\r
+ X86PatchInstruction.c\r
+ X86SpeculationBarrier.c\r
X64/GccInline.c | GCC\r
- X64/Thunk16.S | XCODE \r
- X64/SwitchStack.nasm| GCC\r
- X64/SwitchStack.S | GCC \r
- X64/SetJump.nasm| GCC\r
- X64/SetJump.S | GCC \r
- X64/LongJump.nasm| GCC\r
- X64/LongJump.S | GCC \r
- X64/EnableDisableInterrupts.nasm| GCC\r
- X64/EnableDisableInterrupts.S | GCC \r
- X64/DisablePaging64.nasm| GCC\r
- X64/DisablePaging64.S | GCC \r
- X64/CpuId.nasm| GCC\r
- X64/CpuId.S | GCC \r
- X64/CpuIdEx.nasm| GCC\r
- X64/CpuIdEx.S | GCC \r
- X64/EnableCache.nasm| GCC\r
- X64/EnableCache.S | GCC\r
- X64/DisableCache.nasm| GCC\r
- X64/DisableCache.S | GCC\r
- X64/RdRand.nasm| GCC\r
- X64/RdRand.S | GCC\r
- ChkStkGcc.c | GCC \r
-\r
-[Sources.IPF]\r
- Ipf/AccessGp.s\r
- Ipf/ReadCpuid.s\r
- Ipf/ExecFc.s\r
- Ipf/AsmPalCall.s\r
- Ipf/AccessPsr.s\r
- Ipf/AccessPmr.s\r
- Ipf/AccessKr.s\r
- Ipf/AccessKr7.s\r
- Ipf/AccessGcr.s\r
- Ipf/AccessEicr.s\r
- Ipf/AccessDbr.s\r
- Ipf/AccessMsr.s | INTEL\r
- Ipf/AccessMsr.s | GCC\r
- Ipf/AccessMsrDb.s | MSFT\r
- Ipf/InternalFlushCacheRange.s\r
- Ipf/FlushCacheRange.c\r
- Ipf/InternalSwitchStack.c\r
- Ipf/GetInterruptState.s\r
- Ipf/CpuPause.s\r
- Ipf/CpuBreakpoint.c | INTEL\r
- Ipf/CpuBreakpointMsc.c | MSFT\r
- Ipf/AsmCpuMisc.s | GCC\r
- Ipf/Unaligned.c\r
- Ipf/SwitchStack.s\r
- Ipf/LongJmp.s\r
- Ipf/SetJmp.s\r
- Ipf/ReadCr.s\r
- Ipf/ReadAr.s\r
- Ipf/Ia64gen.h\r
- Ipf/Asm.h\r
- Math64.c\r
+ X64/GccInlinePriv.c | GCC\r
+ X64/EnableDisableInterrupts.nasm\r
+ X64/DisablePaging64.nasm\r
+ X64/Pvalidate.nasm\r
+ X64/RdRand.nasm\r
+ X64/RmpAdjust.nasm\r
+ X64/XGetBv.nasm\r
+ X64/XSetBv.nasm\r
+ X64/VmgExit.nasm\r
+ ChkStkGcc.c | GCC\r
\r
[Sources.EBC]\r
Ebc/CpuBreakpoint.c\r
Ebc/SetJumpLongJump.c\r
Ebc/SwitchStack.c\r
+ Ebc/SpeculationBarrier.c\r
Unaligned.c\r
Math64.c\r
\r
[Sources.ARM]\r
Arm/InternalSwitchStack.c\r
Arm/Unaligned.c\r
- Math64.c | RVCT \r
- \r
+ Math64.c | RVCT\r
+ Math64.c | MSFT\r
+\r
Arm/SwitchStack.asm | RVCT\r
Arm/SetJumpLongJump.asm | RVCT\r
Arm/DisableInterrupts.asm | RVCT\r
Arm/CpuPause.asm | RVCT\r
Arm/CpuBreakpoint.asm | RVCT\r
Arm/MemoryFence.asm | RVCT\r
- \r
+ Arm/SpeculationBarrier.S | RVCT\r
+\r
+ Arm/SwitchStack.asm | MSFT\r
+ Arm/SetJumpLongJump.asm | MSFT\r
+ Arm/DisableInterrupts.asm | MSFT\r
+ Arm/EnableInterrupts.asm | MSFT\r
+ Arm/GetInterruptsState.asm | MSFT\r
+ Arm/CpuPause.asm | MSFT\r
+ Arm/CpuBreakpoint.asm | MSFT\r
+ Arm/MemoryFence.asm | MSFT\r
+ Arm/SpeculationBarrier.asm | MSFT\r
+\r
Arm/Math64.S | GCC\r
Arm/SwitchStack.S | GCC\r
Arm/EnableInterrupts.S | GCC\r
Arm/SetJumpLongJump.S | GCC\r
Arm/CpuBreakpoint.S | GCC\r
Arm/MemoryFence.S | GCC\r
+ Arm/SpeculationBarrier.S | GCC\r
\r
[Sources.AARCH64]\r
Arm/InternalSwitchStack.c\r
AArch64/GetInterruptsState.S | GCC\r
AArch64/SetJumpLongJump.S | GCC\r
AArch64/CpuBreakpoint.S | GCC\r
+ AArch64/SpeculationBarrier.S | GCC\r
+\r
+ AArch64/MemoryFence.asm | MSFT\r
+ AArch64/SwitchStack.asm | MSFT\r
+ AArch64/EnableInterrupts.asm | MSFT\r
+ AArch64/DisableInterrupts.asm | MSFT\r
+ AArch64/GetInterruptsState.asm | MSFT\r
+ AArch64/SetJumpLongJump.asm | MSFT\r
+ AArch64/CpuBreakpoint.asm | MSFT\r
+ AArch64/SpeculationBarrier.asm | MSFT\r
+\r
+[Sources.RISCV64]\r
+ Math64.c\r
+ Unaligned.c\r
+ RiscV64/InternalSwitchStack.c\r
+ RiscV64/CpuBreakpoint.c\r
+ RiscV64/GetInterruptState.c\r
+ RiscV64/DisableInterrupts.c\r
+ RiscV64/EnableInterrupts.c\r
+ RiscV64/CpuPause.c\r
+ RiscV64/MemoryFence.S | GCC\r
+ RiscV64/RiscVSetJumpLongJump.S | GCC\r
+ RiscV64/RiscVCpuBreakpoint.S | GCC\r
+ RiscV64/RiscVCpuPause.S | GCC\r
+ RiscV64/RiscVInterrupt.S | GCC\r
+ RiscV64/FlushCache.S | GCC\r
\r
[Packages]\r
MdePkg/MdePkg.dec\r
DebugLib\r
BaseMemoryLib\r
\r
+[LibraryClasses.X64, LibraryClasses.IA32]\r
+ RegisterFilterLib\r
+\r
[Pcd]\r
gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength ## SOMETIMES_CONSUMES\r
gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength ## SOMETIMES_CONSUMES\r
gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength ## SOMETIMES_CONSUMES\r
- gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask ## SOMETIMES_CONSUMES\r
+ gEfiMdePkgTokenSpaceGuid.PcdControlFlowEnforcementPropertyMask ## SOMETIMES_CONSUMES\r
+ gEfiMdePkgTokenSpaceGuid.PcdSpeculationBarrierType ## SOMETIMES_CONSUMES\r
\r
[FeaturePcd]\r
gEfiMdePkgTokenSpaceGuid.PcdVerifyNodeInList ## CONSUMES\r