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 PEI Services Table Pointer Library. This library is used for PEIM which does executed from flash device directly but executed in memory. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiPei.h> #include <Library/Pe...
MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointer.c
null
null
null
null
null
source
edk2
/** @file PEI Services Table Pointer Library for IA-32 and x64. According to PI specification, the peiservice pointer is stored prior at IDT table in IA32 and x64 architecture. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include ...
MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointer.c
null
null
null
null
null
source
edk2
/** @file PEI Services Table Pointer Library For Reigseter Mechanism. This library is used for PEIM which does executed from flash device directly but executed in memory. Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR> Copyright (c) 2011 Hewlett-Packard Corporation. All rights reserve...
MdePkg/Library/PeiServicesTablePointerLibKs0/PeiServicesTablePointer.c
null
null
null
null
null
source
edk2
/** @file PEI Services Table Pointer Library. According to PI specification, the peiservice pointer is stored in the SSCRATCH register of RISC-V architecture. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> Copyright (c) 2025, Ventana Micro Systems Inc. All rights reserved.<BR> SPD...
MdePkg/Library/PeiServicesTablePointerLibRiscV/PeiServicesTablePointer.c
null
null
null
null
null
source
edk2
/** @file Internal header file for Smbus library. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <PiPei.h> #include <Ppi/Smbus2.h> #include <Library/SmbusLib.h> #include <Library/DebugLib.h> #include <Library/PeiServic...
MdePkg/Library/PeiSmbusLibSmbus2Ppi/InternalSmbusLib.h
null
null
null
null
null
source
edk2
/** @file Implementation of SmBusLib class library for PEI phase. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "InternalSmbusLib.h" /** Gets Smbus PPIs. This internal function retrieves Smbus PPI from PPI database. @param V...
MdePkg/Library/PeiSmbusLibSmbus2Ppi/PeiSmbusLib.c
null
null
null
null
null
source
edk2
/** @file Implementation of SmBusLib class library for PEI phase. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "InternalSmbusLib.h" /** Executes an SMBUS quick read command. Executes an SMBUS quick read command on the SMBUS de...
MdePkg/Library/PeiSmbusLibSmbus2Ppi/SmbusLib.c
null
null
null
null
null
source
edk2
/** @file Entry point to a PEIM. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiPei.h> #include <Library/PeimEntryPoint.h> #include <Library/DebugLib.h> /** The entry point of PE/COFF Image for a PEIM. This function is the ...
MdePkg/Library/PeimEntryPoint/PeimEntryPoint.c
null
null
null
null
null
source
edk2
/** @file Null instance of RegisterFilterLib. Copyright (c) 2021 Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Library/RegisterFilterLib.h> /** Filter IO read operation before read IO port. It is used to filter IO read operation. It will return ...
MdePkg/Library/RegisterFilterLibNull/RegisterFilterLibNull.c
null
null
null
null
null
source
edk2
/** @file Timer Library functions built upon local APIC on IA32/x64. Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Base.h> #include <Library/TimerLib.h> #include <Library/BaseLib.h> #include <Library/IoLib.h> #include <Library/...
MdePkg/Library/SecPeiDxeTimerLibCpu/X86TimerLib.c
null
null
null
null
null
source
edk2
/** @file NULL instance of SmiHandlerProfile Library. Copyright (c) 2017, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiMm.h> #include <Library/SmiHandlerProfileLib.h> /** This function is called by SmmChildDispatcher module to report a new SMI ha...
MdePkg/Library/SmiHandlerProfileLibNull/SmiHandlerProfileLibNull.c
null
null
null
null
null
source
edk2
/** @file SMM CPU Rendezvous sevice implement. Copyright (c) 2022, Intel Corporation. All rights reserved.<BR> Copyright (C) 2025 Advanced Micro Devices, Inc. All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Library/DebugLib.h> #include <Library/SmmCpuRendezvousLib.h> /** T...
MdePkg/Library/SmmCpuRendezvousLibNull/SmmCpuRendezvousLibNull.c
null
null
null
null
null
source
edk2
/** @file Instance of SMM IO check library. SMM IO check library library implementation. This library consumes GCD to collect all valid IO space defined by a platform. A platform may have its own SmmIoLib instance to exclude more IO space. Copyright (c) 2017, Intel Corporation. All rights reserved.<BR> SP...
MdePkg/Library/SmmIoLib/SmmIoLib.c
null
null
null
null
null
source
edk2
/** @file High-level Io/Mmio functions. All assertions for bit field operations are handled bit field functions in the Base Library. Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent The following IoLib instances share the same version of ...
MdePkg/Library/SmmIoLibSmmCpuIo2/IoHighLevel.c
null
null
null
null
null
source
edk2
/** @file I/O Library. The implementation of I/O operation for this library instance are based on EFI_CPU_IO_PROTOCOL. Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR> Copyright (c) 2017, AMD Incorporated. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #i...
MdePkg/Library/SmmIoLibSmmCpuIo2/IoLib.c
null
null
null
null
null
source
edk2
/** @file I/O Library MMIO Buffer Functions. Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "SmmCpuIoLibInternal.h" /** Copy data from MMIO region to system memory by using 8-bit access. Copy data from MMIO region specified...
MdePkg/Library/SmmIoLibSmmCpuIo2/IoLibMmioBuffer.c
null
null
null
null
null
source
edk2
/** @file Internal include file of SMM CPU IO Library. It includes all necessary protocol/library class's header file for implementation of IoLib library instance. It is included all source code of this library instance. Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Id...
MdePkg/Library/SmmIoLibSmmCpuIo2/SmmCpuIoLibInternal.h
null
null
null
null
null
source
edk2
/** @file NULL instance of SMM Library. Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Base.h> #include <Library/SmmLib.h> /** Triggers an SMI at boot time. This function triggers a software SMM interrupt at boot time. **...
MdePkg/Library/SmmLibNull/SmmLibNull.c
null
null
null
null
null
source
edk2
/** @file Instance of SMM memory check library. SMM memory check library library implementation. This library consumes SMM_ACCESS2_PROTOCOL to get SMRAM information. In order to use this library instance, the platform should produce all SMRAM range via SMM_ACCESS2_PROTOCOL, including the range for firmware (li...
MdePkg/Library/SmmMemLib/SmmMemLib.c
null
null
null
null
null
source
edk2
/** @file Support routines for memory allocation routines based on SMM Services Table services for SMM phase drivers. The PI System Management Mode Core Interface Specification only allows the use of EfiRuntimeServicesCode and EfiRuntimeServicesData memory types for memory allocations through the SMM Service...
MdePkg/Library/SmmMemoryAllocationLib/MemoryAllocationLib.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. Portions copyright (c) 2016, ...
MdePkg/Library/SmmPciExpressLib/PciExpressLib.c
null
null
null
null
null
source
edk2
/** @file PCI Library using SMM PCI Root Bridge I/O Protocol. Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiSmm.h> #include <Protocol/SmmPciRootBridgeIo.h> #include <Library/PciLib.h> #include <Library/DebugLib.h> #include <Li...
MdePkg/Library/SmmPciLibPciRootBridgeIo/PciLib.c
null
null
null
null
null
source
edk2
/** @file SMM Periodic SMI Library. Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiSmm.h> #include <Protocol/SmmPeriodicTimerDispatch2.h> #include <Library/BaseLib.h> #include <Library/BaseMemoryLib.h> #include <Library/Sync...
MdePkg/Library/SmmPeriodicSmiLib/SmmPeriodicSmiLib.c
null
null
null
null
null
source
edk2
/** @file SMM Services Table Library. Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiSmm.h> #include <Protocol/SmmBase2.h> #include <Library/SmmServicesTableLib.h> #include <Library/DebugLib.h> EFI_SMM_SYSTEM_TABLE2 *gSmst =...
MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.c
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 **/ #include <Base.h> #include <Uefi.h> /** This function gets called when a compiler generated stack cookie fails. This allows a platform to hook this ...
MdePkg/Library/StackCheckFailureHookLibNull/StackCheckFailureHook.c
null
null
null
null
null
source
edk2
# StackCheckLib Overview ## Table of Contents - [StackCheckLib](#stackchecklib) - [Table of Contents](#table-of-contents) - [Introduction and Library Instances](#introduction-and-library-instances) - [StackCheckLib](#stackchecklib) - [DynamicStackCookieEntryPointLib](#dynamicstackcookieentrypointlib) ...
MdePkg/Library/StackCheckLib/Readme.md
null
null
null
null
null
source
edk2
/** @file Provides the required functionality for handling stack cookie check failures in GCC. Copyright (c) Microsoft Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Base.h> #include <Library/DebugLib.h> #include <Library/BaseLib.h> #include <Library/StackCheckLib.h> #include <Librar...
MdePkg/Library/StackCheckLib/StackCheckLibCommonGcc.c
null
null
null
null
null
source
edk2
/** @file Provides the required functionality for handling stack cookie check failures for MSVC. Copyright (c) Microsoft Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Base.h> #include <Library/DebugLib.h> #include <Library/BaseLib.h> #include <Library/StackCheckLib.h> #include <Libr...
MdePkg/Library/StackCheckLib/StackCheckLibCommonMsvc.c
null
null
null
null
null
source
edk2
//------------------------------------------------------------------------------ // AArch64/StackCookieInterrupt.S // // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: BSD-2-Clause-Patent //------------------------------------------------------------------------------ .text //-------------------...
MdePkg/Library/StackCheckLib/AArch64/StackCookieInterrupt.S
null
null
null
null
null
source
edk2
;------------------------------------------------------------------------------ ; AArch64/StackCookieInterrupt.asm ; ; Copyright (c) Microsoft Corporation. ; SPDX-License-Identifier: BSD-2-Clause-Patent ;------------------------------------------------------------------------------ EXPORT TriggerStackCookieInterru...
MdePkg/Library/StackCheckLib/AArch64/StackCookieInterrupt.asm
null
null
null
null
null
source
edk2
/** @file This file is empty to allow host applications to use the MSVC C runtime lib that provides stack cookie definitions without breaking the build. Copyright (c) Microsoft Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi.h> extern VOID *__security_cookie;
MdePkg/Library/StackCheckLibNull/StackCheckLibHostApplicationMsvc.c
null
null
null
null
null
source
edk2
/** @file Defines the stack cookie variable for GCC and Clang compilers. Copyright (c) Microsoft Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi.h> #include <Library/StackCheckLib.h> VOID *__stack_chk_guard = (VOID *)(UINTN)0x0; /** This function gets called when a gcc/clang ge...
MdePkg/Library/StackCheckLibNull/StackCheckLibNullGcc.c
null
null
null
null
null
source
edk2
/** @file Defines the stack cookie variable for GCC, Clang and MSVC compilers. Copyright (c) Microsoft Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi.h> #include <Library/StackCheckLib.h> VOID *__security_cookie = (VOID *)(UINTN)0x0;
MdePkg/Library/StackCheckLibNull/StackCheckLibNullMsvc.c
null
null
null
null
null
source
edk2
/** @file Entry point to the Standalone Mm Core. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> Copyright (c) Microsoft Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiMm.h> #include <Library/StandaloneMmCoreEntryPoint.h> #include <Library/DebugLib.h> #include <Li...
MdePkg/Library/StandaloneMmCoreEntryPoint/X64/StandaloneMmCoreEntryPoint.c
null
null
null
null
null
source
edk2
/** @file Entry point to a Standalone MM driver. Copyright (c) 2015 - 2021, Intel Corporation. All rights reserved.<BR> Copyright (c) 2016 - 2018, ARM Ltd. All rights reserved.<BR> Copyright (c) 2018, Linaro, Limited. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiMm.h> #in...
MdePkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriverEntryPoint.c
null
null
null
null
null
source
edk2
/** @file MM Services Table Library. Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR> Copyright (c) 2018, Linaro, Ltd. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiMm.h> #include <Library/MmServicesTableLib.h> #include <Library/DebugLib.h> EFI_M...
MdePkg/Library/StandaloneMmServicesTableLib/StandaloneMmServicesTableLib.c
null
null
null
null
null
source
edk2
/** @file Unaccepted memory is a special type of private memory. In Td guest TDCALL [TDG.MEM.PAGE.ACCEPT] is invoked to accept the unaccepted memory before use it. Copyright (c) 2020 - 2021, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Library/Base...
MdePkg/Library/TdxLib/AcceptPages.c
null
null
null
null
null
source
edk2
/** @file Extends one of the RTMR measurement registers in TDCS with the provided extension data in memory. Copyright (c) 2020 - 2021, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Library/BaseLib.h> #include <Library/DebugLib.h> #include <Uefi/UefiBa...
MdePkg/Library/TdxLib/Rtmr.c
null
null
null
null
null
source
edk2
/** @file Fetch the Tdx info. 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 <IndustryStandard/Tdx.h> #include <Uefi/UefiBaseType.h> #include <Library/TdxLib.h> #include <Libra...
MdePkg/Library/TdxLib/TdInfo.c
null
null
null
null
null
source
edk2
/** @file Null stub of TdxLib Copyright (c) 2021, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi/UefiBaseType.h> #include <Library/TdxLib.h> /** This function accepts a pending private page, and initialize the page to all-0 using the TD ephemer...
MdePkg/Library/TdxLib/TdxLibNull.c
null
null
null
null
null
source
edk2
/** @file Null library of TraceHubDebugSysTLib. Copyright (c) 2023, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Base.h> #include <Library/TraceHubDebugSysTLib.h> /** Write debug string to specified Trace Hub MMIO address. @param[in] SeverityType ...
MdePkg/Library/TraceHubDebugSysTLibNull/TraceHubDebugSysTLibNull.c
null
null
null
null
null
source
edk2
/** @file Entry point library instance to a UEFI application. Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi.h> #include <Library/UefiApplicationEntryPoint.h> #include <Library/BaseLib.h> #include <Library/DebugLib.h> #include ...
MdePkg/Library/UefiApplicationEntryPoint/ApplicationEntryPoint.c
null
null
null
null
null
source
edk2
/** @file This library retrieve the EFI_BOOT_SERVICES pointer from EFI system table in library's constructor. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi.h> #include <Library/UefiBootServicesTableLib.h> #include <Libr...
MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.c
null
null
null
null
null
source
edk2
/** @file UEFI Debug Library that sends messages to the Console Output Device in the EFI System Table. Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi.h> #include <Library/DebugLib.h> #include <Library/PrintLib.h> #include ...
MdePkg/Library/UefiDebugLibConOut/DebugLib.c
null
null
null
null
null
source
edk2
/** @file UEFI Dxe DebugLib constructor that prevent some debug service after ExitBootServices event, because some pointer is nulled at that phase. Copyright (c) 2018, Microsoft Corporation Copyright (c) 2015 - 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **...
MdePkg/Library/UefiDebugLibConOut/DebugLibConstructor.c
null
null
null
null
null
source
edk2
/** @file UEFI Debug Library that sends messages to EFI_DEBUGPORT_PROTOCOL.Write. Copyright (c) 2015 - 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi.h> #include <Library/DebugLib.h> #include <Library/PrintLib.h> #include <Library/PcdLib.h> #i...
MdePkg/Library/UefiDebugLibDebugPortProtocol/DebugLib.c
null
null
null
null
null
source
edk2
/** @file UEFI Dxe DebugLib constructor that prevent some debug service after ExitBootServices event, because some pointer is nulled at that phase. Copyright (c) 2018, Microsoft Corporation Copyright (c) 2015 - 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **...
MdePkg/Library/UefiDebugLibDebugPortProtocol/DebugLibConstructor.c
null
null
null
null
null
source
edk2
/** @file UEFI Debug Lib that sends messages to the Standard Error Device in the EFI System Table. Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi.h> #include <Library/DebugLib.h> #include <Library/PrintLib.h> #include <Lib...
MdePkg/Library/UefiDebugLibStdErr/DebugLib.c
null
null
null
null
null
source
edk2
/** @file DevicePathFromText protocol as defined in the UEFI 2.0 specification. Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "UefiDevicePathLib.h" /** Duplicates a string. @param Src Source string. @return The duplicate...
MdePkg/Library/UefiDevicePathLib/DevicePathFromText.c
null
null
null
null
null
source
edk2
/** @file DevicePathToText protocol as defined in the UEFI 2.0 specification. (C) Copyright 2015 Hewlett-Packard Development Company, L.P.<BR> Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "UefiDevicePathLib.h" /** Concatenates...
MdePkg/Library/UefiDevicePathLib/DevicePathToText.c
null
null
null
null
null
source
edk2
/** @file Device Path services. The thing to remember is device paths are built out of nodes. The device path is terminated by an end node that is length sizeof(EFI_DEVICE_PATH_PROTOCOL). That would be why there is sizeof(EFI_DEVICE_PATH_PROTOCOL) all over this file. The only place where multi-instance devic...
MdePkg/Library/UefiDevicePathLib/DevicePathUtilities.c
null
null
null
null
null
source
edk2
/** @file Device Path services. The thing to remember is device paths are built out of nodes. The device path is terminated by an end node that is length sizeof(EFI_DEVICE_PATH_PROTOCOL). That would be why there is sizeof(EFI_DEVICE_PATH_PROTOCOL) all over this file. The only place where multi-instance devic...
MdePkg/Library/UefiDevicePathLib/DevicePathUtilitiesBase.c
null
null
null
null
null
source
edk2
/** @file Device Path services. The thing to remember is device paths are built out of nodes. The device path is terminated by an end node that is length sizeof(EFI_DEVICE_PATH_PROTOCOL). That would be why there is sizeof(EFI_DEVICE_PATH_PROTOCOL) all over this file. The only place where multi-instance devic...
MdePkg/Library/UefiDevicePathLib/DevicePathUtilitiesDxeSmm.c
null
null
null
null
null
source
edk2
/** @file Device Path services. The thing to remember is device paths are built out of nodes. The device path is terminated by an end node that is length sizeof(EFI_DEVICE_PATH_PROTOCOL). That would be why there is sizeof(EFI_DEVICE_PATH_PROTOCOL) all over this file. The only place where multi-instance devic...
MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.c
null
null
null
null
null
source
edk2
/** @file Definition for Device Path library. Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Uefi.h> #include <Protocol/DevicePathUtilities.h> #include <Protocol/DebugPort.h> #include <Protocol/DevicePathToText.h> #inc...
MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.h
null
null
null
null
null
source
edk2
/** @file Device Path services. The thing to remember is device paths are built out of nodes. The device path is terminated by an end node that is length sizeof(EFI_DEVICE_PATH_PROTOCOL). That would be why there is sizeof(EFI_DEVICE_PATH_PROTOCOL) all over this file. The only place where multi-instance devic...
MdePkg/Library/UefiDevicePathLib/UefiDevicePathLibOptionalDevicePathProtocol.c
null
null
null
null
null
source
edk2
/** @file Library instance that implement UEFI Device Path Library class based on protocol gEfiDevicePathUtilitiesProtocolGuid. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi.h> #include <Protocol/DevicePathUtilities.h> ...
MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLib.c
null
null
null
null
null
source
edk2
/** @file Entry point to a EFI/DXE driver. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi.h> #include <Protocol/LoadedImage.h> #include <Library/UefiDriverEntryPoint.h> #include <Library/BaseLib.h> #include <Library/DebugLib....
MdePkg/Library/UefiDriverEntryPoint/DriverEntryPoint.c
null
null
null
null
null
source
edk2
/** @file Provides interface to EFI_FILE_HANDLE functionality. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved. <BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi.h> #include <Protocol/SimpleFileSystem.h> #include <Protocol/UnicodeCollation.h> #include <Guid/FileInfo.h> #...
MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.c
null
null
null
null
null
source
edk2
/** @file This module provides help function for finding ACPI table. Copyright (c) 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "UefiLibInternal.h" #include <IndustryStandard/Acpi.h> #include <Guid/Acpi.h> /** This function scans ACPI table in X...
MdePkg/Library/UefiLib/Acpi.c
null
null
null
null
null
source
edk2
/** @file This module provide help function for displaying unicode string. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "UefiLibInternal.h" typedef struct { CHAR16 WChar; UINT32 Width; } UNICODE_WIDTH_ENTRY; #define...
MdePkg/Library/UefiLib/Console.c
null
null
null
null
null
source
edk2
/** @file Library functions that abstract driver model protocols installation and uninstallation. Copyright (c) 2019, NVIDIA Corporation. All rights reserved. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "UefiLibInternal.h"...
MdePkg/Library/UefiLib/UefiDriverModel.c
null
null
null
null
null
source
edk2
/** @file 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 EFI Task Priority Levels (TPLs), install EFI Driver Model related protocols, manage Unicode string tables...
MdePkg/Library/UefiLib/UefiLib.c
null
null
null
null
null
source
edk2
/** @file Internal include file for UefiLib. Copyright (c) 2007 - 2017, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Uefi.h> #include <Protocol/DriverBinding.h> #include <Protocol/ComponentName.h> #include <Protocol/ComponentName2.h> #incl...
MdePkg/Library/UefiLib/UefiLibInternal.h
null
null
null
null
null
source
edk2
/** @file Mde UEFI library API implementation. Print to StdErr or ConOut defined in EFI_SYSTEM_TABLE Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "UefiLibInternal.h" GLOBAL_REMOVE_IF_UNREFERENCED EFI_GRAPHICS_OUTPUT_BLT_PIXE...
MdePkg/Library/UefiLib/UefiLibPrint.c
null
null
null
null
null
source
edk2
/** @file Library functions that abstract areas of conflict between framework and UEFI 2.0. Help Port Framework code that has conflicts with UEFI 2.0 by hiding the old conflicts with library functions and supporting implementations of the old (EDK/EFI 1.10) and new (EDK II/UEFI 2.0) way. This module is a DXE d...
MdePkg/Library/UefiLib/UefiNotTiano.c
null
null
null
null
null
source
edk2
/** @file Support routines for memory allocation routines based on boot services for Dxe phase drivers. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi.h> #include <Library/MemoryAllocationLib.h> #include <Library/UefiBoo...
MdePkg/Library/UefiMemoryAllocationLib/MemoryAllocationLib.c
null
null
null
null
null
source
edk2
/** @file Base Memory Library functions implementation bases on Uefi Boot Service. Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "MemLibInternals.h" /** Copies a source buffer to a destination buffer, and returns the destinat...
MdePkg/Library/UefiMemoryLib/MemLib.c
null
null
null
null
null
source
edk2
/** @file Architecture Independent Base Memory Library Implementation. The following BaseMemoryLib instances contain the same copy of this file: BaseMemoryLib PeiMemoryLib UefiMemoryLib Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Pat...
MdePkg/Library/UefiMemoryLib/MemLibGeneric.c
null
null
null
null
null
source
edk2
/** @file Declaration of internal functions for Base Memory Library. Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Uefi.h> #include <Library/BaseMemoryLib.h> #include <Library/BaseLib.h> #include <Library/DebugLi...
MdePkg/Library/UefiMemoryLib/MemLibInternals.h
null
null
null
null
null
source
edk2
/** @file SetMem() implementation. The following BaseMemoryLib instances contain the same copy of this file: BaseMemoryLib BaseMemoryLibMmx BaseMemoryLibSse2 BaseMemoryLibRepStr BaseMemoryLibOptDxe BaseMemoryLibOptPei PeiMemoryLib UefiMemoryLib Copyright (c) 2006 - 2018, Intel C...
MdePkg/Library/UefiMemoryLib/SetMemWrapper.c
null
null
null
null
null
source
edk2
/** @file PCI Library using PCI Root Bridge I/O Protocol. Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Protocol/PciRootBridgeIo.h> #include <Library/PciLib.h> #include <Library/BaseLib.h> #include <Library/UefiBootServicesTab...
MdePkg/Library/UefiPciLibPciRootBridgeIo/PciLib.c
null
null
null
null
null
source
edk2
/** @file PCI Segment Library implementation using PCI Root Bridge I/O Protocol. Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "PciSegmentLib.h" // // Global variable to record data of PCI Root Bridge I/O Protocol instances // ...
MdePkg/Library/UefiPciSegmentLibPciRootBridgeIo/PciSegmentLib.c
null
null
null
null
null
source
edk2
/** @file Include file of PciSegmentPciRootBridgeIo Library. Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Protocol/PciRootBridgeIo.h> #include <Library/PciSegmentLib.h> #include <Library/BaseLib.h> #include <Lib...
MdePkg/Library/UefiPciSegmentLibPciRootBridgeIo/PciSegmentLib.h
null
null
null
null
null
source
edk2
/** @file UEFI Runtime Library implementation for non IPF processor types. This library hides the global variable for the EFI Runtime Services so the caller does not need to deal with the possibility of being called from an OS virtual address space. All pointer values are different for a virtual mapping than...
MdePkg/Library/UefiRuntimeLib/RuntimeLib.c
null
null
null
null
null
source
edk2
/** @file UEFI Runtime Services Table Library. This library instance retrieve EFI_RUNTIME_SERVICES pointer from EFI system table in library's constructor. Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi.h> #include <Lib...
MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.c
null
null
null
null
null
source
edk2
/** @file UEFI SCSI Library implementation Copyright (c) 2006 - 2020, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi.h> #include <Library/BaseLib.h> #include <Library/DebugLib.h> #include <Library/UefiScsiLib.h> #include <Library/BaseMemoryLib.h> #in...
MdePkg/Library/UefiScsiLib/UefiScsiLib.c
null
null
null
null
null
source
edk2
/** @file The library provides USB HID Class standard and specific requests defined in USB HID Firmware Specification 7 section : Requests. Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "UefiUsbLibInternal.h" // // Hid Requ...
MdePkg/Library/UefiUsbLib/Hid.c
null
null
null
null
null
source
edk2
/** @file Common header file shared by all source files. This file includes package header files, library classes and protocol, PPI & GUID definitions. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> Copyright (c) 2024, American Megatrends International LLC. All rights reserved.<BR> ...
MdePkg/Library/UefiUsbLib/UefiUsbLibInternal.h
null
null
null
null
null
source
edk2
/** @file The library provides the USB Standard Device Requests defined in Usb specification 9.4 section. Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR> Copyright (c) 2024, American Megatrends International LLC. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent *...
MdePkg/Library/UefiUsbLib/UsbDxeLib.c
null
null
null
null
null
source
edk2
/** @file Main routine for BaseLib google tests. Copyright (c) 2023 Pedro Falcato. All rights reserved<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Library/GoogleTestLib.h> int main ( int argc, char *argv[] ) { testing::InitGoogleTest (&argc, argv); return RUN_ALL_TESTS (); }
MdePkg/Test/GoogleTest/Library/BaseLib/TestBaseLibMain.cpp
null
null
null
null
null
source
edk2
/** @file Unit tests for BaseLib's checksum capabilities. Copyright (c) 2023 Pedro Falcato. All rights reserved<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Library/GoogleTestLib.h> extern "C" { #include <Base.h> #include <Library/BaseLib.h> } // Precomputed crc32c and crc16-ansi for "hel...
MdePkg/Test/GoogleTest/Library/BaseLib/TestCheckSum.cpp
null
null
null
null
null
source
edk2
/** @file IA32-specific functions for unit-testing INTN and UINTN functions in SafeIntLib. Copyright (c) Microsoft Corporation.<BR> Copyright (c) 2019 - 2020, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Library/GoogleTestLib.h> extern "C" { #incl...
MdePkg/Test/GoogleTest/Library/BaseSafeIntLib/SafeIntLibUintnIntnUnitTests32.cpp
null
null
null
null
null
source
edk2
/** @file x64-specific functions for unit-testing INTN and UINTN functions in SafeIntLib. Copyright (c) Microsoft Corporation.<BR> Copyright (c) 2019 - 2020, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Library/GoogleTestLib.h> extern "C" { #inclu...
MdePkg/Test/GoogleTest/Library/BaseSafeIntLib/SafeIntLibUintnIntnUnitTests64.cpp
null
null
null
null
null
source
edk2
/** @file UEFI OS based application for unit testing the SafeIntLib. Copyright (c) Microsoft Corporation.<BR> Copyright (c) 2018 - 2022, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Library/GoogleTestLib.h> extern "C" { #include <Base.h> #include <...
MdePkg/Test/GoogleTest/Library/BaseSafeIntLib/TestBaseSafeIntLib.cpp
null
null
null
null
null
source
edk2
/** @file MockCpuLib.h Google Test mocks for the CPU Library Copyright (c) Microsoft Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Library/GoogleTestLib.h> #include <Library/FunctionMockLib.h> extern "C" { #include <Uefi.h> } struct MockCpuLib { MOCK_INTERFACE_DECLA...
MdePkg/Test/Mock/Include/GoogleTest/Library/MockCpuLib.h
null
null
null
null
null
source
edk2
/** @file Google Test mocks for DevicePathLib Copyright (c) 2025, Yandex. All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Library/GoogleTestLib.h> #include <Library/FunctionMockLib.h> extern "C" { #include <Uefi.h> #include <Library/DevicePathLib.h> } struct Mo...
MdePkg/Test/Mock/Include/GoogleTest/Library/MockDevicePathLib.h
null
null
null
null
null
source
edk2
/** @file Google Test mocks for FdtLib Copyright (c) 2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. Copyright (c) 2023, Intel Corporation. All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Library/GoogleTestLib.h> #include <Library/FunctionMockLib.h> ext...
MdePkg/Test/Mock/Include/GoogleTest/Library/MockFdtLib.h
null
null
null
null
null
source
edk2
/** @file Google Test mocks for HobLib Copyright (c) 2023, Intel Corporation. All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Library/GoogleTestLib.h> #include <Library/FunctionMockLib.h> extern "C" { #include <Pi/PiMultiPhase.h> #include <Uefi.h> #include <Li...
MdePkg/Test/Mock/Include/GoogleTest/Library/MockHobLib.h
null
null
null
null
null
source
edk2
/** @file MockPciSegmentLib.h Google Test mocks for PciSegmentLib Copyright (c) Microsoft Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Library/GoogleTestLib.h> #include <Library/FunctionMockLib.h> extern "C" { #include <Uefi.h> } struct MockPciSegmentLib { MOCK_INT...
MdePkg/Test/Mock/Include/GoogleTest/Library/MockPciSegmentLib.h
null
null
null
null
null
source
edk2
/** @file Google Test mocks for PeiServicesLib Copyright (c) 2023, Intel Corporation. All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Library/GoogleTestLib.h> #include <Library/FunctionMockLib.h> extern "C" { #include <PiPei.h> #include <Uefi.h> #include <Libr...
MdePkg/Test/Mock/Include/GoogleTest/Library/MockPeiServicesLib.h
null
null
null
null
null
source
edk2
/** @file MockPostCodeLib.h Google Test mocks for PostCodeLib Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved. Copyright (c) Microsoft Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Library/GoogleTestLib.h> #include <Library/FunctionMockLib.h> extern "C...
MdePkg/Test/Mock/Include/GoogleTest/Library/MockPostCodeLib.h
null
null
null
null
null
source
edk2
/** @file MockReportStatusCodeLib.h Google Test mocks for ReportStatusCodeLib Copyright (c) Microsoft Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Library/GoogleTestLib.h> #include <Library/FunctionMockLib.h> extern "C" { #include <Uefi.h> #include <Library/ReportSt...
MdePkg/Test/Mock/Include/GoogleTest/Library/MockReportStatusCodeLib.h
null
null
null
null
null
source
edk2
/** @file Google Test mocks for the SafeInt Library Copyright (c) Microsoft Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Library/GoogleTestLib.h> #include <Library/FunctionMockLib.h> extern "C" { #include <Uefi.h> #include <Library/SafeIntLib.h> } struct MockSafeIn...
MdePkg/Test/Mock/Include/GoogleTest/Library/MockSafeIntLib.h
null
null
null
null
null
source
edk2
/** @file MockSmmServicesTableLib.h Google Test mocks for SmmServicesTableLib Copyright (c) Microsoft Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Library/GoogleTestLib.h> #include <Library/FunctionMockLib.h> extern "C" { #include <Uefi.h> #include <Library/SmmServic...
MdePkg/Test/Mock/Include/GoogleTest/Library/MockSmmServicesTableLib.h
null
null
null
null
null
source
edk2
/** @file Google Test mocks for UefiBootServicesTableLib Copyright (c) Microsoft Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Library/GoogleTestLib.h> #include <Library/FunctionMockLib.h> extern "C" { #include <Uefi.h> #include <Library/UefiBootServicesTableLib.h> } ...
MdePkg/Test/Mock/Include/GoogleTest/Library/MockUefiBootServicesTableLib.h
null
null
null
null
null
source
edk2
/** @file Google Test mocks for UefiLib Copyright (c) 2022, Intel Corporation. All rights reserved. Copyright (c) Microsoft Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Library/GoogleTestLib.h> #include <Library/FunctionMockLib.h> extern "C" { #include <Uefi.h> #in...
MdePkg/Test/Mock/Include/GoogleTest/Library/MockUefiLib.h
null
null
null
null
null
source
edk2
/** @file Google Test mocks for UefiRuntimeServicesTableLib Copyright (c) 2022, Intel Corporation. All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Library/GoogleTestLib.h> #include <Library/FunctionMockLib.h> extern "C" { #include <Uefi.h> #include <Library/Uefi...
MdePkg/Test/Mock/Include/GoogleTest/Library/MockUefiRuntimeServicesTableLib.h
null
null
null
null
null
source
edk2
/** @file This file declares a mock of Hash2 Protocol. Copyright (c) Microsoft Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Library/GoogleTestLib.h> #include <Library/FunctionMockLib.h> extern "C" { #include <Uefi.h> #include <Protocol/Hash2.h> } struct MockHash2 {...
MdePkg/Test/Mock/Include/GoogleTest/Protocol/MockHash2.h
null
null
null
null
null
source
edk2
/** @file MockHiiDatabase.h This file declares a mock of HiiDatabase Protocol. Copyright (c) Microsoft Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Library/GoogleTestLib.h> #include <Library/FunctionMockLib.h> extern "C" { #include <Uefi.h> #include <Protocol/HiiDat...
MdePkg/Test/Mock/Include/GoogleTest/Protocol/MockHiiDatabase.h
null
null
null
null
null