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 Provide Hob Library functions for build testing only. Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR> Copyright (c) 2018, Linaro, Ltd. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi.h> #include <Pi/PiMultiPhase.h> #include <Library/DebugLi...
MdeModulePkg/Library/BaseHobLibNull/BaseHobLibNull.c
null
null
null
null
null
source
edk2
/** @file IPMI Command - NetFnApp NULL instance library. Copyright (c) 2018 - 2021, Intel Corporation. All rights reserved.<BR> Copyright (C) 2023 Advanced Micro Devices, Inc. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi.h> #include <IndustryStandard/Ipmi.h> /** ...
MdeModulePkg/Library/BaseIpmiCommandLibNull/IpmiCommandLibNetFnApp.c
null
null
null
null
null
source
edk2
/** @file IPMI Command - NetFnChassis NULL instance library. Copyright (c) 2018 - 2021, Intel Corporation. All rights reserved.<BR> Copyright (C) 2023 Advanced Micro Devices, Inc. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi.h> #include <IndustryStandard/Ipmi.h> /*...
MdeModulePkg/Library/BaseIpmiCommandLibNull/IpmiCommandLibNetFnChassis.c
null
null
null
null
null
source
edk2
/** @file IPMI Command - NetFnStorage NULL instance library. Copyright (c) 2018 - 2021, Intel Corporation. All rights reserved.<BR> Copyright (C) 2023 Advanced Micro Devices, Inc. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi.h> #include <IndustryStandard/Ipmi.h> /*...
MdeModulePkg/Library/BaseIpmiCommandLibNull/IpmiCommandLibNetFnStorage.c
null
null
null
null
null
source
edk2
/** @file IPMI Command - NetFnTransport NULL instance library. Copyright (c) 2018 - 2021, Intel Corporation. All rights reserved.<BR> Copyright (C) 2023 Advanced Micro Devices, Inc. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi.h> #include <IndustryStandard/Ipmi.h> ...
MdeModulePkg/Library/BaseIpmiCommandLibNull/IpmiCommandLibNetFnTransport.c
null
null
null
null
null
source
edk2
/** @file A emptry template implementation of Ipmi Library. Copyright (c) 2011 - 2015, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Library/BaseLib.h> #include <Library/DebugLib.h> #include <Library/IpmiLib.h> /** This service enables submitting comm...
MdeModulePkg/Library/BaseIpmiLibNull/BaseIpmiLibNull.c
null
null
null
null
null
source
edk2
/** @file Dummy support routines for memory allocation Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> Copyright (c) 2018, Linaro, Ltd. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi/UefiBaseType.h> #include <Library/DebugLib.h> #include <Libr...
MdeModulePkg/Library/BaseMemoryAllocationLibNull/BaseMemoryAllocationLibNull.c
null
null
null
null
null
source
edk2
/** @file Null Platform Hook Library instance. Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Base.h> #include <Library/PlatformHookLib.h> /** Performs platform specific initialization required for the CPU to access the har...
MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.c
null
null
null
null
null
source
edk2
/** @file Null Reset System Library instance that only generates ASSERT() conditions. Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Base.h> #include <Library/ResetSystemLib.h> #include <Library/DebugLib.h> /** This function...
MdeModulePkg/Library/BaseResetSystemLibNull/BaseResetSystemLibNull.c
null
null
null
null
null
source
edk2
/** @file BaseRng Library that uses the TimerLib to provide reasonably random numbers. Do not use this on a production system. Copyright (c) 2023, Arm Limited. All rights reserved. Copyright (c) Microsoft Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Base.h> #include <Uefi.h> #incl...
MdeModulePkg/Library/BaseRngLibTimerLib/RngLibTimer.c
null
null
null
null
null
source
edk2
/** @file 16550 UART Serial Port library functions (C) Copyright 2014 Hewlett-Packard Development Company, L.P.<BR> Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR> Copyright (c) 2018, AMD Incorporated. All rights reserved.<BR> Copyright (c) 2020, ARM Limited. All rights reserved. SP...
MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.c
null
null
null
null
null
source
edk2
/** @file Library used for sorting routines. Copyright (c) 2009 - 2021, Intel Corporation. All rights reserved. <BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi.h> #include <Library/BaseLib.h> #include <Library/BaseMemoryLib.h> #include <Library/DebugLib.h> #include <Library/MemoryAllocatio...
MdeModulePkg/Library/BaseSortLib/BaseSortLib.c
null
null
null
null
null
source
edk2
/** @file Null implementation of SpiHcPlatformLib Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiDxe.h> #include <Protocol/DevicePath.h> #include <Protocol/SpiHc.h> #include <Library/SpiHcPlatformLib.h> /** This function ...
MdeModulePkg/Library/BaseSpiHcPlatformLibNull/BaseSpiHcPlatformLibNull.c
null
null
null
null
null
source
edk2
/** @file Variable Flash Information Library Copyright (c) Microsoft Corporation<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi.h> #include <Pi/PiMultiPhase.h> #include <Guid/VariableFlashInfo.h> #include <Library/DebugLib.h> #include <Library/HobLib.h> #include <Library/VariableFlashInfo...
MdeModulePkg/Library/BaseVariableFlashInfoLib/BaseVariableFlashInfoLib.c
null
null
null
null
null
source
edk2
/** @file Boot Discovery Policy UI for Boot Maintenance menu. Copyright (c) 2021, ARM Ltd. All rights reserved.<BR> Copyright (c) 2021, Semihalf All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Guid/BootDiscoveryPolicy.h> #include <Library/UefiDriverEntryPoint.h> #include ...
MdeModulePkg/Library/BootDiscoveryPolicyUiLib/BootDiscoveryPolicyUiLib.c
null
null
null
null
null
source
edk2
/** @file This library is only intended to be used by PlatformBootManagerLib to show progress bar and LOGO. Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR> Copyright (c) 2016, Microsoft Corporation<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi.h> #include <Protocol/Gr...
MdeModulePkg/Library/BootLogoLib/BootLogoLib.c
null
null
null
null
null
source
edk2
/** @file Utility routines used by boot maintenance modules. Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "BootMaintenanceManager.h" /** Function deletes the variable specified by VarName and VarGuid. @param VarName A...
MdeModulePkg/Library/BootMaintenanceManagerUiLib/BmLib.c
null
null
null
null
null
source
edk2
/** @file The functions for Boot Maintainence Main menu. Copyright (c) 2004 - 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "BootMaintenanceManager.h" #define FRONT_PAGE_KEY_OFFSET 0x4000 // // Boot video resolution and text mode. // UINT32 mBmmBootHor...
MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenance.c
null
null
null
null
null
source
edk2
/** @file Header file for boot maintenance module. Copyright (c) 2004 - 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include "FormGuid.h" #include <Guid/TtyTerm.h> #include <Guid/MdeModuleHii.h> #include <Guid/FileSystemVolumeLabelInfo.h> #include...
MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManager.h
null
null
null
null
null
source
edk2
/** @file This library class defines a set of interfaces to customize Ui module Copyright (c) 2016, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi.h> #include <Protocol/HiiConfigAccess.h> #include "BootMaintenanceManagerCustomizedUiSupport.h" /** Cust...
MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerCustomizedUi.c
null
null
null
null
null
source
edk2
/** @file This library class defines a set of interfaces to customize Ui module Copyright (c) 2016, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /** Customize menus in the page. @param[in] HiiHandle The HII Handle of the form to update...
MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerCustomizedUi.h
null
null
null
null
null
source
edk2
/** @file The functions for Boot Maintainence Main menu. Copyright (c) 2004 - 2016, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "BootMaintenanceManager.h" #include "BootMaintenanceManagerCustomizedUiSupport.h" #define UI_HII_DRIVER_LIST_SIZE 0x8 typedef st...
MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerCustomizedUiSupport.c
null
null
null
null
null
source
edk2
/** @file This library class defines a set of interfaces to be used by customize Ui module Copyright (c) 2016, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /** Create Time Out Menu in the page. @param[in] HiiHandle The hii handle for t...
MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerCustomizedUiSupport.h
null
null
null
null
null
source
edk2
/** @file Provide boot option support for Application "BootMaint" Include file system navigation, system handle selection Boot option manipulation Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "BootMaintenanceManager.h" /// /...
MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootOption.c
null
null
null
null
null
source
edk2
/** @file handles console redirection from boot manager Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "BootMaintenanceManager.h" /** Function compares a device path data structure to that of all the nodes of a second device path ...
MdeModulePkg/Library/BootMaintenanceManagerUiLib/ConsoleOption.c
null
null
null
null
null
source
edk2
/** @file Define some data used for Boot Maint Copyright (c) 2004 - 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "BootMaintenanceManager.h" VOID *mStartOpCodeHandle = NULL; VOID *mEndOpCodeHandle = NULL; EFI_IFR_GUID_LABE...
MdeModulePkg/Library/BootMaintenanceManagerUiLib/Data.c
null
null
null
null
null
source
edk2
/** @file Formset guids, form id and VarStore data structure for Boot Maintenance Manager. Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #define BOOT_MAINT_FORMSET_GUID \ { \ 0x642237c7, 0x35d4, 0x472d, {0x83, 0x65, 0x12, 0xe...
MdeModulePkg/Library/BootMaintenanceManagerUiLib/FormGuid.h
null
null
null
null
null
source
edk2
/** @file Dynamically update the pages. Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "BootMaintenanceManager.h" /** Create the global UpdateData structure. **/ VOID CreateUpdateData ( VOID ) { // // Init OpCode Handle and ...
MdeModulePkg/Library/BootMaintenanceManagerUiLib/UpdatePage.c
null
null
null
null
null
source
edk2
/** @file Variable operation that will be used by bootmaint Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "BootMaintenanceManager.h" /** Delete Boot Option that represent a Deleted state in BootOptionMenu. @retval EFI_SUCCESS ...
MdeModulePkg/Library/BootMaintenanceManagerUiLib/Variable.c
null
null
null
null
null
source
edk2
/** @file The boot manager reference implementation Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "BootManager.h" #include <Protocol/LoadedImage.h> UINT16 mKeyInput; EFI_GUID mBootManagerGuid = BOOT_MANAGER_FORMSET_GUID; // // ...
MdeModulePkg/Library/BootManagerUiLib/BootManager.c
null
null
null
null
null
source
edk2
/** @file The boot manager reference implementation Copyright (c) 2004 - 2017, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Guid/MdeModuleHii.h> #include <Guid/GlobalVariable.h> #include <Protocol/HiiConfigAccess.h> #include <Protocol/DeviceP...
MdeModulePkg/Library/BootManagerUiLib/BootManager.h
null
null
null
null
null
source
edk2
/** @file Implements for functions declared in BrotliDecUefiSupport.h Copyright (c) 2020, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <BrotliDecUefiSupport.h> /** Dummy malloc function for compiler. **/ VOID * BrDummyMalloc ( IN size_t Size ) { ...
MdeModulePkg/Library/BrotliCustomDecompressLib/BrotliDecUefiSupport.c
null
null
null
null
null
source
edk2
/** @file BROTLI UEFI header file for definitions Allows BROTLI code to build under UEFI (edk2) build environment Copyright (c) 2020, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Library/BaseLib.h> #include <Library/BaseMemoryLib.h> #in...
MdeModulePkg/Library/BrotliCustomDecompressLib/BrotliDecUefiSupport.h
null
null
null
null
null
source
edk2
/** @file Brotli Decompress interfaces Copyright (c) 2017 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <BrotliDecompressLibInternal.h> /** Allocation routine used by BROTLI decompression. @param Ptr Pointer to the BROTLI_BUFF in...
MdeModulePkg/Library/BrotliCustomDecompressLib/BrotliDecompress.c
null
null
null
null
null
source
edk2
/** @file BROTLI UEFI header file Allows BROTLI code to build under UEFI (edk2) build environment Copyright (c) 2017 - 2020, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <PiPei.h> #include <Library/ExtractGuidedSectionLib.h> #include <br...
MdeModulePkg/Library/BrotliCustomDecompressLib/BrotliDecompressLibInternal.h
null
null
null
null
null
source
edk2
/** @file BROTLI Decompress GUIDed Section Extraction Library. It wraps Brotli decompress interfaces to GUIDed Section Extraction interfaces and registers them into GUIDed handler table. Copyright (c) 2017, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #includ...
MdeModulePkg/Library/BrotliCustomDecompressLib/GuidedSectionExtraction.c
null
null
null
null
null
source
edk2
/** @file Include file to support building the third-party brotli. Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <BrotliDecUefiSupport.h>
MdeModulePkg/Library/BrotliCustomDecompressLib/intrin.h
null
null
null
null
null
source
edk2
/** @file Include file to support building the third-party brotli. Copyright (c) 2020, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <BrotliDecUefiSupport.h>
MdeModulePkg/Library/BrotliCustomDecompressLib/stddef.h
null
null
null
null
null
source
edk2
/** @file Include file to support building the third-party brotli. Copyright (c) Microsoft Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <brotli/types.h>
MdeModulePkg/Library/BrotliCustomDecompressLib/sys/types.h
null
null
null
null
null
source
edk2
/** @file CPU Exception Handler library implementition with empty functions. Copyright (c) 2012 - 2022, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiPei.h> #include <Library/CpuExceptionHandlerLib.h> /** Initializes all CPU exceptions entries and pr...
MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.c
null
null
null
null
null
source
edk2
/** @file MACRO definitions for color used in Setup Browser. Copyright (c) 2004 - 2011, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ // // Unicode collation protocol in #ifndef _COLORS_H_ #define _COLORS_H_ // // Screen Color Settings // #define PICKLIST_HIGHLIGHT_TEX...
MdeModulePkg/Library/CustomizedDisplayLib/Colors.h
null
null
null
null
null
source
edk2
/** @file This library class defines a set of interfaces to customize Display module Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "CustomizedDisplayLibInternal.h" EFI_GUID gCustomizedDisplayLibGuid = { 0x99fdc8fd, 0x849b, 0x4eb...
MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.c
null
null
null
null
null
source
edk2
/** @file This library class defines a set of interfaces to customize Display module Copyright (c) 2013-2018, Intel Corporation. All rights reserved.<BR> Copyright (c) 2025, Loongson Technology Corporation Limited. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "CustomizedDispla...
MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLibInternal.c
null
null
null
null
null
source
edk2
/** @file This library class defines a set of interfaces to customize Display module Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <PiDxe.h> #include <Protocol/SimpleTextOut.h> #include <Protocol/SimpleTextIn.h> #inc...
MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLibInternal.h
null
null
null
null
null
source
edk2
/** @file Debug Agent library implementition with empty functions. Copyright (c) 2010, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Library/DebugAgentLib.h> /** Initialize debug agent. This function is used to set up debug environment to support s...
MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.c
null
null
null
null
null
source
edk2
/** @file The device manager reference implementation Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "DeviceManager.h" DEVICE_MANAGER_CALLBACK_DATA gDeviceManagerPrivate = { DEVICE_MANAGER_CALLBACK_DATA_SIGNATURE, NULL, NULL, ...
MdeModulePkg/Library/DeviceManagerUiLib/DeviceManager.c
null
null
null
null
null
source
edk2
/** @file The device manager reference implement Copyright (c) 2004 - 2015, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Guid/MdeModuleHii.h> #include <Guid/HiiPlatformSetupFormset.h> #include <Protocol/HiiConfigAccess.h> #include <Protocol/Pci...
MdeModulePkg/Library/DeviceManagerUiLib/DeviceManager.h
null
null
null
null
null
source
edk2
/** @file Provides services to display completion progress of a firmware update on a graphical console that supports the Graphics Output Protocol. Copyright (c) 2016, Microsoft Corporation. All rights reserved.<BR> Copyright (c) 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-...
MdeModulePkg/Library/DisplayUpdateProgressLibGraphics/DisplayUpdateProgressLibGraphics.c
null
null
null
null
null
source
edk2
/** @file Provides services to display completion progress of a firmware update on a text console. Copyright (c) 2016, Microsoft Corporation. All rights reserved.<BR> Copyright (c) 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiDxe.h> #includ...
MdeModulePkg/Library/DisplayUpdateProgressLibText/DisplayUpdateProgressLibText.c
null
null
null
null
null
source
edk2
/** @file The implementation supports Capusle on Disk. Copyright (c) 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "CapsuleOnDisk.h" /** Return if this capsule is a capsule name capsule, based upon CapsuleHeader. @param[in] CapsuleHeader A poi...
MdeModulePkg/Library/DxeCapsuleLibFmp/CapsuleOnDisk.c
null
null
null
null
null
source
edk2
/** @file Defines several datastructures used by Capsule On Disk feature. They are mainly used for FAT files. Copyright (c) 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Uefi.h> #include <Pi/PiMultiPhase.h> #include <Library/UefiLi...
MdeModulePkg/Library/DxeCapsuleLibFmp/CapsuleOnDisk.h
null
null
null
null
null
source
edk2
/** @file DXE capsule library. Caution: This module requires additional review when modified. This module will have external input - capsule image. This external input must be validated carefully to avoid security issue like buffer overflow, integer overflow. SupportCapsuleImage(), ProcessCapsuleImage(), ...
MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.c
null
null
null
null
null
source
edk2
/** @file DXE capsule process. Caution: This module requires additional review when modified. This module will have external input - capsule image. This external input must be validated carefully to avoid security issue like buffer overflow, integer overflow. ProcessCapsules(), ProcessTheseCapsules() will...
MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleProcessLib.c
null
null
null
null
null
source
edk2
/** @file DXE capsule process. Dummy function for runtime module, because CapsuleDxeRuntime does not need call ProcessCapsules(). Copyright (c) 2016 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiDxe.h> #include <Library/CapsuleLib.h> /** ...
MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleProcessLibNull.c
null
null
null
null
null
source
edk2
/** @file DXE capsule report related function. Copyright (c) 2016 - 2021, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiDxe.h> #include <Protocol/FirmwareManagement.h> #include <Guid/CapsuleReport.h> #include <Guid/FmpCapsule.h> #include <Guid/CapsuleV...
MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleReportLib.c
null
null
null
null
null
source
edk2
/** @file DXE capsule report related function. Dummy function for runtime module, because CapsuleDxeRuntime does not need record capsule status variable. Copyright (c) 2016 - 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiDxe.h> #include <Prot...
MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleReportLibNull.c
null
null
null
null
null
source
edk2
/** @file Capsule library runtime support. Copyright (c) 2016 - 2024, Intel Corporation. All rights reserved.<BR> Copyright (c) 2024, Ampere Computing LLC. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiDxe.h> #include <Guid/FmpCapsule.h> #include <Guid/SystemResourceT...
MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleRuntime.c
null
null
null
null
null
source
edk2
/** @file Null Dxe Capsule Library instance does nothing and returns unsupport status. Copyright (c) 2007 - 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi.h> #include <Library/CapsuleLib.h> /** The firmware checks whether the capsule image is sup...
MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.c
null
null
null
null
null
source
edk2
/** @file Contains function prototypes for Memory Services in DxeCore. This header file borrows the DxeCore Memory Allocation services as the primitive for memory allocation. Copyright (c) 2008 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma onc...
MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationServices.h
null
null
null
null
null
source
edk2
/** @file Support routines for memory profile for DxeCore. Copyright (c) 2016 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiDxe.h> #include <Guid/MemoryProfile.h> #include "DxeCoreMemoryProfileServices.h" /** Record memory profile of multi...
MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryProfileLib.c
null
null
null
null
null
source
edk2
/** @file Null routines for memory profile for DxeCore. Copyright (c) 2016 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiDxe.h> #include <Guid/MemoryProfile.h> /** Record memory profile of multilevel caller. @param[in] CallerAddress ...
MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryProfileLibNull.c
null
null
null
null
null
source
edk2
/** @file Contains function prototypes for Memory Profile Services in DxeCore. This header file borrows the DxeCore Memory Profile services as the primitive for memory profile. Copyright (c) 2016 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma o...
MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryProfileServices.h
null
null
null
null
null
source
edk2
/** @file Support routines for memory allocation routines based on DxeCore Memory Allocation services for DxeCore, with memory profile support. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiDxe.h> #include <Library/Memor...
MdeModulePkg/Library/DxeCoreMemoryAllocationLib/MemoryAllocationLib.c
null
null
null
null
null
source
edk2
/** @file Performance library instance mainly used by DxeCore. This library provides the performance measurement interfaces and initializes performance logging for DXE phase. It first initializes its private global data structure for performance logging and saves the performance GUIDed HOB passed from PEI phas...
MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c
null
null
null
null
null
source
edk2
/** @file Master header files for DxeCorePerformanceLib instance. This header file holds the prototypes of the Performance and PerformanceEx Protocol published by this library instance at its constructor. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Claus...
MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLibInternal.h
null
null
null
null
null
source
edk2
/** @file This library registers CRC32 guided section handler to parse CRC32 encapsulation section and extract raw data. It uses UEFI boot service CalculateCrc32 to authenticate 32 bit CRC value. Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent ...
MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.c
null
null
null
null
null
source
edk2
/** @file Debug Print Error Level library instance that provide compatibility with the "err" shell command. This includes support for the Debug Mask Protocol supports for global debug print error level mask stored in an EFI Variable. This library instance only support DXE Phase modules. Copyright (c) 2011 -...
MdeModulePkg/Library/DxeDebugPrintErrorLevelLib/DxeDebugPrintErrorLevelLib.c
null
null
null
null
null
source
edk2
/** @file Instance of file explorer Library based on gEfiFileExplorerProtocolGuid. Implement the file explorer library instance by wrap the interface provided in the file explorer protocol. This protocol is defined as the internal protocol related to this implementation, not in the public spec. So, this libr...
MdeModulePkg/Library/DxeFileExplorerProtocol/DxeFileExplorerProtocol.c
null
null
null
null
null
source
edk2
/** @file Implementation of Ipmi Library in DXE Phase for SMS. Copyright (c) 2009 - 2015, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiDxe.h> #include <Protocol/IpmiProtocol.h> #include <Library/UefiBootServicesTableLib.h> #include <Library/DebugLib.h...
MdeModulePkg/Library/DxeIpmiLibIpmiProtocol/DxeIpmiLibIpmiProtocol.c
null
null
null
null
null
source
edk2
/** @file Performance Library This library instance provides infrastructure for DXE phase drivers to log performance data. It consumes PerformanceEx or Performance Protocol published by DxeCorePerformanceLib to log performance data. If both PerformanceEx and Performance Protocol is not available, it does not l...
MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.c
null
null
null
null
null
source
edk2
/** @file Instance of Print Library based on gEfiPrint2SProtocolGuid. Implement the print library instance by wrap the interface provided in the Print2S protocol. This protocol is defined as the internal protocol related to this implementation, not in the public spec. So, this library instance is only for th...
MdeModulePkg/Library/DxePrintLibPrint2Protocol/PrintLib.c
null
null
null
null
null
source
edk2
/** @file Report Status Code Library for DXE Phase. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> Copyright (c) Microsoft Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Library/ReportStatusCodeLib.h> #include <Library/BaseLib.h> #include <Library/DebugLib.h> ...
MdeModulePkg/Library/DxeReportStatusCodeLib/ReportStatusCodeLib.c
null
null
null
null
null
source
edk2
/** @file UEFI based application for unit testing the DxeReportStatusCodeLib. Copyright (c) Microsoft Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Library/GoogleTestLib.h> #include <GoogleTest/Library/MockUefiLib.h> #include <GoogleTest/Library/MockUefiBootServicesTableLib.h> extern ...
MdeModulePkg/Library/DxeReportStatusCodeLib/GoogleTest/DxeReportStatusCodeLibGoogleTest.cpp
null
null
null
null
null
source
edk2
/** @file DXE Reset System Library instance that calls gRT->ResetSystem(). Copyright (c) 2017 - 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiDxe.h> #include <Library/ResetSystemLib.h> #include <Library/UefiRuntimeServicesTableLib.h> /** This ...
MdeModulePkg/Library/DxeResetSystemLib/DxeResetSystemLib.c
null
null
null
null
null
source
edk2
/** @file Unit tests of the DxeResetSystemLib instance of the ResetSystemLib class Copyright (C) Microsoft Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <stdio.h> #include <string.h> #include <stdarg.h> #include <stddef.h> #include <setjmp.h> #include <cmocka.h> #include <Uefi.h> #inc...
MdeModulePkg/Library/DxeResetSystemLib/UnitTest/DxeResetSystemLibUnitTest.c
null
null
null
null
null
source
edk2
/** @file Mock implementation of the UEFI Runtime Services Table Library. Copyright (C) Microsoft Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi.h> extern EFI_RUNTIME_SERVICES MockRuntime; EFI_RUNTIME_SERVICES *gRT = &MockRuntime;
MdeModulePkg/Library/DxeResetSystemLib/UnitTest/MockUefiRuntimeServicesTableLib.c
null
null
null
null
null
source
edk2
/** @file Provides generic security measurement functions for DXE module. Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiDxe.h> #include <Protocol/LoadFile.h> #include <Library/DebugLib.h> #include <Library/DxeServicesLib.h> #incl...
MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.c
null
null
null
null
null
source
edk2
/** @file File explorer related functions. Copyright (c) 2004 - 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "FileExplorer.h" EFI_GUID FileExplorerGuid = EFI_FILE_EXPLORE_FORMSET_GUID; /// /// File system selection menu /// MENU_OPTION mFsOptionMenu ...
MdeModulePkg/Library/FileExplorerLib/FileExplorer.c
null
null
null
null
null
source
edk2
/** @file File explorer lib. Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <PiDxe.h> #include <Guid/FileSystemVolumeLabelInfo.h> #include <Guid/FileInfo.h> #include <Guid/MdeModuleHii.h> #include <Protocol/HiiConfigAc...
MdeModulePkg/Library/FileExplorerLib/FileExplorer.h
null
null
null
null
null
source
edk2
/** @file Formset guids, form id and VarStore data structure for File explorer library. Copyright (c) 2004 - 2017, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #define EFI_FILE_EXPLORE_FORMSET_GUID \ { \ 0xfe561596, 0xe6bf, 0x41a6, {0x83, 0x76, 0xc7, ...
MdeModulePkg/Library/FileExplorerLib/FormGuid.h
null
null
null
null
null
source
edk2
/** @file NULL FMP authentication library. Copyright (c) 2016, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi.h> #include <Library/DebugLib.h> #include <Library/FmpAuthenticationLib.h> /** The function is used to do the authentication for FMP cap...
MdeModulePkg/Library/FmpAuthenticationLibNull/FmpAuthenticationLibNull.c
null
null
null
null
null
source
edk2
/** @file FrameBufferBltLib - Library to perform blt operations on a frame buffer. Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi/UefiBaseType.h> #include <Protocol/GraphicsOutput.h> #include <Library/BaseLib.h> #include <...
MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.c
null
null
null
null
null
source
edk2
/** @file Prints all the HOBs. Copyright (c) 2024, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi.h> #include <Pi/PiMultiPhase.h> #include <Library/BaseMemoryLib.h> #include <Library/DebugLib.h> #include <Library/HobLib.h> #include <Library/HobPrintL...
MdeModulePkg/Library/HobPrintLib/HobPrintLib.c
null
null
null
null
null
source
edk2
/** @file Provides definitions and functionality for manipulating IMAGE_PROPERTIES_RECORD. Copyright (c) 2016 - 2018, Intel Corporation. All rights reserved.<BR> Copyright (c) Microsoft Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiDxe.h> #include <Library/BaseLib.h> #include <L...
MdeModulePkg/Library/ImagePropertiesRecordLib/ImagePropertiesRecordLib.c
null
null
null
null
null
source
edk2
/** @file Unit tests the SplitTable() ImagePropertiesRecordLib Logic Copyright (C) Microsoft Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <stdio.h> #include <string.h> #include <stdarg.h> #include <stddef.h> #include <setjmp.h> #include <cmocka.h> #include <Uefi.h> #include <Library/...
MdeModulePkg/Library/ImagePropertiesRecordLib/UnitTest/ImagePropertiesRecordLibUnitTestHost.c
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2010 - 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi.h> #include <Library/DebugLib.h> /** This function will save confidential information to lockbox. @param Guid the guid to identify the confidential information...
MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.c
null
null
null
null
null
source
edk2
/** @file LZMA Decompress GUIDed Section Extraction Library, which produces LZMA custom decompression algorithm with the converter for the different arch code. It wraps Lzma decompress interfaces to GUIDed Section Extraction interfaces and registers them into GUIDed handler table. Copyright (c) 2012 - 2018, ...
MdeModulePkg/Library/LzmaCustomDecompressLib/F86GuidedSectionExtraction.c
null
null
null
null
null
source
edk2
/** @file LZMA Decompress GUIDed Section Extraction Library. It wraps Lzma decompress interfaces to GUIDed Section Extraction interfaces and registers them into GUIDed handler table. Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #inc...
MdeModulePkg/Library/LzmaCustomDecompressLib/GuidedSectionExtraction.c
null
null
null
null
null
source
edk2
LzmaCustomDecompressLib is based on the LZMA SDK 19.00. LZMA SDK 19.00 was placed in the public domain on 2019-02-21. It was released on the http://www.7-zip.org/sdk.html website.
MdeModulePkg/Library/LzmaCustomDecompressLib/LZMA-SDK-README.txt
null
null
null
null
null
source
edk2
/** @file LZMA Decompress interfaces Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "LzmaDecompressLibInternal.h" #include "Sdk/C/7zTypes.h" #include "Sdk/C/7zVersion.h" #include "Sdk/C/LzmaDec.h" #define SCRATCH_BUFFER_REQUEST_...
MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaDecompress.c
null
null
null
null
null
source
edk2
/** @file LZMA Decompress Library internal header file declares Lzma decompress interfaces. Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Base.h> #include <PiPei.h> #include <Library/BaseLib.h> #include <Library/B...
MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaDecompressLibInternal.h
null
null
null
null
null
source
edk2
/** @file LZMA UEFI header file Allows LZMA code to build under UEFI (edk2) build environment Copyright (c) 2009, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Uefi.h> #include <Library/BaseMemoryLib.h> #ifdef _WIN32 #undef _WIN32 #en...
MdeModulePkg/Library/LzmaCustomDecompressLib/UefiLzma.h
null
null
null
null
null
source
edk2
/* 7zTypes.h -- Basic types 2018-08-04 : Igor Pavlov : Public domain */ #pragma once #ifdef _WIN32 /* #include <windows.h> */ #endif #ifdef EFIAPI #include "UefiLzma.h" #else #include <stddef.h> #endif #ifndef EXTERN_C_BEGIN #ifdef __cplusplus #define EXTERN_C_BEGIN extern "C" { #define EXTERN_C_END } #...
MdeModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/7zTypes.h
null
null
null
null
null
source
edk2
/* Bra.h -- Branch converters for executables 2013-01-18 : Igor Pavlov : Public domain */ #pragma once #include "7zTypes.h" EXTERN_C_BEGIN /* These functions convert relative addresses to absolute addresses in CALL instructions to increase the compression ratio. In: data - data buffer size - size...
MdeModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/Bra.h
null
null
null
null
null
source
edk2
/* Bra86.c -- Converter for x86 code (BCJ) 2017-04-03 : Igor Pavlov : Public domain */ #include "Precomp.h" #include "Bra.h" #define Test86MSByte(b) ((((b) + 1) & 0xFE) == 0) SizeT x86_Convert ( Byte *data, SizeT size, UInt32 ip, UInt32 *state, int encoding ) { SizeT pos = 0; UInt32 ...
MdeModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/Bra86.c
null
null
null
null
null
source
edk2
/* Compiler.h 2017-04-03 : Igor Pavlov : Public domain */ #pragma once #ifdef _MSC_VER #ifdef UNDER_CE #define RPC_NO_WINDOWS_H /* #pragma warning(disable : 4115) // '_RPC_ASYNC_STATE' : named type definition in parentheses */ #pragma warning(disable : 4201) // nonstandard extension used : nameless struct/unio...
MdeModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/Compiler.h
null
null
null
null
null
source
edk2
/* CpuArch.h -- CPU specific code 2018-02-18 : Igor Pavlov : Public domain */ #pragma once #include "7zTypes.h" EXTERN_C_BEGIN /* MY_CPU_LE means that CPU is LITTLE ENDIAN. MY_CPU_BE means that CPU is BIG ENDIAN. If MY_CPU_LE and MY_CPU_BE are not defined, we don't know about ENDIANNESS of platform. MY_CPU_LE_UNAL...
MdeModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/CpuArch.h
null
null
null
null
null
source
edk2
/* LzFind.c -- Match finder for LZ algorithms 2018-07-08 : Igor Pavlov : Public domain */ #include "Precomp.h" #ifndef EFIAPI #include <string.h> #endif #include "LzFind.h" #include "LzHash.h" #define kEmptyHashValue 0 #define kMaxValForNormalize ((UInt32)0xFFFFFFFF) #define kNormalizeStepMin (1 << 10)/*...
MdeModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/LzFind.c
null
null
null
null
null
source
edk2
/* LzFind.h -- Match finder for LZ algorithms 2017-06-10 : Igor Pavlov : Public domain */ #pragma once #include "7zTypes.h" EXTERN_C_BEGIN typedef UInt32 CLzRef; typedef struct _CMatchFinder { Byte *buffer; UInt32 pos; UInt32 posLimit; UInt32 streamPos; UInt32 ...
MdeModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/LzFind.h
null
null
null
null
null
source
edk2
/* LzHash.h -- HASH functions for LZ algorithms 2015-04-12 : Igor Pavlov : Public domain */ #pragma once #define kHash2Size (1 << 10) #define kHash3Size (1 << 16) #define kHash4Size (1 << 20) #define kFix3HashSize (kHash2Size) #define kFix4HashSize (kHash2Size + kHash3Size) #define kFix5HashSize (kHash2Size + ...
MdeModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/LzHash.h
null
null
null
null
null