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 Serial Port Library backed by SBI console. Meant for SEC and PEI (XIP) environments. Due to limitations of SBI console interface and XIP environments (on use of globals), this library instance does not implement reading and polling the serial port. See BaseSerialPortLibRiscVSbiLibRam.c for the f...
MdePkg/Library/BaseSerialPortLibRiscVSbiLib/BaseSerialPortLibRiscVSbiLib.c
null
null
null
null
null
source
edk2
/** @file Serial Port Library backed by SBI console. Meant for PrePi and DXE environments (where globals are allowed). See BaseSerialPortLibRiscVSbiLib.c for a reduced variant appropriate for SEC and PEI (XIP) environments. Copyright (c) 2023, Intel Corporation. All rights reserved.<BR> SPDX-License-Ident...
MdePkg/Library/BaseSerialPortLibRiscVSbiLib/BaseSerialPortLibRiscVSbiLibRam.c
null
null
null
null
null
source
edk2
/** @file Serial Port Library backed by SBI console. Common functionality shared by PrePiDxeSerialPortLibRiscVSbi and PrePiDxeSerialPortLibRiscVSbiRam implementations. Copyright (c) 2023, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Common.h" /** ...
MdePkg/Library/BaseSerialPortLibRiscVSbiLib/Common.c
null
null
null
null
null
source
edk2
/** @file Serial Port Library backed by SBI console. Common functionality shared by PrePiDxeSerialPortLibRiscVSbi and PrePiDxeSerialPortLibRiscVSbiRam implementations. Copyright (c) 2023, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <B...
MdePkg/Library/BaseSerialPortLibRiscVSbiLib/Common.h
null
null
null
null
null
source
edk2
/** @file Null implementation of SmBusLib class library. Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Base.h> #include <Library/SmbusLib.h> #include <Library/DebugLib.h> /** Executes an SMBUS quick read command. Executes an SM...
MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.c
null
null
null
null
null
source
edk2
/** @file Declaration of internal functions in BaseSynchronizationLib. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Base.h> #include <Library/SynchronizationLib.h> #include <Library/BaseLib.h> #include <Library/D...
MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLibInternals.h
null
null
null
null
null
source
edk2
/** @file InterlockedDecrement function Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ /** Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics. **/ long _InterlockedDecrement ( long *lpAddend ); #pragma intrinsic(_...
MdePkg/Library/BaseSynchronizationLib/InterlockedDecrementMsc.c
null
null
null
null
null
source
edk2
/** @file InterLockedIncrement function Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ /** Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics. **/ long _InterlockedIncrement ( long *lpAddend ); #pragma intrinsic(_...
MdePkg/Library/BaseSynchronizationLib/InterlockedIncrementMsc.c
null
null
null
null
null
source
edk2
/** @file Implementation of synchronization functions. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "BaseSynchronizationLibInternals.h" #define SPIN_LOCK_RELEASED ((UINTN) 1) #define SPIN_LOCK_ACQUIRED ((UINTN) 2) /** Ret...
MdePkg/Library/BaseSynchronizationLib/Synchronization.c
null
null
null
null
null
source
edk2
/** @file Implementation of synchronization functions. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "BaseSynchronizationLibInternals.h" // // GCC inline...
MdePkg/Library/BaseSynchronizationLib/SynchronizationGcc.c
null
null
null
null
null
source
edk2
/** @file Implementation of synchronization functions. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "BaseSynchronizationLibInternals.h" /** Microsoft Visual Studio 7.1 Function Prototypes for read write barrier Intrinsics. *...
MdePkg/Library/BaseSynchronizationLib/SynchronizationMsc.c
null
null
null
null
null
source
edk2
// Implementation of synchronization functions for ARM architecture (AArch64) // // Copyright (c) 2012-2015, ARM Limited. All rights reserved. // Copyright (c) 2015, Linaro Limited. All rights reserved. // // SPDX-License-Identifier: BSD-2-Clause-Patent // // .text .align 3 GCC_ASM_EXPORT(InternalSyncCompareExcha...
MdePkg/Library/BaseSynchronizationLib/AArch64/Synchronization.S
null
null
null
null
null
source
edk2
; Implementation of synchronization functions for ARM architecture (AArch64) ; ; Copyright (c) 2012-2015, ARM Limited. All rights reserved. ; Copyright (c) 2015, Linaro Limited. All rights reserved. ; ; SPDX-License-Identifier: BSD-2-Clause-Patent ; ; EXPORT InternalSyncCompareExchange16 EXPORT InternalSyncCom...
MdePkg/Library/BaseSynchronizationLib/AArch64/Synchronization.asm
null
null
null
null
null
source
edk2
/** @file Implementation of synchronization functions on EBC. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ /** Performs an atomic compare exchange operation on a 16-bit unsigned integer. Performs an atomic compare exchange operat...
MdePkg/Library/BaseSynchronizationLib/Ebc/Synchronization.c
null
null
null
null
null
source
edk2
/** @file GCC inline implementation of BaseSynchronizationLib processor specific functions. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ /** Performs an atomic ...
MdePkg/Library/BaseSynchronizationLib/Ia32/GccInline.c
null
null
null
null
null
source
edk2
/** @file InterlockedCompareExchange16 function Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR> Copyright (c) 2015, Linaro Ltd. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ /** Performs an atomic compare exchange operation on a 16-bit unsigned integer. ...
MdePkg/Library/BaseSynchronizationLib/Ia32/InterlockedCompareExchange16.c
null
null
null
null
null
source
edk2
/** @file InterlockedCompareExchange32 function Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ /** Performs an atomic compare exchange operation on a 32-bit unsigned integer. Performs an atomic compare exchange operation on the 32-bi...
MdePkg/Library/BaseSynchronizationLib/Ia32/InterlockedCompareExchange32.c
null
null
null
null
null
source
edk2
/** @file InterlockedCompareExchange64 function Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ /** Performs an atomic compare exchange operation on a 64-bit unsigned integer. Performs an atomic compare exchange operation on the 64-bi...
MdePkg/Library/BaseSynchronizationLib/Ia32/InterlockedCompareExchange64.c
null
null
null
null
null
source
edk2
/** @file Internal function to get spin lock alignment. Copyright (c) 2016 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "BaseSynchronizationLibInternals.h" /** Internal function to retrieve the architecture specific spin lock alignment requi...
MdePkg/Library/BaseSynchronizationLib/Ia32/InternalGetSpinLockProperties.c
null
null
null
null
null
source
edk2
#------------------------------------------------------------------------------ # # LoongArch synchronization ASM functions. # # Copyright (c) 2022, Loongson Technology Corporation Limited. All rights reserved.<BR> # # SPDX-License-Identifier: BSD-2-Clause-Patent # #-----------------------------------------------------...
MdePkg/Library/BaseSynchronizationLib/LoongArch64/AsmSynchronization.S
null
null
null
null
null
source
edk2
/** @file LoongArch synchronization functions. Copyright (c) 2022, Loongson Technology Corporation Limited. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Library/DebugLib.h> UINT32 EFIAPI AsmInternalSyncCompareExchange16 ( IN volatile UINT32 *, IN UINT64, IN UINT64...
MdePkg/Library/BaseSynchronizationLib/LoongArch64/Synchronization.c
null
null
null
null
null
source
edk2
//------------------------------------------------------------------------------ // // RISC-V synchronization functions. // // Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR> // // SPDX-License-Identifier: BSD-2-Clause-Patent // //-------------------------------------------------...
MdePkg/Library/BaseSynchronizationLib/RiscV64/Synchronization.S
null
null
null
null
null
source
edk2
/** @file GCC inline implementation of BaseSynchronizationLib processor specific functions. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ /** Performs an atomic ...
MdePkg/Library/BaseSynchronizationLib/X64/GccInline.c
null
null
null
null
null
source
edk2
/** @file InterlockedCompareExchange16 function Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR> Copyright (c) 2015, Linaro Ltd. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ /** Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics. **/ __int...
MdePkg/Library/BaseSynchronizationLib/X64/InterlockedCompareExchange16.c
null
null
null
null
null
source
edk2
/** @file InterlockedCompareExchange32 function Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ /** Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics. **/ long _InterlockedCompareExchange ( long volatile *Destination...
MdePkg/Library/BaseSynchronizationLib/X64/InterlockedCompareExchange32.c
null
null
null
null
null
source
edk2
/** @file InterlockedCompareExchange64 function Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ /** Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics. **/ __int64 _InterlockedCompareExchange64 ( __int64 volatile *Des...
MdePkg/Library/BaseSynchronizationLib/X64/InterlockedCompareExchange64.c
null
null
null
null
null
source
edk2
/** @file A non-functional instance of the Timer Library. Copyright (c) 2007 - 2011, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Base.h> #include <Library/TimerLib.h> #include <Library/DebugLib.h> /** Stalls the CPU for at least the given number of ...
MdePkg/Library/BaseTimerLibNullTemplate/TimerLibNull.c
null
null
null
null
null
source
edk2
/** @file UEFI Decompress Library implementation refer to UEFI specification. Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR> Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "BaseUefiDecompressLibInternal...
MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c
null
null
null
null
null
source
edk2
/** @file Internal data structure definitions for Base UEFI Decompress Library. Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Base.h> #include <Library/BaseLib.h> #include <Library/DebugLib.h> #include <Library/Ba...
MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLibInternals.h
null
null
null
null
null
source
edk2
/** @file UEFI Decompress Library implementation refer to UEFI specification. Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR> Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiPei.h> #include <Library/Ex...
MdePkg/Library/BaseUefiDecompressLib/BaseUefiTianoCustomDecompressLib.c
null
null
null
null
null
source
edk2
/** @file Null stub of CcProbeLib Copyright (c) 2022, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Library/CcProbeLib.h> /** Probe the ConfidentialComputing Guest type. See defition of CC_GUEST_TYPE in <ConfidentialComputingGuestAttr.h>. @retur...
MdePkg/Library/CcProbeLibNull/CcProbeLibNull.c
null
null
null
null
null
source
edk2
// ------------------------------------------------------------------------------ // // Copyright (c) 2019, Pete Batard. All rights reserved. // Copyright (c) 2021, Arm Limited. All rights reserved.<BR> // // SPDX-License-Identifier: BSD-2-Clause-Patent // // ------------------------------------------------------------...
MdePkg/Library/CompilerIntrinsicsLib/memcmp_ms.c
null
null
null
null
null
source
edk2
// ------------------------------------------------------------------------------ // // Copyright (c) 2016, Linaro Ltd. All rights reserved.<BR> // Copyright (c) 2021, Arm Limited. All rights reserved.<BR> // // SPDX-License-Identifier: BSD-2-Clause-Patent // // ---------------------------------------------------------...
MdePkg/Library/CompilerIntrinsicsLib/memcpy.c
null
null
null
null
null
source
edk2
// ------------------------------------------------------------------------------ // // Copyright (c) 2017, Pete Batard. All rights reserved.<BR> // Copyright (c) 2021, Arm Limited. All rights reserved.<BR> // // SPDX-License-Identifier: BSD-2-Clause-Patent // // --------------------------------------------------------...
MdePkg/Library/CompilerIntrinsicsLib/memcpy_ms.c
null
null
null
null
null
source
edk2
// ------------------------------------------------------------------------------ // // Copyright (c) 2019, Pete Batard. All rights reserved. // Copyright (c) 2021, Arm Limited. All rights reserved.<BR> // // SPDX-License-Identifier: BSD-2-Clause-Patent // // ------------------------------------------------------------...
MdePkg/Library/CompilerIntrinsicsLib/memmove_ms.c
null
null
null
null
null
source
edk2
// ------------------------------------------------------------------------------ // // Copyright (c) 2016, Linaro Ltd. All rights reserved.<BR> // Copyright (c) 2021, Arm Limited. All rights reserved.<BR> // // SPDX-License-Identifier: BSD-2-Clause-Patent // // ---------------------------------------------------------...
MdePkg/Library/CompilerIntrinsicsLib/memset.c
null
null
null
null
null
source
edk2
// ------------------------------------------------------------------------------ // // Copyright (c) 2017, Pete Batard. All rights reserved.<BR> // Copyright (c) 2021, Arm Limited. All rights reserved.<BR> // // SPDX-License-Identifier: BSD-2-Clause-Patent // // --------------------------------------------------------...
MdePkg/Library/CompilerIntrinsicsLib/memset_ms.c
null
null
null
null
null
source
edk2
#------------------------------------------------------------------------------ # # Copyright (c) 2020, Arm, Limited. All rights reserved.<BR> # # SPDX-License-Identifier: BSD-2-Clause-Patent # #------------------------------------------------------------------------------ /* * Provide the GCC intrins...
MdePkg/Library/CompilerIntrinsicsLib/AArch64/Atomics.S
null
null
null
null
null
source
edk2
#------------------------------------------------------------------------------ # # Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # SPDX-License-Identifier: BSD-2-Clause-Patent # #------------------------------------------------------------------------------ #include <AsmMacroLib.h> ASM_F...
MdePkg/Library/CompilerIntrinsicsLib/AArch64/ashlti3.S
null
null
null
null
null
source
edk2
/** @file Entry point to the DXE Core. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiDxe.h> #include <Library/DxeCoreEntryPoint.h> #include <Library/DebugLib.h> #include <Library/BaseLib.h> // // Cache copy of HobList pointer. ...
MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.c
null
null
null
null
null
source
edk2
/** @file HOB Library implementation for DxeCore driver. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiDxe.h> #include <Library/HobLib.h> #include <Library/DebugLib.h> #include <Library/BaseMemoryLib.h> #include <Library/DxeCore...
MdePkg/Library/DxeCoreHobLib/HobLib.c
null
null
null
null
null
source
edk2
/** @file Provide generic extract guided section functions for Dxe phase. Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiDxe.h> #include <Library/DebugLib.h> #include <Library/BaseMemoryLib.h> #include <Library/MemoryAllocati...
MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.c
null
null
null
null
null
source
edk2
/** @file HOB Library implementation for Dxe Phase. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiDxe.h> #include <Guid/HobList.h> #include <Library/HobLib.h> #include <Library/UefiLib.h> #include <Library/DebugLib.h> #include ...
MdePkg/Library/DxeHobLib/HobLib.c
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "HstiDxe.h" /** Returns the current state information for the adapter. This function returns information of type InformationType from the adapter. If an adapter does ...
MdePkg/Library/DxeHstiLib/HstiAip.c
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "HstiDxe.h" /** Find HSTI table in AIP protocol, and return the data. This API will return the HSTI table with indicated Role and ImplementationID, NULL Implementation...
MdePkg/Library/DxeHstiLib/HstiDxe.c
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <PiDxe.h> #include <Library/BaseLib.h> #include <Library/BaseMemoryLib.h> #include <Library/MemoryAllocationLib.h> #include <Library/UefiBootServicesTableLib.h>...
MdePkg/Library/DxeHstiLib/HstiDxe.h
null
null
null
null
null
source
edk2
/** @file Internal include file of DXE CPU IO2 Library. Copyright (c) 2010 - 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 #include <PiDxe.h> #include <Protocol/CpuIo2.h> #incl...
MdePkg/Library/DxeIoLibCpuIo2/DxeCpuIo2LibInternal.h
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) 2010 - 2012, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "DxeCpuIo2LibInternal.h" /** Reads an 8-b...
MdePkg/Library/DxeIoLibCpuIo2/IoHighLevel.c
null
null
null
null
null
source
edk2
/** @file I/O Library instance based on EFI_CPU_IO2_PROTOCOL. Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR> Copyright (c) 2017, AMD Incorporated. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "DxeCpuIo2LibInternal.h" // // Global variable to cac...
MdePkg/Library/DxeIoLibCpuIo2/IoLib.c
null
null
null
null
null
source
edk2
/** @file I/O Library MMIO Buffer Functions. Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "DxeCpuIo2LibInternal.h" /** Copy data from MMIO region to system memory by using 8-bit access. Copy data from MMIO region specifie...
MdePkg/Library/DxeIoLibCpuIo2/IoLibMmioBuffer.c
null
null
null
null
null
source
edk2
/** @file Implementation of PcdLib class library for DXE phase. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiDxe.h> #include <Protocol/Pcd.h> #include <Protocol/PiPcd.h> #include <Protocol/PcdInfo.h> #include <Protocol/PiPcdInfo...
MdePkg/Library/DxePcdLib/DxePcdLib.c
null
null
null
null
null
source
edk2
/** @file Provides an implementation of the library class RngLib that uses the Rng protocol. Copyright (c) 2023 - 2024, Arm Limited. All rights reserved. Copyright (c) Microsoft Corporation. All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi.h> #include <Library/UefiBootServicesT...
MdePkg/Library/DxeRngLib/DxeRngLib.c
null
null
null
null
null
source
edk2
/** @file DXE runtime Debug library instance based on Serial Port library. It takes care not to call into SerialPortLib after ExitBootServices() has been called, to prevent touching hardware that is no longer owned by the firmware. Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR> Copy...
MdePkg/Library/DxeRuntimeDebugLibSerialPort/DebugLib.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 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identi...
MdePkg/Library/DxeRuntimePciExpressLib/PciExpressLib.c
null
null
null
null
null
source
edk2
/** @file DxeServicesLib memory allocation routines Copyright (c) 2018, Linaro, Ltd. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiDxe.h> #include <Library/UefiBootServicesTableLib.h> #include <Library/DxeServicesLib.h> /** Allocates one or more 4KB pages of a given ...
MdePkg/Library/DxeServicesLib/Allocate.c
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) 2007 - 2018, Intel Corporation. All rights reserved.<BR> (C) Copyright 2015 Hewlett Packard Enterprise Development LP<...
MdePkg/Library/DxeServicesLib/DxeServicesLib.c
null
null
null
null
null
source
edk2
/** @file DxeServicesLib memory allocation routines Copyright (c) 2018, Linaro, Ltd. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiDxe.h> #include <Library/HobLib.h> #include <Library/UefiBootServicesTableLib.h> #include <Library/DxeServicesLib.h> /** Allocates one o...
MdePkg/Library/DxeServicesLib/X64/Allocate.c
null
null
null
null
null
source
edk2
/** @file This library implement library class DxeServiceTableLib. It produce EFI_DXE_SERVICE pointer in global variable gDS in library's constructure. A DXE driver can use gDS pointer to access services in EFI_DXE_SERVICE, if this DXE driver declare that use DxeServicesTableLib library class and link to this ...
MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.c
null
null
null
null
null
source
edk2
/** @file Implementation of SmBusLib class library for DXE phase. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "InternalSmbusLib.h" // // Global variable to cache pointer to Smbus protocol. // EFI_SMBUS_HC_PROTOCOL *mSmbus = NULL;...
MdePkg/Library/DxeSmbusLib/DxeSmbusLib.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 <PiDxe.h> #include <Protocol/SmbusHc.h> #include <Library/SmbusLib.h> #include <Library/DebugLib.h> #include <Library/Uef...
MdePkg/Library/DxeSmbusLib/InternalSmbusLib.h
null
null
null
null
null
source
edk2
/** @file Implementation of SmBusLib class library for DXE 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/DxeSmbusLib/SmbusLib.c
null
null
null
null
null
source
edk2
#------------------------------------------------------------------------------ # # Copyright (c) Microsoft Corporation. # SPDX-License-Identifier: BSD-2-Clause-Patent # # Module Name: # # DynamicCookie.S # # Abstract: # # Generates random number through the RNDR instruction on a 64-bit AARCH64 platform # to stor...
MdePkg/Library/DynamicStackCookieEntryPointLib/AArch64/DynamicCookieGcc.S
null
null
null
null
null
source
edk2
/** @file Entry point to the DXE Core. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiDxe.h> #include <Library/DxeCoreEntryPoint.h> #include <Library/DebugLib.h> #include <Library/BaseLib.h> // // Cache copy of HobList pointer. ...
MdePkg/Library/DynamicStackCookieEntryPointLib/DxeCore/DxeCoreEntryPoint.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/DynamicStackCookieEntryPointLib/StandaloneMmCore/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/DynamicStackCookieEntryPointLib/StandaloneMmDriver/StandaloneMmDriverEntryPoint.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/DynamicStackCookieEntryPointLib/UefiApplication/ApplicationEntryPoint.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/DynamicStackCookieEntryPointLib/UefiDriver/DriverEntryPoint.c
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2015 - 2021, Intel Corporation. All rights reserved.<BR> Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.<BR> Copyright (C) 2026 Advanced Micro Devices, Inc. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Library/FvLib.h> #include <Library/Ba...
MdePkg/Library/FvLib/FvLib.c
null
null
null
null
null
source
edk2
/** @file Provides JEDEC JEP-106 Manufacturer functions. Copyright (c) 2023, Qualcomm Innovation Center, Inc. All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Library/BaseLib.h> #include <Library/DebugLib.h> typedef struct { UINT8 Code; CONST CHAR8 *Manufacturer...
MdePkg/Library/JedecJep106Lib/JedecJep106Lib.c
null
null
null
null
null
source
edk2
/** @file This file provide functions to communicate with mipi sys-T submodule. Copyright (c) 2023, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Base.h> #include "mipi_syst.h" /** Invoke initialization function in Mipi Sys-T module to initialize Mipi Sys-...
MdePkg/Library/MipiSysTLib/MipiSysTLib.c
null
null
null
null
null
source
edk2
/** @file This file defines functions that output Trace Hub message. Copyright (c) 2023, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Base.h> #include <Library/IoLib.h> #include <Library/BaseMemoryLib.h> #include "mipi_syst.h" /** Write 4 bytes to Trace H...
MdePkg/Library/MipiSysTLib/Platform.c
null
null
null
null
null
source
edk2
/** @file This header file declares functions and structures. Copyright (c) 2023, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once typedef struct { UINT64 MmioAddr; } TRACE_HUB_PLATFORM_SYST_DATA; struct mipi_syst_platform_handle { TRACE_HUB_PLATFORM...
MdePkg/Library/MipiSysTLib/Platform.h
null
null
null
null
null
source
edk2
## Introduction of MipiSysTLib ## MipiSysTLib library is a upper level library consuming MIPI SYS-T submodule. It provides MIPI-related APIs in EDK2 format to be consumed. ## MipiSysTLib Version ## EDK2 supports building with v1.1+edk2 official version which was fully validated. ## HOW to Install MipiSysTLib for UEFI...
MdePkg/Library/MipiSysTLib/Readme.md
null
null
null
null
null
source
edk2
/* Copyright (c) 2018, MIPI Alliance, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the foll...
MdePkg/Library/MipiSysTLib/mipi_syst.h
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 <Protocol/MmBase.h> #include <Library/MmServicesTableLib.h> #includ...
MdePkg/Library/MmServicesTableLib/MmServicesTableLib.c
null
null
null
null
null
source
edk2
/** @file Null instance of MM Unblock Page Library. 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 ord...
MdePkg/Library/MmUnblockMemoryLib/MmUnblockMemoryLibNull.c
null
null
null
null
null
source
edk2
/** @file Instance of Base PCI Segment Library that support multi-segment PCI configuration access. PCI Segment Library that consumes segment information provided by PciSegmentInfoLib to support multi-segment PCI configuration access through enhanced configuration access mechanism. Copyright (c) 2017, Intel ...
MdePkg/Library/PciSegmentLibSegmentInfo/BasePciSegmentLib.c
null
null
null
null
null
source
edk2
/** @file Instance of Runtime PCI Segment Library that support multi-segment PCI configuration access. PCI Segment Library that consumes segment information provided by PciSegmentInfoLib to support multi-segment PCI configuration access through enhanced configuration access mechanism. Copyright (c) 2017, Int...
MdePkg/Library/PciSegmentLibSegmentInfo/DxeRuntimePciSegmentLib.c
null
null
null
null
null
source
edk2
/** @file Provide common routines used by BasePciSegmentLibSegmentInfo and DxeRuntimePciSegmentLibSegmentInfo libraries. Copyright (c) 2017, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "PciSegmentLibCommon.h" typedef struct { UINT32 Register : ...
MdePkg/Library/PciSegmentLibSegmentInfo/PciSegmentLibCommon.c
null
null
null
null
null
source
edk2
/** @file Provide common routines used by BasePciSegmentLibSegmentInfo and DxeRuntimePciSegmentLibSegmentInfo libraries. Copyright (c) 2017, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Base.h> #include <IndustryStandard/PciExpress21.h> ...
MdePkg/Library/PciSegmentLibSegmentInfo/PciSegmentLibCommon.h
null
null
null
null
null
source
edk2
/** @file Entry point to a the PEI Core. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiPei.h> // // The Library classes this module produced // #include <Library/PeiCoreEntryPoint.h> #include <Library/BaseLib.h> #include <Librar...
MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.c
null
null
null
null
null
source
edk2
/** @file Post code library instace bases on report status code library PostCode Library for PEIMs and DXE drivers that send PostCode to ReportStatusCode Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiPei.h> #include <Libra...
MdePkg/Library/PeiDxePostCodeLibReportStatusCode/PostCode.c
null
null
null
null
null
source
edk2
/** @file Provide generic extract guided section functions for PEI phase. Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiPei.h> #include <Library/DebugLib.h> #include <Library/PcdLib.h> #include <Library/BaseMemoryLib.h> #inc...
MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.c
null
null
null
null
null
source
edk2
/** @file Provide Hob Library functions for Pei phase. Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiPei.h> #include <Guid/MemoryAllocationHob.h> #include <Library/HobLib.h> #include <Library/DebugLib.h> #include <Library/PeiSe...
MdePkg/Library/PeiHobLib/HobLib.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) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiPei.h> #include <Library/IoLib.h> #inclu...
MdePkg/Library/PeiIoLibCpuIo/IoHighLevel.c
null
null
null
null
null
source
edk2
/** @file I/O Library. The implementations are based on EFI_PEI_SERVICE->CpuIo interface. 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 **/ #include <PiPei.h> #include <Libra...
MdePkg/Library/PeiIoLibCpuIo/IoLib.c
null
null
null
null
null
source
edk2
/** @file I/O Library MMIO Buffer Functions. The implementations are based on EFI_PEI_SERVICE->CpuIo interface. Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiPei.h> #include <Library/IoLib.h> #include <Library/DebugLib.h> ...
MdePkg/Library/PeiIoLibCpuIo/IoLibMmioBuffer.c
null
null
null
null
null
source
edk2
/** @file Support routines for memory allocation routines based on PeiService for PEI phase drivers. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiPei.h> #include <Library/MemoryAllocationLib.h> #include <Library/PeiServic...
MdePkg/Library/PeiMemoryAllocationLib/MemoryAllocationLib.c
null
null
null
null
null
source
edk2
/** @file Base Memory Library functions implementation bases on PeiServcie. Copyright (c) 2006 - 2018, 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 destination buf...
MdePkg/Library/PeiMemoryLib/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/PeiMemoryLib/MemLibGeneric.c
null
null
null
null
null
source
edk2
/** @file Declaration of internal functions for Base Memory Library. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <PiPei.h> #include <Library/BaseMemoryLib.h> #include <Library/PeiServicesTablePointerLib.h> #incl...
MdePkg/Library/PeiMemoryLib/MemLibInternals.h
null
null
null
null
null
source
edk2
/** @file SetMem16() implementation. The following BaseMemoryLib instances contain the same copy of this file: BaseMemoryLib BaseMemoryLibMmx BaseMemoryLibSse2 BaseMemoryLibRepStr BaseMemoryLibOptDxe BaseMemoryLibOptPei PeiMemoryLib UefiMemoryLib Copyright (c) 2006 - 2009, Intel ...
MdePkg/Library/PeiMemoryLib/SetMem16Wrapper.c
null
null
null
null
null
source
edk2
/** @file SetMem64() implementation. The following BaseMemoryLib instances contain the same copy of this file: BaseMemoryLib BaseMemoryLibMmx BaseMemoryLibSse2 BaseMemoryLibRepStr BaseMemoryLibOptDxe BaseMemoryLibOptPei PeiMemoryLib UefiMemoryLib Copyright (c) 2006 - 2009, Intel ...
MdePkg/Library/PeiMemoryLib/SetMem64Wrapper.c
null
null
null
null
null
source
edk2
/** @file SetMem() and SetMemN() implementation. The following BaseMemoryLib instances contain the same copy of this file: BaseMemoryLib BaseMemoryLibMmx BaseMemoryLibSse2 BaseMemoryLibRepStr BaseMemoryLibOptDxe BaseMemoryLibOptPei PeiMemoryLib UefiMemoryLib Copyright (c) 2006 -...
MdePkg/Library/PeiMemoryLib/SetMemWrapper.c
null
null
null
null
null
source
edk2
/** @file Implementation of PcdLib class library for PEI phase. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiPei.h> #include <Ppi/Pcd.h> #include <Ppi/PiPcd.h> #include <Ppi/PcdInfo.h> #include <Ppi/PiPcdInfo.h> #include <Libra...
MdePkg/Library/PeiPcdLib/PeiPcdLib.c
null
null
null
null
null
source
edk2
/** @file PCI Library using PCI CFG2 PPI. Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiPei.h> #include <Ppi/PciCfg2.h> #include <Library/PciLib.h> #include <Library/BaseLib.h> #include <Library/PeiServicesTablePointerLib.h...
MdePkg/Library/PeiPciLibPciCfg2/PciLib.c
null
null
null
null
null
source
edk2
/** @file PCI Segment Library implementation using PCI CFG2 PPI. Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiPei.h> #include <Ppi/PciCfg2.h> #include <Library/PciSegmentLib.h> #include <Library/BaseLib.h> #include <Librar...
MdePkg/Library/PeiPciSegmentLibPciCfg2/PciSegmentLib.c
null
null
null
null
null
source
edk2
/** @file Resource Publication Library that uses PEI Core Services to publish system memory. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiPei.h> #include <Library/ResourcePublicationLib.h> #include <Library/PeiServicesLib.h...
MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.c
null
null
null
null
null
source
edk2
/** @file RNG library instance that uses the Random Number Generator (RNG) PPI to provide random numbers. Copyright (c) Microsoft Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiPei.h> #include <Library/BaseLib.h> #include <Library/DebugLib.h> #include <Library/PeiServicesLib.h> #inc...
MdePkg/Library/PeiRngLib/PeiRngLib.c
null
null
null
null
null
source
edk2
/** @file Implementation for PEI Services Library. Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiPei.h> #include <Ppi/FirmwareVolumeInfo.h> #include <Ppi/FirmwareVolumeInfo2.h> #include <Guid/FirmwareFileSystem2.h> #include...
MdePkg/Library/PeiServicesLib/PeiServicesLib.c
null
null
null
null
null