data_type large_stringclasses 3
values | source large_stringclasses 29
values | code large_stringlengths 98 49.4M | filepath large_stringlengths 5 161 ⌀ | message large_stringclasses 234
values | commit large_stringclasses 234
values | subject large_stringclasses 418
values | critique large_stringlengths 101 1.26M ⌀ | metadata dict |
|---|---|---|---|---|---|---|---|---|
source | edk2 | /** @file
The file provides the protocol that disables the behavior that all memory
gets accepted at ExitBootServices(). This protocol is only meant to be called
by the OS loader, and not EDK2 itself. The SEV naming is due to the
coincidence that only SEV-SNP needs this protocol, since SEV-SNP Linux
support w... | OvmfPkg/Include/Protocol/SevMemoryAcceptance.h | null | null | null | null | null |
source | edk2 | /** @file
Virtio Device
DISCLAIMER: the VIRTIO_DEVICE_PROTOCOL introduced here is a work in progress,
and should not be used outside of the EDK II tree.
Copyright (c) 2013, ARM Ltd. All rights reserved.<BR>
Copyright (c) 2017, AMD Inc, All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent... | OvmfPkg/Include/Protocol/VirtioDevice.h | null | null | null | null | null |
source | edk2 | /** @file
XenBus protocol to be used between the XenBus bus driver and Xen PV devices.
DISCLAIMER: the XENBUS_PROTOCOL introduced here is a work in progress, and
should not be used outside of the EDK II tree.
This protocol provide the necessary for a Xen PV driver frontend to
communicate with the bus driver... | OvmfPkg/Include/Protocol/XenBus.h | null | null | null | null | null |
source | edk2 | /** @file
XenIo protocol to abstract arch specific details
The Xen implementations for the Intel and ARM architectures differ in the way
the base address of the grant table is communicated to the guest. The former
uses a virtual PCI device, while the latter uses a device tree node.
In order to allow the XenB... | OvmfPkg/Include/Protocol/XenIo.h | null | null | null | null | null |
source | edk2 | /** @file
A simple DXE_DRIVER that causes the PCI Bus UEFI_DRIVER to allocate 64-bit
MMIO BARs above 4 GB, regardless of option ROM availability, conserving 32-bit
MMIO aperture for 32-bit BARs.
Copyright (C) 2016, Red Hat, Inc.
Copyright (c) 2017, Intel Corporation. All rights reserved.<BR>
SPDX-License-... | OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.c | null | null | null | null | null |
source | edk2 | TDVF Overview
-------------
**Intel Trust Domain Extension (TDX)** is Intel Architecture extension
to provide trusted, isolated VM execution by removing CSP software
(hypervisor etc) from the TCB. **TDX Virtual Firmware (TDVF)** is an
EDK II based project to enable UEFI support for TDX based Virtual
Machines. It provi... | OvmfPkg/IntelTdx/README.md | null | null | null | null | null |
source | edk2 | /** @file
*
* Copyright (c) 2021, Intel Corporation. All rights reserved.<BR>
* SPDX-License-Identifier: BSD-2-Clause-Patent
*
**/
#include <PiPei.h>
#include <Library/PrePiHobListPointerLib.h>
#include <Library/DebugLib.h>
#include <Library/HobLib.h>
#include <WorkArea.h>
/**
Returns the pointer to the HOB list.... | OvmfPkg/IntelTdx/PrePiHobListPointerLibTdx/PrePiHobListPointer.c | null | null | null | null | null |
source | edk2 | /** @file
Main SEC phase code. Transitions to PEI.
Copyright (c) 2008 - 2015, Intel Corporation. All rights reserved.<BR>
(C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
Copyright (c) 2020, Advanced Micro Devices, Inc. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
... | OvmfPkg/IntelTdx/Sec/SecMain.c | null | null | null | null | null |
source | edk2 | /** @file
TdxHelper Functions which are used in PEI phase
Copyright (c) 2022 - 2023, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Base.h>
#include <PiPei.h>
/**
Build the GuidHob for tdx measurements which were done in SEC phase.
The measurement v... | OvmfPkg/IntelTdx/TdxHelperLib/PeiTdxHelper.c | null | null | null | null | null |
source | edk2 | /** @file
TdxHelper Functions which are used in SEC phase
Copyright (c) 2022 - 2023, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <PiPei.h>
#include <Library/BaseLib.h>
#include <Library/DebugLib.h>
#include <Library/HobLib.h>
#include <Library/BaseCryp... | OvmfPkg/IntelTdx/TdxHelperLib/SecTdxHelper.c | null | null | null | null | null |
source | edk2 | /** @file
NULL instance of TdxHelperLib
Copyright (c) 2022 - 2023, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Base.h>
#include <PiPei.h>
#include <Library/TdxHelperLib.h>
/**
In Tdx guest, some information need to be passed from host VMM to guest
... | OvmfPkg/IntelTdx/TdxHelperLib/TdxHelperNull.c | null | null | null | null | null |
source | edk2 | /** @file
Build GuidHob for tdx measurement.
Copyright (c) 2022 - 2023, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <PiPei.h>
#include <Library/BaseLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/DebugLib.h>
#include <IndustryStandard/Tpm20... | OvmfPkg/IntelTdx/TdxHelperLib/TdxMeasurementHob.c | null | null | null | null | null |
source | edk2 | /** @file
TdxMeasurement Functions which are used in DXE phase
Copyright (c) 2025, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Base.h>
#include <Library/DebugLib.h>
#include <Library/TdxMeasurementLib.h>
/**
* Build GuidHob for Tdx CC measurement event.
... | OvmfPkg/IntelTdx/TdxMeasurementLib/DxeTdxMeasurement.c | null | null | null | null | null |
source | edk2 | /** @file
TdxMeasurement Functions which are used in SEC and PEI phase
Copyright (c) 2025, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <PiPei.h>
#include <Pi/PiHob.h>
#include <Library/BaseLib.h>
#include <Library/DebugLib.h>
#include <Library/HobLib.h... | OvmfPkg/IntelTdx/TdxMeasurementLib/SecPeiTdxMeasurement.c | null | null | null | null | null |
source | edk2 | /** @file
TdxMeasurement Common Functions
Copyright (c) 2025, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <PiPei.h>
#include <Ppi/CcMeasurement.h>
#include <Library/DebugLib.h>
#include <Library/PeiServicesLib.h>
#include <Library/TdxLib.h>
#include <Librar... | OvmfPkg/IntelTdx/TdxMeasurementLib/TdxMeasurementCommon.c | null | null | null | null | null |
source | edk2 | /** @file
The protocol provides support to allocate, free, map and umap a DMA buffer
for bus master (e.g PciHostBridge). When SEV or TDX is enabled, the DMA
operations must be performed on unencrypted buffer hence we use a bounce
buffer to map the guest buffer into an unencrypted DMA buffer.
Copyright (c) 2... | OvmfPkg/IoMmuDxe/CcIoMmu.c | null | null | null | null | null |
source | edk2 | /** @file
The protocol provides support to allocate, free, map and umap a DMA buffer
for bus master (e.g PciHostBridge). When SEV is enabled, the DMA operations
must be performed on unencrypted buffer hence protocol clear the encryption
bit from the DMA buffer.
Copyright (c) 2017, Intel Corporation. All rig... | OvmfPkg/IoMmuDxe/CcIoMmu.h | null | null | null | null | null |
source | edk2 | /** @file
Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Library/BaseLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/DebugLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/MemEncryptSevLib.h>
#include <Library... | OvmfPkg/IoMmuDxe/IoMmuBuffer.c | null | null | null | null | null |
source | edk2 | /** @file
IoMmuDxe driver installs EDKII_IOMMU_PROTOCOL to provide the support for DMA
operations when SEV is enabled.
Copyright (c) 2017, AMD Inc. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "CcIoMmu.h"
EFI_STATUS
EFIAPI
IoMmuDxeEntryPoint (
IN EFI_HANDLE I... | OvmfPkg/IoMmuDxe/IoMmuDxe.c | null | null | null | null | null |
source | edk2 | /** @file
Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Base.h>
#include <Protocol/IoMmu.h>
#include <Uefi/UefiBaseType.h>
#include <Uefi/UefiSpec.h>
#define MAP_INFO_SIG SIGNATURE_64 ('M', 'A', 'P', '_', 'I', 'N', 'F',... | OvmfPkg/IoMmuDxe/IoMmuInternal.h | null | null | null | null | null |
source | edk2 | /** @file
Append an ACPI S3 Boot Script fragment from the QEMU_LOADER_WRITE_POINTER
commands of QEMU's fully processed table linker/loader script.
Copyright (C) 2017, Red Hat, Inc.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Library/AcpiPlatformLib.h>
#include <Library/BaseLib.h> /... | OvmfPkg/Library/AcpiPlatformLib/BootScript.c | null | null | null | null | null |
source | edk2 | /** @file
OVMF ACPI support
Copyright (C) 2021, Red Hat, Inc.
Copyright (c) 2008 - 2012, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2012, Bei Guan <gbtju85@gmail.com>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Library/AcpiPlatformLib.h>
#include <Library/BaseLib.h>
#include ... | OvmfPkg/Library/AcpiPlatformLib/DxeAcpiPlatformLib.c | null | null | null | null | null |
source | edk2 | /** @file
Temporarily enable IO and MMIO decoding for all PCI devices while QEMU
regenerates the ACPI tables.
Copyright (C) 2016, Red Hat, Inc.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Library/AcpiPlatformLib.h>
#include <Library/DebugLib.h> // DEBUG()
#include <Library/Mem... | OvmfPkg/Library/AcpiPlatformLib/PciDecoding.c | null | null | null | null | null |
source | edk2 | /** @file
OVMF ACPI support using QEMU's fw-cfg interface
Copyright (c) 2008 - 2014, Intel Corporation. All rights reserved.<BR>
Copyright (C) 2012-2014, Red Hat, Inc.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <IndustryStandard/Acpi.h> // EFI_ACPI_DESCRIPTION_HEADER
#include <Indu... | OvmfPkg/Library/AcpiPlatformLib/QemuFwCfgAcpi.c | null | null | null | null | null |
source | edk2 | /** @file
ACPI Timer implements one instance of Timer Library.
Copyright (c) 2008 - 2012, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2011, Andrei Warkentin <andreiw@motorola.com>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Library/DebugLib.h>
#include <Library/BaseLib.h>
#inclu... | OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.c | null | null | null | null | null |
source | edk2 | /** @file
Internal definitions for ACPI Timer Library
Copyright (C) 2014, Gabriel L. Somlo <somlo@cmu.edu>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
/**
Internal function to read the current tick counter of ACPI.
@return The tick counter read.
**/
UINT32
InternalAcpiGetTimerTick (
... | OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.h | null | null | null | null | null |
source | edk2 | /** @file
Provide constructor and GetTick for Base instance of ACPI Timer Library
Copyright (C) 2014, Gabriel L. Somlo <somlo@cmu.edu>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Library/DebugLib.h>
#include <Library/IoLib.h>
#include <Library/PciLib.h>
#include <OvmfPlatforms.h>
//
// Cached A... | OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.c | null | null | null | null | null |
source | edk2 | /** @file
Provide InternalAcpiGetTimerTick for the bhyve instance of the
Base ACPI Timer Library
Copyright (C) 2020, Rebecca Cran <rebecca@bsdio.com>
Copyright (C) 2014, Gabriel L. Somlo <somlo@cmu.edu>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Library/IoLib.h>
#include <OvmfPlatforms.h>
... | OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLibBhyve.c | null | null | null | null | null |
source | edk2 | /** @file
Provide constructor and GetTick for BaseRom instance of ACPI Timer Library
Copyright (c) 2008 - 2012, Intel Corporation. All rights reserved.
Copyright (c) 2011, Andrei Warkentin <andreiw@motorola.com>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Library/DebugLib.h>
#include <Library/... | OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.c | null | null | null | null | null |
source | edk2 | /** @file
Provide constructor and GetTick for Dxe instance of ACPI Timer Library
Copyright (C) 2014, Gabriel L. Somlo <somlo@cmu.edu>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Uefi/UefiBaseType.h>
#include <Uefi/UefiMultiPhase.h>
#include <Pi/PiBootMode.h>
#include <Pi/PiHob.h>
#include <Libra... | OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.c | null | null | null | null | null |
source | edk2 | /** @file
SVSM Support Library.
Copyright (C) 2024, Advanced Micro Devices, Inc. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Base.h>
#include <Uefi.h>
#include <Library/BaseMemoryLib.h>
#include <Library/AmdSvsmLib.h>
#include <Register/Amd/Msr.h>
#include <Register/Amd/... | OvmfPkg/Library/AmdSvsmLib/AmdSvsmLib.c | null | null | null | null | null |
source | edk2 | /** @file
Functions in this library instance make use of MMIO functions in IoLib to
access memory mapped PCI configuration space.
All assertions for I/O operations are handled in MMIO functions in the IoLib
Library.
Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identi... | OvmfPkg/Library/BaseCachingPciExpressLib/PciExpressLib.c | null | null | null | null | null |
source | edk2 | /** @file
Secure Encrypted Virtualization (SEV) library helper function
Copyright (c) 2017 - 2020, AMD Incorporated. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Library/BaseLib.h>
#include <Library/DebugLib.h>
#include <Library/MemEncryptSevLib.h>
#include <Library/Pcd... | OvmfPkg/Library/BaseMemEncryptSevLib/DxeMemEncryptSevLibInternal.c | null | null | null | null | null |
source | edk2 | /** @file
Secure Encrypted Virtualization (SEV) library helper function
Copyright (c) 2017 - 2020, AMD Incorporated. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Library/BaseLib.h>
#include <Library/DebugLib.h>
#include <Library/MemEncryptSevLib.h>
#include <Library/Pcd... | OvmfPkg/Library/BaseMemEncryptSevLib/PeiDxeMemEncryptSevLibInternal.c | null | null | null | null | null |
source | edk2 | /** @file
Secure Encrypted Virtualization (SEV) library helper function
Copyright (c) 2020, AMD Incorporated. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Library/BaseLib.h>
#include <Library/DebugLib.h>
#include <Library/MemEncryptSevLib.h>
#include <Library/PcdLib.h>
... | OvmfPkg/Library/BaseMemEncryptSevLib/PeiMemEncryptSevLibInternal.c | null | null | null | null | null |
source | edk2 | /** @file
Secure Encrypted Virtualization (SEV) library helper function
Copyright (c) 2020, Advanced Micro Devices, Inc. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Library/BaseLib.h>
#include <Library/DebugLib.h>
#include <Library/MemEncryptSevLib.h>
#include <Library... | OvmfPkg/Library/BaseMemEncryptSevLib/SecMemEncryptSevLibInternal.c | null | null | null | null | null |
source | edk2 | /** @file
Secure Encrypted Virtualization (SEV) library helper function
Copyright (c) 2017 - 2020, AMD Incorporated. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Library/BaseLib.h>
#include <Library/DebugLib.h>
#include <Library/MemEncryptSevLib.h>
#include <Register/Am... | OvmfPkg/Library/BaseMemEncryptSevLib/Ia32/MemEncryptSevLib.c | null | null | null | null | null |
source | edk2 | /** @file
SEV-SNP Page Validation functions.
Copyright (c) 2021 - 2024, AMD Incorporated. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Uefi/UefiBaseType.h>
#include <Library/BaseLib.h>
#include <Library/DebugLib.h>
#include <Library/MemEncryptSevLib.h>
#include "SnpPag... | OvmfPkg/Library/BaseMemEncryptSevLib/X64/DxeSnpSystemRamValidate.c | null | null | null | null | null |
source | edk2 | /** @file
Secure Encrypted Virtualization (SEV) library helper function
Copyright (c) 2017 - 2020, AMD Incorporated. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Library/BaseLib.h>
#include <Library/DebugLib.h>
#include <Library/MemEncryptSevLib.h>
#include <Register/Am... | OvmfPkg/Library/BaseMemEncryptSevLib/X64/MemEncryptSevLib.c | null | null | null | null | null |
source | edk2 | /** @file
Virtual Memory Management Services to set or clear the memory encryption bit
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2017 - 2024, AMD Incorporated. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
Code is derived from MdeModulePkg... | OvmfPkg/Library/BaseMemEncryptSevLib/X64/PeiDxeVirtualMemory.c | null | null | null | null | null |
source | edk2 | /** @file
SEV-SNP Page Validation functions.
Copyright (c) 2021 - 2024, AMD Incorporated. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Uefi/UefiBaseType.h>
#include <Library/BaseLib.h>
#include <Library/PcdLib.h>
#include <Library/DebugLib.h>
#include <Library/MemEncryp... | OvmfPkg/Library/BaseMemEncryptSevLib/X64/PeiSnpSystemRamValidate.c | null | null | null | null | null |
source | edk2 | /** @file
SEV-SNP Page Validation functions.
Copyright (c) 2021 - 2024, AMD Incorporated. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Uefi/UefiBaseType.h>
#include <Library/BaseLib.h>
#include <Library/DebugLib.h>
#include <Library/MemEncryptSevLib.h>
#include <Library... | OvmfPkg/Library/BaseMemEncryptSevLib/X64/SecSnpSystemRamValidate.c | null | null | null | null | null |
source | edk2 | /** @file
Virtual Memory Management Services to set or clear the memory encryption bit
Copyright (c) 2020, AMD Incorporated. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Library/CpuLib.h>
#include <Library/MemEncryptSevLib.h>
#include "VirtualMemory.h"
/**
Return th... | OvmfPkg/Library/BaseMemEncryptSevLib/X64/SecVirtualMemory.c | null | null | null | null | null |
source | edk2 | /** @file
SEV-SNP Page Validation functions.
Copyright (c) 2021 - 2024, AMD Incorporated. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
//
// SEV-SNP Page states
//
typedef enum {
SevSnpPagePrivate,
SevSnpPageShared,
} SEV_SNP_PAGE_STATE;
VOID
InternalSetPageSta... | OvmfPkg/Library/BaseMemEncryptSevLib/X64/SnpPageStateChange.h | null | null | null | null | null |
source | edk2 | /** @file
SEV-SNP Page Validation functions.
Copyright (c) 2021 - 2024, AMD Incorporated. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Uefi/UefiBaseType.h>
#include <Library/BaseLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/MemEncryptSevLib.h>
#include <Li... | OvmfPkg/Library/BaseMemEncryptSevLib/X64/SnpPageStateChangeInternal.c | null | null | null | null | null |
source | edk2 | /** @file
Virtual Memory Management Services to test an address range encryption state
Copyright (c) 2020, AMD Incorporated. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Library/CpuLib.h>
#include <Library/MemEncryptSevLib.h>
#include "VirtualMemory.h"
/**
Returns t... | OvmfPkg/Library/BaseMemEncryptSevLib/X64/VirtualMemory.c | null | null | null | null | null |
source | edk2 | /** @file
Virtual Memory Management Services to set or clear the memory encryption bit
Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2017 - 2020, AMD Incorporated. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
Code is derived from MdeModulePkg... | OvmfPkg/Library/BaseMemEncryptSevLib/X64/VirtualMemory.h | null | null | null | null | null |
source | edk2 | /** @file
Virtual Memory Management Services to set or clear the memory encryption
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2017, AMD Incorporated. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
Code is derived from MdeModulePkg/Core/DxeIp... | OvmfPkg/Library/BaseMemEncryptTdxLib/BaseMemoryEncryptionNull.c | null | null | null | null | null |
source | edk2 | /** @file
Virtual Memory Management Services to set or clear the memory encryption.
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2017, AMD Incorporated. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
Code is derived from MdeModulePkg/Core/DxeI... | OvmfPkg/Library/BaseMemEncryptTdxLib/MemoryEncryption.c | null | null | null | null | null |
source | edk2 | /** @file
Virtual Memory Management Services to set or clear the memory encryption bit
Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2017, AMD Incorporated. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
Code is derived from MdeModulePkg/Core/D... | OvmfPkg/Library/BaseMemEncryptTdxLib/VirtualMemory.h | null | null | null | null | null |
source | edk2 | /** @file
Work with PCI capabilities in PCI config space.
Provides functions to parse capabilities lists, and to locate, describe, read
and write capabilities. PCI config space access is abstracted away.
Copyright (C) 2018, Red Hat, Inc.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <IndustryS... | OvmfPkg/Library/BasePciCapLib/BasePciCapLib.c | null | null | null | null | null |
source | edk2 | /** @file
Work with PCI capabilities in PCI config space -- internal type definitions.
Copyright (C) 2018, Red Hat, Inc.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Library/OrderedCollectionLib.h>
#include <Library/PciCapLib.h>
//
// Structure that uniquely identifies a capabilit... | OvmfPkg/Library/BasePciCapLib/BasePciCapLib.h | null | null | null | null | null |
source | edk2 | /** @file
Plug a PciSegmentLib backend into PciCapLib, for config space access.
Copyright (C) 2018, Red Hat, Inc.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <IndustryStandard/Pci23.h>
#include <Library/BaseLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/PciSegmentLib.h>
#incl... | OvmfPkg/Library/BasePciCapPciSegmentLib/BasePciCapPciSegmentLib.c | null | null | null | null | null |
source | edk2 | /** @file
Plug a PciSegmentLib backend into PciCapLib, for config space access --
internal macro and type definitions.
Copyright (C) 2018, Red Hat, Inc.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Library/DebugLib.h>
#include <Library/PciCapPciSegmentLib.h>
#define SEGMENT_DEV_... | OvmfPkg/Library/BasePciCapPciSegmentLib/BasePciCapPciSegmentLib.h | null | null | null | null | null |
source | edk2 | /** @file
Copyright (c) 2020, Rebecca Cran <rebecca@bsdio.com>
Copyright (c) 2011 - 2013, Intel Corporation. All rights reserved.<BR>
Copyright (C) 2013, Red Hat, Inc.
Copyright (c) 2015, Nahanni Systems.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "Uefi.h"
#include <Library/BaseLib.h>
#incl... | OvmfPkg/Library/BhyveFwCtlLib/BhyveFwCtlLib.c | null | null | null | null | null |
source | edk2 | /** @file
Null implementation of the blob verifier library.
Copyright (C) 2021, IBM Corporation
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Library/BaseLib.h>
#include <Library/BlobVerifierLib.h>
/**
Verify blob from an external source.
@param[in] BlobName The name of the blob
... | OvmfPkg/Library/BlobVerifierLibNull/BlobVerifierNull.c | null | null | null | null | null |
source | edk2 | /** @file
CcExitLib Support Library.
Copyright (C) 2020, Advanced Micro Devices, Inc. All rights reserved.<BR>
Copyright (C) 2020 - 2022, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Base.h>
#include <Uefi.h>
#include <Library/BaseMemoryLib.h>
#includ... | OvmfPkg/Library/CcExitLib/CcExitLib.c | null | null | null | null | null |
source | edk2 | /** @file
Copyright (c) 2020 - 2021, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Base.h>
#include <Uefi.h>
/**
This function enable the TD guest to request the VMM to emulate CPUID
operation, especially for non-architectural, CPUID lea... | OvmfPkg/Library/CcExitLib/CcExitTd.h | null | null | null | null | null |
source | edk2 | /** @file
X64 #VC Exception Handler functon.
Copyright (C) 2020 - 2024, Advanced Micro Devices, Inc. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Base.h>
#include <Uefi.h>
#include <Library/BaseMemoryLib.h>
#include <Library/LocalApicLib.h>
#include <Library/MemEncryptSev... | OvmfPkg/Library/CcExitLib/CcExitVcHandler.c | null | null | null | null | null |
source | edk2 | /** @file
X64 #VC Exception Handler functon header file.
Copyright (C) 2020, Advanced Micro Devices, Inc. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Base.h>
#include <Uefi.h>
#include <Library/CcExitLib.h>
/**
Handle a #VC exception.
Performs the nec... | OvmfPkg/Library/CcExitLib/CcExitVcHandler.h | null | null | null | null | null |
source | edk2 | /** @file
Copyright (c) 2021, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Library/BaseLib.h>
#include <Library/DebugLib.h>
#include "CcExitTd.h"
#include <Library/CcExitLib.h>
#include <Library/BaseMemoryLib.h>
#include <IndustryStandard/Tdx.h>
#include... | OvmfPkg/Library/CcExitLib/CcExitVeHandler.c | null | null | null | null | null |
source | edk2 | /** @file
X64 Instruction function.
Copyright (C) 2020, Advanced Micro Devices, Inc. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Base.h>
#include <Uefi.h>
#include <Library/BaseMemoryLib.h>
#include <Register/Intel/Cpuid.h>
#include <IndustryStandard/InstructionParsing.h... | OvmfPkg/Library/CcExitLib/CcInstruction.c | null | null | null | null | null |
source | edk2 | /** @file
Confidential Computing X64 Instruction
Copyright (C) 2020, Advanced Micro Devices, Inc. All rights reserved.<BR>
Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Base.h>
#include <Uefi.h>
#include <Register/Amd/... | OvmfPkg/Library/CcExitLib/CcInstruction.h | null | null | null | null | null |
source | edk2 | /** @file
X64 #VC Exception Handler functon.
Copyright (C) 2020, Advanced Micro Devices, Inc. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Base.h>
#include <Uefi.h>
#include <Library/BaseMemoryLib.h>
#include <Library/MemEncryptSevLib.h>
#include <Library/CcExitLib.h>
#in... | OvmfPkg/Library/CcExitLib/PeiDxeCcExitVcHandler.c | null | null | null | null | null |
source | edk2 | /** @file
X64 #VC Exception Handler functon.
Copyright (C) 2020, Advanced Micro Devices, Inc. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Base.h>
#include <Uefi.h>
#include <Library/BaseMemoryLib.h>
#include <Library/MemEncryptSevLib.h>
#include <Library/CcExitLib.h>
#in... | OvmfPkg/Library/CcExitLib/SecCcExitVcHandler.c | null | null | null | null | null |
source | edk2 | /** @file
CcProbeLib is used to probe the Confidential computing guest type.
Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Uefi/UefiBaseType.h>
#include <Library/CcProbeLib.h>
#include <WorkArea.h>
STATIC UINT8 mCcProbeGuestType ... | OvmfPkg/Library/CcProbeLib/DxeCcProbeLib.c | null | null | null | null | null |
source | edk2 | /** @file
CcProbeLib is used to probe the Confidential computing guest type.
Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Library/CcProbeLib.h>
#include <WorkArea.h>
/**
Probe the ConfidentialComputing Guest type. See defition of... | OvmfPkg/Library/CcProbeLib/SecPeiCcProbeLib.c | null | null | null | null | null |
source | edk2 | /** @file
PCI Library functions that use
(a) I/O ports 0xCF8 and 0xCFC to perform PCI Configuration cycles, layering
on top of one PCI CF8 Library instance; or
(b) PCI Library functions that use the 256 MB PCI Express MMIO window to
perform PCI Configuration cycles, layering on PCI Express Library.
... | OvmfPkg/Library/DxePciLibI440FxQ35/PciLib.c | null | null | null | null | null |
source | edk2 | /** @file
OVMF platform customization for EMU Variable FVB driver
Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "PiDxe.h"
#include <Library/DebugLib.h>
#include <Library/PcdLib.h>
#include <Library/PlatformFvbLib.h>
#include <Li... | OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.c | null | null | null | null | null |
source | edk2 | /** @file
Copyright (c) 2014-2018, Linaro Ltd. All rights reserved.<BR>
Copyright (c) 2024 Loongson Technology Corporation Limited. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Library/BaseLib.h>
#include <Library/DebugLib.h>
#include <Library/UefiBootServicesTableLib.h>... | OvmfPkg/Library/FdtNorFlashQemuLib/FdtNorFlashQemuLib.c | null | null | null | null | null |
source | edk2 | /** @file
Determine the base addresses of serial ports from the Device Tree.
Copyright (C) Red Hat
Copyright (c) 2011 - 2023, Arm Ltd. All rights reserved.<BR>
Copyright (c) 2008 - 2010, Apple Inc. All rights reserved.<BR>
Copyright (c) 2014 - 2020, Linaro Ltd. All rights reserved.<BR>
Copyright (c) 2015, ... | OvmfPkg/Library/FdtSerialPortAddressLib/FdtSerialPortAddressLib.c | null | null | null | null | null |
source | edk2 | /** @file
Generic implementation of QemuLoadImageLib library class interface.
Copyright (c) 2020, ARM Ltd. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Uefi.h>
#include <Base.h>
#include <Guid/QemuKernelLoaderFsMedia.h>
#include <Library/DebugLib.h>
#include <Library/Fi... | OvmfPkg/Library/GenericQemuLoadImageLib/GenericQemuLoadImageLib.c | null | null | null | null | null |
source | edk2 | /*/@file
Hardware info parsing functions.
Binary data is expected as a consecutive series of header - object pairs.
Complete library providing list-like interface to dynamically manipulate
hardware info objects and parsing from a generic blob.
Copyright 2021 - 2022 Amazon.com, Inc. or its affiliates. All Rig... | OvmfPkg/Library/HardwareInfoLib/HardwareInfoDxe.c | null | null | null | null | null |
source | edk2 | /**@file
Hardware info library with types and accessors to parse information about
PCI host bridges.
Copyright 2021 - 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Library/DebugLib.h>
#include "HardwareInfoPciHostBridgeLib.h"
#defin... | OvmfPkg/Library/HardwareInfoLib/HardwareInfoPciHostBridgeLib.c | null | null | null | null | null |
source | edk2 | /**@file
Hardware info library with types and accessors to parse information about
PCI host bridges.
Copyright 2021 - 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Uefi/UefiBaseType.h>
#include <Uefi/UefiSpec.h>
#include... | OvmfPkg/Library/HardwareInfoLib/HardwareInfoPciHostBridgeLib.h | null | null | null | null | null |
source | edk2 | /*/@file
Hardware info parsing functions.
Binary data is expected as a consecutive series of header - object pairs.
Provides static Qemu fw-cfg wrappers as well as list-like interface to
dynamically manipulate hardware info objects and parsing from a generic
blob.
Copyright 2021 - 2022 Amazon.com, Inc. or ... | OvmfPkg/Library/HardwareInfoLib/HardwareInfoPei.c | null | null | null | null | null |
source | edk2 | /**@file
Hardware info types' definitions.
General hardware info types to parse the binary data
Copyright 2021 - 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
// Specific hardware types:
#include "HardwareInfoPciHostBridgeLib.h"
... | OvmfPkg/Library/HardwareInfoLib/HardwareInfoTypesLib.h | null | null | null | null | null |
source | edk2 | /*/@file
Qemu fw-cfg wrappers for hardware info parsing.
Provides an alternative to parse hardware information from a fw-cfg
file without relying on dynamic memory allocations.
Copyright 2021 - 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#i... | OvmfPkg/Library/HardwareInfoLib/QemuFwCfgHardwareInfoLib.c | null | null | null | null | null |
source | edk2 | /** @file
This library is HashLib for Tdx.
Copyright (c) 2021 - 2022, Intel Corporation. All rights reserved. <BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <PiPei.h>
#include <Library/BaseLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/DebugLib.h>
#include <Library/PcdLib.h>
#include <... | OvmfPkg/Library/HashLibTdx/HashLibTdx.c | null | null | null | null | null |
source | edk2 | /** @file
Copyright (c) 2011 - 2014, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "LoadLinuxLib.h"
/**
A simple check of the kernel setup image
An assumption is made that the size of the data is at least the
size of struct boot_params.
@param[i... | OvmfPkg/Library/LoadLinuxLib/Linux.c | null | null | null | null | null |
source | edk2 | /** @file
Initialize GDT for Linux.
Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "LoadLinuxLib.h"
//
// Local structure definitions
//
#pragma pack (1)
//
// Global Descriptor Entry structures
//
typedef struct _GDT_ENTRY {... | OvmfPkg/Library/LoadLinuxLib/LinuxGdt.c | null | null | null | null | null |
source | edk2 | /** @file
Boot UEFI Linux.
Copyright (c) 2008 - 2013, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Uefi.h>
#include <Library/LoadLinuxLib.h>
#include <Library/BaseLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/DebugLib.h>
#in... | OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.h | null | null | null | null | null |
source | edk2 | /** @file
Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Uefi.h>
#include <Library/DebugLib.h>
#include <LockBoxLib.h>
/**
Allocates a buffer of type EfiACPIMemoryNVS.
Allocates the number bytes specified by AllocationSize... | OvmfPkg/Library/LockBoxLib/LockBoxBase.c | null | null | null | null | null |
source | edk2 | /** @file
Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Uefi.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/DebugLib.h>
#include <P... | OvmfPkg/Library/LockBoxLib/LockBoxDxe.c | null | null | null | null | null |
source | edk2 | /** @file
Library implementing the LockBox interface for OVMF
Copyright (C) 2013, Red Hat, Inc.
Copyright (c) 2010 - 2019, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Uefi.h>
#include <Library/BaseMemoryLib.h>
#include <Library/DebugLib.h>
#include... | OvmfPkg/Library/LockBoxLib/LockBoxLib.c | null | null | null | null | null |
source | edk2 | /** @file
Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#pragma pack(1)
typedef struct {
UINT32 Signature;
UINT32 SubPageBuffer;
UINT32 SubPageRemaining;
} LOCK_BOX_GLOBAL;
#define LOCK_BOX_GLOBAL_SIGNATURE S... | OvmfPkg/Library/LockBoxLib/LockBoxLib.h | null | null | null | null | null |
source | edk2 | /** @file
Memory Debug Log common defs/funcs to access the memory buffer.
Copyright (C) 2025, Oracle and/or its affiliates.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <PiPei.h>
#include <PiDxe.h>
#include <Library/BaseLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/HobLib.h>
#includ... | OvmfPkg/Library/MemDebugLogLib/MemDebugLogCommon.c | null | null | null | null | null |
source | edk2 | /** @file
*
Memory Debug Log Library - DXE/Smm
Copyright (C) 2025, Oracle and/or its affiliates.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <PiDxe.h>
#include <Library/MemDebugLogLib.h>
EFI_PHYSICAL_ADDRESS mMemDebugLogBufAddr;
BOOLEAN mMemDebugLogBufAddrInit;
EFI_STATUS
EFIAPI... | OvmfPkg/Library/MemDebugLogLib/MemDebugLogDxe.c | null | null | null | null | null |
source | edk2 | /** @file
*
Memory Debug Log Library - Null.
Copyright (C) 2025, Oracle and/or its affiliates.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Library/MemDebugLogLib.h>
EFI_STATUS
EFIAPI
MemDebugLogWrite (
IN CHAR8 *Buffer,
IN UINTN Length
)
{
// Null Instance - NOP
return EFI_SUCCE... | OvmfPkg/Library/MemDebugLogLib/MemDebugLogNull.c | null | null | null | null | null |
source | edk2 | /** @file
*
Memory Debug Log Library - PEI Phase
Copyright (C) 2025, Oracle and/or its affiliates.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <PiPei.h>
#include <Library/PeiServicesLib.h>
#include <Library/QemuFwCfgSimpleParserLib.h>
#include <Library/MemDebugLogLib.h>
UINT32
EFIAPI
MemDebugLo... | OvmfPkg/Library/MemDebugLogLib/MemDebugLogPei.c | null | null | null | null | null |
source | edk2 | /** @file
*
Memory Debug Log Library - PEI Core
Copyright (C) 2025, Oracle and/or its affiliates.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <PiPei.h>
#include <Library/PeiServicesLib.h>
#include <Library/MemDebugLogLib.h>
EFI_STATUS
EFIAPI
MemDebugLogWrite (
IN CHAR8 *Buffer,
IN UINTN ... | OvmfPkg/Library/MemDebugLogLib/MemDebugLogPeiCore.c | null | null | null | null | null |
source | edk2 | /** @file
*
Memory Debug Log Library - Runtime
Copyright (C) 2025, Oracle and/or its affiliates.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <PiDxe.h>
#include <Library/MemDebugLogLib.h>
#include <Library/UefiRuntimeLib.h>
EFI_PHYSICAL_ADDRESS mMemDebugLogBufAddr;
BOOLEAN mMemDeb... | OvmfPkg/Library/MemDebugLogLib/MemDebugLogRt.c | null | null | null | null | null |
source | edk2 | /** @file
*
Memory Debug Log Library - SEC Phase
Copyright (C) 2025, Oracle and/or its affiliates.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Library/MemDebugLogLib.h>
EFI_STATUS
EFIAPI
MemDebugLogWrite (
IN CHAR8 *Buffer,
IN UINTN Length
)
{
EFI_STATUS Status;
if (FixedPcdGet... | OvmfPkg/Library/MemDebugLogLib/MemDebugLogSec.c | null | null | null | null | null |
source | edk2 | /** @file
Secure Encrypted Virtualization (SEV) library helper function
Copyright (c) 2017 - 2020, AMD Incorporated. All rights reserved.<BR>
Copyright (c) Microsoft Corporation.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Uefi.h>
#include <Library/MemEncryptSevLib.h>
/**
Returns a boolea... | OvmfPkg/Library/MemEncryptSevLibNull/MemEncryptSevLibNull.c | null | null | null | null | null |
source | edk2 | /** @file
Null instance of MM Platform HOB Producer Library Class.
CreateMmPlatformHob() function is called by StandaloneMm IPL to create all
Platform specific HOBs that required by Standalone MM environment.
Copyright (c) 2024, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Cla... | OvmfPkg/Library/MmPlatformHobProducerLibOvmf/MmPlatformHobProducerLibOvmf.c | null | null | null | null | null |
source | edk2 | /** @file
Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Uefi.h>
/**
This is null constructor which always return EFI_SUCCESS.
@param ImageHandle The firmware allocated handle for the EFI image.
@param SystemTable A pointer to the ... | OvmfPkg/Library/MpInitLibDepLib/MpInitLibDepLib.c | null | null | null | null | null |
source | edk2 | /** @file
Force interrupt handler to return with interrupts still disabled.
Copyright (C) 2022, Fen Systems Ltd.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Library/BaseLib.h>
#include <Library/DebugLib.h>
#include "Iret.h"
/**
Force interrupt handler to return with interrupts still disabled... | OvmfPkg/Library/NestedInterruptTplLib/Iret.c | null | null | null | null | null |
source | edk2 | /** @file
Force interrupt handler to return with interrupts still disabled.
Copyright (C) 2022, Fen Systems Ltd.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Protocol/DebugSupport.h>
VOID
DisableInterruptsOnIret (
IN OUT EFI_SYSTEM_CONTEXT SystemContext
); | OvmfPkg/Library/NestedInterruptTplLib/Iret.h | null | null | null | null | null |
source | edk2 | /** @file
Handle raising and lowering TPL from within nested interrupt handlers.
Allows interrupt handlers to safely raise and lower the TPL to
dispatch event notifications, correctly allowing for nested
interrupts to occur without risking stack exhaustion.
Copyright (C) 2022, Fen Systems Ltd.
SPDX-Licen... | OvmfPkg/Library/NestedInterruptTplLib/Tpl.c | null | null | null | null | null |
source | edk2 | /** @file
File System Access for NvVarsFileLib
Copyright (c) 2004 - 2014, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "NvVarsFileLib.h"
#include <Library/BaseMemoryLib.h>
#include <Library/DebugLib.h>
#include <Library/MemoryAllocationLib.h>
/**
Ope... | OvmfPkg/Library/NvVarsFileLib/FsAccess.c | null | null | null | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.