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 Provides CPU architecture specific functions that can not be defined in the Base Library due to dependencies on the PAL Library The CPU Library provides services to flush CPU TLBs and place the CPU in a sleep state. The implementation of these services on Itanium processors requires the use of PAL Ca...
MdePkg/Include/Library/CpuLib.h
null
null
null
null
null
source
edk2
/** @file Provides services to print debug and assert messages to a debug output device. The Debug library supports debug print and asserts based on a combination of macros and code. The debug library can be turned on and off so that the debug code does not increase the size of an image. Note that a reserved ...
MdePkg/Include/Library/DebugLib.h
null
null
null
null
null
source
edk2
/** @file Debug Print Error Level Library class Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /** Returns the debug print error level mask for the current module. @return Debug print error level mask for the current m...
MdePkg/Include/Library/DebugPrintErrorLevelLib.h
null
null
null
null
null
source
edk2
/** @file Provides library functions to construct and parse UEFI Device Paths. This library provides defines, macros, and functions to help create and parse EFI_DEVICE_PATH_PROTOCOL structures. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent *...
MdePkg/Include/Library/DevicePathLib.h
null
null
null
null
null
source
edk2
/** @file Module entry point library for DXE core. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /// /// Global variable that contains a pointer to the Hob List passed into the DXE Core entry point. /// extern VOID *gHobList; ...
MdePkg/Include/Library/DxeCoreEntryPoint.h
null
null
null
null
null
source
edk2
/** @file MDE DXE Services Library provides functions that simplify the development of DXE Drivers. These functions help access data from sections of FFS files or from file path. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> (C) Copyright 2015 Hewlett Packard Enterprise Development LP<BR> ...
MdePkg/Include/Library/DxeServicesLib.h
null
null
null
null
null
source
edk2
/** @file Provides a service to retrieve a pointer to the DXE Services Table. Only available to DXE module types. This library does not contain any functions or macros. It simply exports a global pointer to the DXE Services Table as defined in the Platform Initialization Driver Execution Environment Core In...
MdePkg/Include/Library/DxeServicesTableLib.h
null
null
null
null
null
source
edk2
/** @file This library provides common functions to process the different guided section data. This library provides functions to process GUIDed sections of FFS files. Handlers may be registered to decode GUIDed sections of FFS files. Services are provided to determine the set of supported section GUIDs, col...
MdePkg/Include/Library/ExtractGuidedSectionLib.h
null
null
null
null
null
source
edk2
/** @file Flattened Device Tree Library. All structure data are in big-endian format. Functions are provided for converting data between little-endian and big-endian. For example: Pushing data to FDT blob needs to convert data to big-endian by CpuToFdt*(). Retrieving data from FDT blob needs to convert...
MdePkg/Include/Library/FdtLib.h
null
null
null
null
null
source
edk2
/** @file Provides interface to EFI_FILE_HANDLE functionality. Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Protocol/SimpleFileSystem.h> #include <Guid/FileInfo.h> /// The tag for use in identifying UNICODE file...
MdePkg/Include/Library/FileHandleLib.h
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2015, Intel Corporation. All rights reserved.<BR> Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Uefi.h> #include <Pi/PiFirmwareVolume.h> #include <Pi/PiFirmwareFile.h> /** Given the input file poin...
MdePkg/Include/Library/FvLib.h
null
null
null
null
null
source
edk2
/** @file Provides services to create and parse HOBs. Only available for PEI and DXE module types. The HOB Library supports the efficient creation and searching of HOBs defined in the PI Specification. A HOB is a Hand-Off Block, defined in the Framework architecture, that allows the PEI phase to pass infor...
MdePkg/Include/Library/HobLib.h
null
null
null
null
null
source
edk2
/** @file Provides services to create, get and update HSTI table in AIP protocol. Copyright (c) 2015, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /** Publish HSTI table in AIP protocol. One system should have only one PLATFORM_SECURITY_ROLE_PL...
MdePkg/Include/Library/HstiLib.h
null
null
null
null
null
source
edk2
/** @file Provide services to access I/O Ports and MMIO registers. 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 **/ #pragma once /** Macro that converts PCI Segment and I/O Port...
MdePkg/Include/Library/IoLib.h
null
null
null
null
null
source
edk2
/** @file Provides JEDEC JEP-106 Manufacturer functions. Copyright (c) 2022, Qualcomm Innovation Center, Inc. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /** Looks up the JEP-106 manufacturer. @param Code Last non-zero byte of the manufacturer's ID ...
MdePkg/Include/Library/JedecJep106Lib.h
null
null
null
null
null
source
edk2
/** @file Provides services to allocate and free memory buffers of various memory types and alignments. The Memory Allocation Library abstracts various common memory allocation operations. This library allows code to be written in a phase-independent manner because the allocation of memory in PEI, DXE, and SMM...
MdePkg/Include/Library/MemoryAllocationLib.h
null
null
null
null
null
source
edk2
/** @file This header file declares functions consuming MIPI Sys-T submodule. Copyright (c) 2023, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /** Invoke initialization function in Mipi Sys-T module to initialize Mipi Sys-T handle. @param[in, out] ...
MdePkg/Include/Library/MipiSysTLib.h
null
null
null
null
null
source
edk2
/** @file Provides a service to retrieve a pointer to the Standalone MM Services Table. Only available to MM_STANDALONE, SMM/DXE Combined and SMM module types. Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR> Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.<BR> SPDX-License-Ident...
MdePkg/Include/Library/MmServicesTableLib.h
null
null
null
null
null
source
edk2
/** @file MM Unblock Memory Library Interface. This library provides an interface to request non-MMRAM pages to be mapped/unblocked from inside MM environment. For MM modules that need to access regions outside of MMRAMs, the agents that set up these regions are responsible for invoking this API in order fo...
MdePkg/Include/Library/MmUnblockMemoryLib.h
null
null
null
null
null
source
edk2
/** @file An ordered collection library interface. The library class provides a set of APIs to manage an ordered collection of items. Copyright (C) 2014, Red Hat, Inc. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Base.h> // // Opaque structure for a collection. // typedef stru...
MdePkg/Include/Library/OrderedCollectionLib.h
null
null
null
null
null
source
edk2
/** @file Provides library services to get and set Platform Configuration Database entries. PCD Library Class provides a PCD usage macro interface for all PCD types. It should be included in any module that uses PCD. If a module uses dynamic/dynamicex PCD, module should be linked to a PEIM/DXE library instance...
MdePkg/Include/Library/PcdLib.h
null
null
null
null
null
source
edk2
/** @file Provides services to access PCI Configuration Space using the I/O ports 0xCF8 and 0xCFC. This library is identical to the PCI Library, except the access method for performing PCI configuration cycles must be through I/O ports 0xCF8 and 0xCFC. This library only allows access to PCI Segment #0. Copyr...
MdePkg/Include/Library/PciCf8Lib.h
null
null
null
null
null
source
edk2
/** @file Provides services to access PCI Configuration Space using the MMIO PCI Express window. This library is identical to the PCI Library, except the access method for performing PCI configuration cycles must be through the PCI Express MMIO window whose base address is defined by PcdPciExpressBaseAddress a...
MdePkg/Include/Library/PciExpressLib.h
null
null
null
null
null
source
edk2
/** @file Provides services to access PCI Configuration Space. These functions perform PCI configuration cycles using the default PCI configuration access method. This may use I/O ports 0xCF8 and 0xCFC to perform PCI configuration accesses, or it may use MMIO registers relative to the PcdPciExpressBaseAddress,...
MdePkg/Include/Library/PciLib.h
null
null
null
null
null
source
edk2
/** @file Provides services to return segment information on a platform with multiple PCI segments. This library is consumed by PciSegmentLib to support multiple segment PCI configuration access. Copyright (c) 2017 - 2020, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Paten...
MdePkg/Include/Library/PciSegmentInfoLib.h
null
null
null
null
null
source
edk2
/** @file Provides services to access PCI Configuration Space on a platform with multiple PCI segments. The PCI Segment Library function provide services to read, write, and modify the PCI configuration registers on PCI root bridges on any supported PCI segment. These library services take a single address pa...
MdePkg/Include/Library/PciSegmentLib.h
null
null
null
null
null
source
edk2
/** @file Provides services to perform additional actions when a PE/COFF image is loaded or unloaded. This is useful for environment where symbols need to be loaded and unloaded to support source level debugging. Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier:...
MdePkg/Include/Library/PeCoffExtraActionLib.h
null
null
null
null
null
source
edk2
/** @file Provides a service to retrieve the PE/COFF entry point from a PE/COFF image. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /** Retrieves and returns a pointer to the entry point to a PE/COFF image that has been load...
MdePkg/Include/Library/PeCoffGetEntryPointLib.h
null
null
null
null
null
source
edk2
/** @file Provides services to load and relocate a PE/COFF image. The PE/COFF Loader Library abstracts the implementation of a PE/COFF loader for IA-32, x86, IPF, and EBC processor types. The library functions are memory-based and can be ported easily to any environment. Copyright (c) 2006 - 2018, Intel Corpo...
MdePkg/Include/Library/PeCoffLib.h
null
null
null
null
null
source
edk2
/** @file Module entry point library for PEI core. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /** The entry point of PE/COFF Image for the PEI Core. This function is the entry point for the PEI Foundation, which allows ...
MdePkg/Include/Library/PeiCoreEntryPoint.h
null
null
null
null
null
source
edk2
/** @file Provides library functions for all PEI Services. Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /** This service enables a given PEIM to register an interface into the PEI Foundation. @param PpiList ...
MdePkg/Include/Library/PeiServicesLib.h
null
null
null
null
null
source
edk2
/** @file Provides a service to retrieve a pointer to the PEI Services Table. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /** Retrieves the cached value of the PEI Services Table pointer. Returns the cached value of the ...
MdePkg/Include/Library/PeiServicesTablePointerLib.h
null
null
null
null
null
source
edk2
/** @file Module entry point library for PEIM. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /// /// Declare the EFI/UEFI Specification Revision to which this driver is implemented /// extern CONST UINT32 _gPeimRevision; /** ...
MdePkg/Include/Library/PeimEntryPoint.h
null
null
null
null
null
source
edk2
/** @file Provides services to log the execution times and retrieve them later. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /// /// Performance library property mask bits /// #define PERFORMANCE_LIBRARY_PROPERTY_MEASUREMENT_E...
MdePkg/Include/Library/PerformanceLib.h
null
null
null
null
null
source
edk2
/** @file Provides services to send progress/error codes to a POST card. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #define POST_CODE_PROPERTY_POST_CODE_ENABLED 0x00000008 #define POST_CODE_PROPERTY_POST_CODE_DE...
MdePkg/Include/Library/PostCodeLib.h
null
null
null
null
null
source
edk2
/** @file Provides services to print a formatted string to a buffer. All combinations of Unicode and ASCII strings are supported. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent The Print Library functions provide a simple means to produce form...
MdePkg/Include/Library/PrintLib.h
null
null
null
null
null
source
edk2
/** @file Public include file for the Port IO/MMIO/MSR RegisterFilterLib. Copyright (c) 2021, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once typedef enum { FilterWidth8, FilterWidth16, FilterWidth32, FilterWidth64 } FILTER_IO_WIDTH; /** Filter...
MdePkg/Include/Library/RegisterFilterLib.h
null
null
null
null
null
source
edk2
/** @file Provides services to log status code records. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Uefi/UefiBaseType.h> #include <Pi/PiStatusCode.h> #include <Protocol/DevicePath.h> // // Declare bits for PcdRepor...
MdePkg/Include/Library/ReportStatusCodeLib.h
null
null
null
null
null
source
edk2
/** @file Provides a service to publish discovered system resources. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /** Declares the presence of permanent system memory in the platform. Declares that the system memory buffe...
MdePkg/Include/Library/ResourcePublicationLib.h
null
null
null
null
null
source
edk2
/** @file Provides random number generator services. Copyright (c) 2023, Arm Limited. All rights reserved.<BR> Copyright (c) 2015, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /** Generates a 16-bit random number. if Rand is NULL, then ASSERT(). ...
MdePkg/Include/Library/RngLib.h
null
null
null
null
null
source
edk2
/** @file Defines library APIs used by modules to save EFI Boot Script Opcodes. These OpCode will be restored by S3 related modules. Note that some of the API defined in the Library class may not be provided in the Framework version library instance, which means some of these APIs cannot be used if the underl...
MdePkg/Include/Library/S3BootScriptLib.h
null
null
null
null
null
source
edk2
/** @file I/O and MMIO Library Services that do I/O and also enable the I/O operation to be replayed during an S3 resume. This library class maps directly on top of the IoLib class. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pra...
MdePkg/Include/Library/S3IoLib.h
null
null
null
null
null
source
edk2
/** @file The PCI configuration Library Services that carry out PCI configuration and enable the PCI operations to be replayed during an S3 resume. This library class maps directly on top of the PciLib class. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD...
MdePkg/Include/Library/S3PciLib.h
null
null
null
null
null
source
edk2
/** @file The multiple segments PCI configuration Library Services that carry out PCI configuration and enable the PCI operations to be replayed during an S3 resume. This library class maps directly on top of the PciSegmentLib class. Copyright (c) 2017, Intel Corporation. All rights reserved.<BR> SPDX-Licens...
MdePkg/Include/Library/S3PciSegmentLib.h
null
null
null
null
null
source
edk2
/** @file Smbus Library Services that conduct SMBus transactions and enable the operatation to be replayed during an S3 resume. This library class maps directly on top of the SmbusLib class. Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent ...
MdePkg/Include/Library/S3SmbusLib.h
null
null
null
null
null
source
edk2
/** @file Stall Services that perform stalls and also enable the Stall operatation to be replayed during an S3 resume. This library class maps directly on top of the Timer class. Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma...
MdePkg/Include/Library/S3StallLib.h
null
null
null
null
null
source
edk2
/** @file This library provides helper functions to prevent integer overflow during type conversion, addition, subtraction, and multiplication. Copyright (c) 2017, Microsoft Corporation All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once // // It is common for -1 to be used...
MdePkg/Include/Library/SafeIntLib.h
null
null
null
null
null
source
edk2
/** @file This library class provides common serial I/O port functions. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> Copyright (c) 2012 - 2014, ARM Ltd. All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Uefi/UefiBaseType.h> #include <Protocol/Se...
MdePkg/Include/Library/SerialPortLib.h
null
null
null
null
null
source
edk2
/** @file Provides library functions to access SMBUS devices. Libraries of this class must be ported to a specific SMBUS controller. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /** Macro that converts SMBUS slave address,...
MdePkg/Include/Library/SmbusLib.h
null
null
null
null
null
source
edk2
/** @file Provides services to log the SMI handler registration. This API provides services for the SMM Child Dispatch Protocols provider, to register SMI handler information to SmmCore. NOTE: There is no need to update the consumers of SMST->SmiHandlerRegister() or the consumers of SMM Child Dispatch Pro...
MdePkg/Include/Library/SmiHandlerProfileLib.h
null
null
null
null
null
source
edk2
/** @file SMM CPU Rendezvous library header file. Copyright (c) 2022, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /** This routine wait for all AP processors to arrive in SMM. @param[in] BlockingMode Blocking mode or non-blocking mode. @r...
MdePkg/Include/Library/SmmCpuRendezvousLib.h
null
null
null
null
null
source
edk2
/** @file Provides services for SMM IO Operation. The SMM IO Library provides function for checking if IO resource is accessible inside of SMM. Copyright (c) 2017, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /** This function check if the MMIO...
MdePkg/Include/Library/SmmIoLib.h
null
null
null
null
null
source
edk2
/** @file Library class name: SmmLib SMM Library Services that abstracts both S/W SMI generation and detection. Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /** Triggers an SMI at boot time. This function triggers ...
MdePkg/Include/Library/SmmLib.h
null
null
null
null
null
source
edk2
/** @file Provides services for SMM Memory Operation. The SMM Mem Library provides function for checking if buffer is outside SMRAM and valid. It also provides functions for copy data from SMRAM to non-SMRAM, from non-SMRAM to SMRAM, from non-SMRAM to non-SMRAM, or set data in non-SMRAM. Copyright (c) 2015 ...
MdePkg/Include/Library/SmmMemLib.h
null
null
null
null
null
source
edk2
/** @file Provides services to enable and disable periodic SMI handlers. Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #define PERIODIC_SMI_LIBRARY_ANY_CPU 0xffffffff /** This function returns a pointer to a table of suppor...
MdePkg/Include/Library/SmmPeriodicSmiLib.h
null
null
null
null
null
source
edk2
/** @file Provides a service to retrieve a pointer to the SMM Services Table. Only available to SMM module types. Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <PiSmm.h> /// /// Cache pointer to the SMM Services Tab...
MdePkg/Include/Library/SmmServicesTableLib.h
null
null
null
null
null
source
edk2
/** @file Library provides a hook called when a stack cookie check fails. Copyright (c) Microsoft Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Uefi.h> /** This function gets called when a compiler generated stack cookie fails. This allows a platform to hook this cal...
MdePkg/Include/Library/StackCheckFailureHookLib.h
null
null
null
null
null
source
edk2
/** @file This library provides stack cookie checking functions for symbols inserted by the compiler. This header is not intended to be used directly by modules, but rather defines the expected interfaces to each supported compiler, so that if the compiler interface is updated it is easier to track. Copyright ...
MdePkg/Include/Library/StackCheckLib.h
null
null
null
null
null
source
edk2
/** @file Module entry point library for STANDALONE MM core. Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR> Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /// /// Global variable that contains a pointer to the...
MdePkg/Include/Library/StandaloneMmCoreEntryPoint.h
null
null
null
null
null
source
edk2
/** @file Module entry point library for Standalone MM Drivers. Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR> Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.<BR> Copyright (c) 2018, Linaro, Limited. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pr...
MdePkg/Include/Library/StandaloneMmDriverEntryPoint.h
null
null
null
null
null
source
edk2
/** @file Provides synchronization functions. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /// /// Definitions for SPIN_LOCK /// typedef volatile UINTN SPIN_LOCK; /** Retrieves the architecture-specific spin lock alignment ...
MdePkg/Include/Library/SynchronizationLib.h
null
null
null
null
null
source
edk2
/** @file TdxLib definitions Copyright (c) 2020 - 2021, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /** This function accepts a pending private page, and initialize the page to all-0 using the TD ephemeral private key. @param[in] StartAddre...
MdePkg/Include/Library/TdxLib.h
null
null
null
null
null
source
edk2
/** @file Provides calibrated delay and performance counter services. Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /** Stalls the CPU for at least the given number of microseconds. Stalls the CPU for the number of microse...
MdePkg/Include/Library/TimerLib.h
null
null
null
null
null
source
edk2
/** @file This header file declares Trace Hub related top level APIs. Copyright (c) 2023, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once typedef enum { SeverityNone = 0, SeverityFatal = 1, SeverityError = 2, SeverityWarning = 3, SeverityNo...
MdePkg/Include/Library/TraceHubDebugSysTLib.h
null
null
null
null
null
source
edk2
/** @file Module entry point library for UEFI Applications. Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /// /// Declare the EFI/UEFI Specification Revision to which this driver is implemented /// extern CONST UINT32 _gUefiDr...
MdePkg/Include/Library/UefiApplicationEntryPoint.h
null
null
null
null
null
source
edk2
/** @file Provides a service to retrieve a pointer to the EFI Boot Services Table. Only available to DXE and UEFI module types. Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /// /// Cache the Image Handle /// extern EFI_HANDL...
MdePkg/Include/Library/UefiBootServicesTableLib.h
null
null
null
null
null
source
edk2
/** @file Provides services to decompress a buffer using the UEFI Decompress algorithm. The UEFI Decompress Library enables the decompression of objects that were compressed using the UEFI compression scheme. The UEFI Decompress Library is independent of environment and requires the caller to allocate all re...
MdePkg/Include/Library/UefiDecompressLib.h
null
null
null
null
null
source
edk2
/** @file Module entry point library for UEFI drivers, DXE Drivers, DXE Runtime Drivers, and DXE SMM Drivers. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /// /// Declare the PI Specification Revision that this driver requir...
MdePkg/Include/Library/UefiDriverEntryPoint.h
null
null
null
null
null
source
edk2
/** @file Provides library functions for common UEFI operations. Only available to DXE and UEFI module types. The UEFI Library provides functions and macros that simplify the development of UEFI Drivers and UEFI Applications. These functions and macros help manage EFI events, build simple locks utilizing EF...
MdePkg/Include/Library/UefiLib.h
null
null
null
null
null
source
edk2
/** @file Provides library functions for each of the UEFI Runtime Services. Only available to DXE and UEFI module types. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /** This function allows the caller to determine if UEFI ...
MdePkg/Include/Library/UefiRuntimeLib.h
null
null
null
null
null
source
edk2
/** @file Provides a service to retrieve a pointer to the EFI Runtime Services Table. This library does not contain any functions or macros. It simply exports the global variable gRT that is a pointer to the EFI Runtime Services Table as defined in the UEFI Specification. The global variable gRT must be prei...
MdePkg/Include/Library/UefiRuntimeServicesTableLib.h
null
null
null
null
null
source
edk2
/** @file Provides the functions to submit Scsi commands defined in SCSI-2 specification for SCSI devices. This library class provides the functions to submit SCSI commands defined in SCSI-2 specification for hard drive, CD and DVD devices that are the most common SCSI boot targets used by UEFI platforms. This...
MdePkg/Include/Library/UefiScsiLib.h
null
null
null
null
null
source
edk2
/** @file Provides most USB APIs to support the Hid requests defined in USB Hid 1.1 spec and the standard requests defined in USB 1.1 spec. Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR> Copyright (c) 2024, American Megatrends Intenational LLC. All rights reserved.<BR> SPDX-License-Identifi...
MdePkg/Include/Library/UefiUsbLib.h
null
null
null
null
null
source
edk2
/** @file Provides a unit test framework. This allows tests to focus on testing logic and the framework to focus on runnings, reporting, statistics, etc. Copyright (c) Microsoft Corporation.<BR> Copyright (c) 2020, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ ...
MdePkg/Include/Library/UnitTestLib.h
null
null
null
null
null
source
edk2
/** @file Processor or Compiler specific defines and types for LoongArch Copyright (c) 2022, Loongson Technology Corporation Limited. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once // // Define the processor type so other code can make processor based choices // #defin...
MdePkg/Include/LoongArch64/ProcessorBind.h
null
null
null
null
null
source
edk2
/** @file Present the boot mode values in PI. Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent @par Revision Reference: PI Version 1.2.1A **/ #pragma once /// /// EFI boot mode /// typedef UINT32 EFI_BOOT_MODE; // // 0x21 - 0xf..f are re...
MdePkg/Include/Pi/PiBootMode.h
null
null
null
null
null
source
edk2
/** @file Present the dependency expression values in PI. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent @par Revision Reference: PI Version 1.0 **/ #pragma once /// /// If present, this must be the first and only opcode, /// EFI_DEP_BE...
MdePkg/Include/Pi/PiDependency.h
null
null
null
null
null
source
edk2
/** @file Include file matches things in PI. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent @par Revision Reference: PI Version 1.8.A **/ #pragma once #include <Uefi/UefiMultiPhase.h> #include <Pi/PiMultiPhase.h> /// /// Global Coherencey ...
MdePkg/Include/Pi/PiDxeCis.h
null
null
null
null
null
source
edk2
/** @file The firmware file related definitions in PI. Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent @par Revision Reference: PI Version 1.6. **/ #pragma once #ifndef __PI_FIRMWARE_FILE_H__ #define __PI_FIRMWARE_FILE_H__ #pragma pack(1)...
MdePkg/Include/Pi/PiFirmwareFile.h
null
null
null
null
null
source
edk2
/** @file The firmware volume related definitions in PI. Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent @par Revision Reference: PI Version 1.6 **/ #pragma once #ifndef __PI_FIRMWAREVOLUME_H__ #define __PI_FIRMWAREVOLUME_H__ /// /// EF...
MdePkg/Include/Pi/PiFirmwareVolume.h
null
null
null
null
null
source
edk2
/** @file HOB related definitions in PI. Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent @par Revision Reference: PI Version 1.9 **/ #pragma once // // HobType of EFI_HOB_GENERIC_HEADER. // #define EFI_HOB_TYPE_HANDOFF 0x0001 #d...
MdePkg/Include/Pi/PiHob.h
null
null
null
null
null
source
edk2
/** @file Include file matches things in PI. Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent @par Revision Reference: PI Version 1.3 **/ #pragma once /// /// A 10-bit slave address is or'ed with the following value enabling the /// I2C proto...
MdePkg/Include/Pi/PiI2c.h
null
null
null
null
null
source
edk2
/** @file Common definitions in the Platform Initialization Specification version 1.5 VOLUME 4 Management Mode Core Interface version. Copyright (c) 2017, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Pi/PiMultiPhase.h> #include <Protocol...
MdePkg/Include/Pi/PiMmCis.h
null
null
null
null
null
source
edk2
/** @file Include file matches things in PI for multiple module types. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent @par Revision Reference: These elements are defined in UEFI Platform Initialization Specification 1.8.A **/ #pragma once #...
MdePkg/Include/Pi/PiMultiPhase.h
null
null
null
null
null
source
edk2
/** @file PI PEI master include file. This file should match the PI spec. Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent @par Revision Reference: PI Version 1.8.A **/ #pragma once #include <Uefi/UefiMultiPhase.h> #include <Pi/PiMultiPhase.h...
MdePkg/Include/Pi/PiPeiCis.h
null
null
null
null
null
source
edk2
/** @file This file contains the boot script definitions that are shared between the Boot Script Executor PPI and the Boot Script Save Protocol. Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once // ***************************...
MdePkg/Include/Pi/PiS3BootScript.h
null
null
null
null
null
source
edk2
/** @file Common definitions in the Platform Initialization Specification version 1.4a VOLUME 4 System Management Mode Core Interface version. Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Pi/PiMmCis.h> #include...
MdePkg/Include/Pi/PiSmmCis.h
null
null
null
null
null
source
edk2
/** @file StatusCode related definitions in PI. Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR> Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent @par Revision Reference: These status codes are defined in UEFI Platform I...
MdePkg/Include/Pi/PiStatusCode.h
null
null
null
null
null
source
edk2
/** @file Provides the services required to access a block I/O device during PEI recovery boot mode. The Recovery Module PPI and the Device Recovery Module PPI are device neutral. This PPI is device specific and addresses the most common form of recovery media-block I/O devices such as legacy floppy, CD-ROM,...
MdePkg/Include/Ppi/BlockIo.h
null
null
null
null
null
source
edk2
/** @file Provides the services required to access a block I/O 2 device during PEI recovery boot mode. Copyright (c) 2015, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent @par Revision Reference: This PPI is defined in UEFI Platform Initialization Specification 1.4 Vol...
MdePkg/Include/Ppi/BlockIo2.h
null
null
null
null
null
source
edk2
/** @file This PPI is installed by the platform PEIM to designate that a recovery boot is in progress. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent @par Revision Reference: This PPI is introduced in PI Version 1.0. **/ #pragma once ...
MdePkg/Include/Ppi/BootInRecoveryMode.h
null
null
null
null
null
source
edk2
/** @file Defines the APIs that enable PEI services to work with the underlying capsule capabilities of the platform. Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent @par Revision Reference: This PPI is introduced in PI Version 1.4. **/ #pr...
MdePkg/Include/Ppi/Capsule.h
null
null
null
null
null
source
edk2
/** @file This PPI provides a set of memory and I/O-based services. The perspective of the services is that of the processor, not the bus or system. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent @par Revision Reference: This PPI is introduc...
MdePkg/Include/Ppi/CpuIo.h
null
null
null
null
null
source
edk2
/** @file Provides decompression services to the PEI Foundation. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent @par Revision Reference: This PPI is introduced in PI Version 1.0. **/ #pragma once #define EFI_PEI_DECOMPRESS_PPI_GUID \ ...
MdePkg/Include/Ppi/Decompress.h
null
null
null
null
null
source
edk2
/** @file EFI Delayed Dispatch PPI as defined in the PI 1.8A Specification Provide timed event service in PEI Copyright (c) 2020, American Megatrends International LLC. All rights reserved. Copyright (c) Microsoft Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /// ///...
MdePkg/Include/Ppi/DelayedDispatch.h
null
null
null
null
null
source
edk2
/** @file This file declares the Device Recovery Module PPI. The interface of this PPI does the following: - Reports the number of recovery DXE capsules that exist on the associated device(s) - Finds the requested firmware binary capsule - Loads that capsule into memory A device can be either a grou...
MdePkg/Include/Ppi/DeviceRecoveryModule.h
null
null
null
null
null
source
edk2
/** @file This file declares DXE Initial Program Load PPI. When the PEI core is done it calls the DXE IPL PPI to load the DXE Foundation. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent @par Revision Reference: This PPI is introduced in P...
MdePkg/Include/Ppi/DxeIpl.h
null
null
null
null
null
source
edk2
/** @file This PPI will be installed at the end of PEI for all boot paths, including normal, recovery, and S3. It allows for PEIMs to possibly quiesce hardware, build handoff information for the next phase of execution, or provide some terminal processing behavior. Copyright (c) 2006 - 2018, Intel Corporatio...
MdePkg/Include/Ppi/EndOfPeiPhase.h
null
null
null
null
null
source
edk2
/** @file This file provides functions for accessing a memory-mapped firmware volume of a specific format. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent @par Revision Reference: This PPI is from PI Version 1.0 errata. **/ #pragma once ...
MdePkg/Include/Ppi/FirmwareVolume.h
null
null
null
null
null
source
edk2
/** @file This file provides location and format of a firmware volume. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent @par Revision Reference: This PPI is introduced in PI Version 1.0. **/ #pragma once #define EFI_PEI_FIRMWARE_VOLUME_IN...
MdePkg/Include/Ppi/FirmwareVolumeInfo.h
null
null
null
null
null