edk2/MdePkg/Library
RARelph b98ccecdec MdePkg: Add code to detect running as an SEV guest
Similar to Intel's Tdx, we need a mechanism to detect running as
an AMD SEV guest that will work in all phases everywhere. This
will be immediately used to prevent usage of MTRRs with SEV guests.

Signed-off-by: Richard Relph <richard.relph@amd.com>
2025-11-04 06:51:50 +00:00
..
ArmFfaMemMgmtLib MdePkg: ArmFfaMemMgmtLib: Introduce FF-A memory protocol library 2025-06-26 17:38:28 +00:00
ArmSmcLib MdePkg: Remove ARM32 Support from ArmS*cLib 2025-09-25 22:04:10 +00:00
ArmSmcLibNull ArmPkg: ArmSmcLibNull: Move ArmSmcLibNull to MdePkg 2025-04-10 17:52:48 +00:00
ArmSvcLib MdePkg: Remove ARM32 Support from ArmS*cLib 2025-09-25 22:04:10 +00:00
BaseArmTrngLibNull MdePkg: Remove ARM32 Support 2025-09-25 22:04:10 +00:00
BaseCacheMaintenanceLib MdePkg: Remove ARM32 Support 2025-09-25 22:04:10 +00:00
BaseCacheMaintenanceLibNull MdePkg: Remove ARM32 Support 2025-09-25 22:04:10 +00:00
BaseCpuLib MdePkg: Remove ARM32 Support from BaseCpuLib 2025-09-25 22:04:10 +00:00
BaseCpuLibNull MdePkg: Remove ARM32 Support 2025-09-25 22:04:10 +00:00
BaseDebugLibNull MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
BaseDebugLibSerialPort MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
BaseDebugPrintErrorLevelLib MdePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:13 -07:00
BaseExtractGuidedSectionLib MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
BaseFdtLib MdePkg/BaseFdtLib: Add FdtGetPhandle wrapper 2025-10-13 10:45:45 +00:00
BaseIoLibIntrinsic MdePkg: Remove ARM32 Support from BaseIoIntrinsicLib 2025-09-25 22:04:10 +00:00
BaseLib MdePkg: Add code to detect running as an SEV guest 2025-11-04 06:51:50 +00:00
BaseMemoryLib MdePkg: Remove ARM32 Support 2025-09-25 22:04:10 +00:00
BaseMemoryLibMmx Refactor SetMemWrapper to reduce binary size 2024-09-11 21:50:20 +00:00
BaseMemoryLibOptDxe MdePkg: Remove ARM32 Support from BaseMemoryLibOptDxe 2025-09-25 22:04:10 +00:00
BaseMemoryLibOptPei Refactor SetMemWrapper to reduce binary size 2024-09-11 21:50:20 +00:00
BaseMemoryLibRepStr Refactor SetMemWrapper to reduce binary size 2024-09-11 21:50:20 +00:00
BaseMemoryLibSse2 Refactor SetMemWrapper to reduce binary size 2024-09-11 21:50:20 +00:00
BaseOrderedCollectionRedBlackTreeLib MdePkg: Update code to be more C11 compliant by using __func__ 2023-03-17 17:55:48 +00:00
BasePcdLibNull MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
BasePciCf8Lib MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
BasePciExpressLib MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
BasePciLibCf8 MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
BasePciLibPciExpress MdePkg: Remove ARM32 Support 2025-09-25 22:04:10 +00:00
BasePciSegmentInfoLibNull MdePkg/PciSegmentInfoLib: Add missing EFIAPI to GetPciSegmentInfo() 2020-06-24 05:46:27 +00:00
BasePciSegmentLibPci MdePkg: Add comment describing address parameter in PciSegmentLib 2025-05-26 09:06:15 +08:00
BasePeCoffExtraActionLibNull MdePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:13 -07:00
BasePeCoffGetEntryPointLib MdePkg: Remove ARM32 Support from PE/COFF Libs 2025-09-25 22:04:10 +00:00
BasePeCoffLib MdePkg: Remove ARM32 Support from PE/COFF Libs 2025-09-25 22:04:10 +00:00
BasePerformanceLibNull MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
BasePostCodeLibDebug MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
BasePostCodeLibPort80 MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
BasePrintLib MdePkg: Add new status codes to PrintLib 2023-08-07 22:56:02 +00:00
BaseReportStatusCodeLibNull MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
BaseRiscVSbiLib MdePkg: RISC-V: Remove firmware context APIs 2025-07-15 05:45:15 +00:00
BaseRngLib MdePkg/Library/BaseRngLib/Riscv: use CPU RNG instructions only 2025-09-02 08:28:30 +00:00
BaseRngLibNull MdePkg: Remove ARM32 Support 2025-09-25 22:04:10 +00:00
BaseRngLibTimerLib MdePkg/Rng: Add GetRngGuid() to RngLib 2023-09-08 09:48:55 +00:00
BaseS3BootScriptLibNull MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
BaseS3IoLib MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
BaseS3PciLib MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
BaseS3PciSegmentLib MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
BaseS3SmbusLib MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
BaseS3StallLib MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
BaseSafeIntLib MdePkg: Remove ARM32 Support 2025-09-25 22:04:10 +00:00
BaseSerialPortLibNull MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
BaseSerialPortLibRiscVSbiLib MdePkg: add SBI-based SerialPortLib for RISC-V 2023-05-17 23:47:20 +00:00
BaseSmbusLibNull MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
BaseSynchronizationLib MdePkg: Remove ARM32 Support from BaseSynchronizationLib 2025-09-25 22:04:10 +00:00
BaseTimerLibNullTemplate MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
BaseUefiDecompressLib MdePkg: Fix definition typos 2025-06-11 17:20:20 +00:00
CcProbeLibNull MdePkg: Add CcProbeLibNull 2022-04-19 01:26:08 +00:00
CompilerIntrinsicsLib MdePkg: Remove ARM32 Support from CompilerIntrinsicsLib 2025-09-25 22:04:10 +00:00
DxeCoreEntryPoint MdePkg: Move StackCheckLibStaticInit to StackCheckLib 2025-02-07 02:23:11 +00:00
DxeCoreHobLib MdePkg: Add two new APIs in HobLib 2025-04-18 03:48:07 +00:00
DxeExtractGuidedSectionLib MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
DxeHobLib MdePkg: Add two new APIs in HobLib 2025-04-18 03:48:07 +00:00
DxeHstiLib MdePkg: Update the comments of GetInformation function 2024-04-15 21:30:48 +08:00
DxeIoLibCpuIo2 MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
DxePcdLib MdePkg: Remove DXE_SAL_DRIVER 2025-10-30 10:00:32 +00:00
DxeRngLib DxeRngLib: GetRandomNumber spurious success 2024-12-06 15:55:55 +00:00
DxeRuntimeDebugLibSerialPort MdePkg: Remove ARM32 Support 2025-09-25 22:04:10 +00:00
DxeRuntimePciExpressLib MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
DxeServicesLib MdePkg: Remove ARM32 Support from Service Table Libs 2025-09-25 22:04:10 +00:00
DxeServicesTableLib MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
DxeSmbusLib MdePkg: Remove DXE_SAL_DRIVER 2025-10-30 10:00:32 +00:00
DynamicStackCookieEntryPointLib MdePkg/DynamicStackCookieEntryPointLib: Drop execute-in-place versions 2025-02-11 20:25:08 +00:00
FvLib MdePkg: Copy FvLib to MdePkg 2025-10-30 08:13:29 +00:00
JedecJep106Lib MdePkg: Add new JedecJep106Lib to fetch JEDEC JEP106 manufacturer 2023-04-12 14:29:54 +00:00
MipiSysTLib MdePkg: Add MipiSysTLib library 2023-05-11 07:26:38 +00:00
MmServicesTableLib MdePkg: Remove ARM32 Support from Service Table Libs 2025-09-25 22:04:10 +00:00
MmUnblockMemoryLib MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PciSegmentLibSegmentInfo MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PeiCoreEntryPoint MdePkg: Move StackCheckLibStaticInit to StackCheckLib 2025-02-07 02:23:11 +00:00
PeiDxePostCodeLibReportStatusCode MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PeiExtractGuidedSectionLib MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PeiHobLib MdePkg: Add two new APIs in HobLib 2025-04-18 03:48:07 +00:00
PeiIoLibCpuIo MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PeiMemoryAllocationLib MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PeiMemoryLib MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PeimEntryPoint MdePkg: Move StackCheckLibStaticInit to StackCheckLib 2025-02-07 02:23:11 +00:00
PeiPcdLib MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PeiPciLibPciCfg2 MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PeiPciSegmentLibPciCfg2 MdePkg: Add comment describing address parameter in PciSegmentLib 2025-05-26 09:06:15 +08:00
PeiResourcePublicationLib MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PeiRngLib MdePkg: Add PeiRngLib 2025-02-06 20:29:15 +00:00
PeiServicesLib MdePkg: CodeQL Fixes. 2024-11-01 04:30:39 +00:00
PeiServicesTablePointerLib MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PeiServicesTablePointerLibIdt MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PeiServicesTablePointerLibKs0 MdePkg: Add a new library named PeiServicesTablePointerLibKs0 2024-02-06 23:51:47 +08:00
PeiServicesTablePointerLibRiscV MdePkg: RISC-V: Add PeiServicesTablePointerLib 2025-07-15 05:45:15 +00:00
PeiSmbusLibSmbus2Ppi MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
RegisterFilterLibNull MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
SecPeiDxeTimerLibCpu MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
SmiHandlerProfileLibNull MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
SmmCpuRendezvousLibNull MdePkg: Correct spelling errors and typos 2025-07-04 09:41:47 +08:00
SmmIoLib MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
SmmIoLibSmmCpuIo2 MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
SmmLibNull MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
SmmMemLib MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
SmmMemoryAllocationLib MdePkg: Code optimization to SMM InternalAllocateAlignedPages 2023-06-21 08:00:04 +00:00
SmmPciExpressLib MdePkg/SmmPciExpressLib: Ensure gBS variable for the constructor 2024-11-22 15:52:38 +00:00
SmmPciLibPciRootBridgeIo MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
SmmPeriodicSmiLib MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
SmmServicesTableLib MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
StackCheckFailureHookLibNull MdePkg: Create Stack Check Null Libs 2024-09-13 03:58:46 +00:00
StackCheckLib MdePkg: Remove ARM32 Support from StackCheckLib 2025-09-25 22:04:10 +00:00
StackCheckLibNull MdePkg: Add StackCheckLib Library Class 2025-02-07 02:23:11 +00:00
StandaloneMmCoreEntryPoint MdePkg: Move StackCheckLibStaticInit to StackCheckLib 2025-02-07 02:23:11 +00:00
StandaloneMmDriverEntryPoint MdePkg: Move StackCheckLibStaticInit to StackCheckLib 2025-02-07 02:23:11 +00:00
StandaloneMmServicesTableLib MdePkg: Remove ARM32 Support from Service Table Libs 2025-09-25 22:04:10 +00:00
TdxLib MdePkg/Library/TdxLib: Remove unnecessary comparison 2023-09-08 14:21:04 +00:00
TraceHubDebugSysTLibNull MdePkg: Add NULL library of TraceHubDebugSysTLib 2023-05-11 07:26:38 +00:00
UefiApplicationEntryPoint MdePkg: Move StackCheckLibStaticInit to StackCheckLib 2025-02-07 02:23:11 +00:00
UefiBootServicesTableLib MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
UefiDebugLibConOut MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
UefiDebugLibDebugPortProtocol MdePkg: Fix some spelling mistakes found by cspell 2024-08-01 19:53:47 +00:00
UefiDebugLibStdErr MdePkg: Fix some spelling mistakes found by cspell 2024-08-01 19:53:47 +00:00
UefiDevicePathLib MdePkg: Remove DXE_SAL_DRIVER 2025-10-30 10:00:32 +00:00
UefiDevicePathLibDevicePathProtocol MdePkg: Remove DXE_SAL_DRIVER 2025-10-30 10:00:32 +00:00
UefiDriverEntryPoint MdePkg: Move StackCheckLibStaticInit to StackCheckLib 2025-02-07 02:23:11 +00:00
UefiFileHandleLib MdePkg: CodeQL Fixes. 2024-11-01 04:30:39 +00:00
UefiLib MdePkg: Remove UGA support 2025-07-08 15:42:03 +00:00
UefiMemoryAllocationLib MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
UefiMemoryLib Refactor SetMemWrapper to reduce binary size 2024-09-11 21:50:20 +00:00
UefiPciLibPciRootBridgeIo MdePkg: Remove DXE_SAL_DRIVER 2025-10-30 10:00:32 +00:00
UefiPciSegmentLibPciRootBridgeIo MdePkg: Remove DXE_SAL_DRIVER 2025-10-30 10:00:32 +00:00
UefiRuntimeLib MdePkg: Add EFI_UNSUPPORTED return for some Runtime Service functions 2024-02-09 22:16:32 +00:00
UefiRuntimeServicesTableLib MdePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:13 -07:00
UefiScsiLib MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
UefiUsbLib Retrieve the USB class specific data from the configuration descriptor 2024-12-13 23:56:10 +00:00