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
/* LzmaDec.c -- LZMA Decoder 2018-07-04 : Igor Pavlov : Public domain */ #include "Precomp.h" #ifndef EFIAPI #include <string.h> #endif /* #include "CpuArch.h" */ #include "LzmaDec.h" #define kNumTopBits 24 #define kTopValue ((UInt32)1 << kNumTopBits) #define kNumBitModelTotalBits 11 #define kBitModelTotal ...
MdeModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/LzmaDec.c
null
null
null
null
null
source
edk2
/* LzmaDec.h -- LZMA Decoder 2018-04-21 : Igor Pavlov : Public domain */ #pragma once #include "7zTypes.h" EXTERN_C_BEGIN /* #define _LZMA_PROB32 */ /* _LZMA_PROB32 can increase the speed on some CPUs, but memory usage for CLzmaDec::probs will be doubled in that case */ typedef #ifdef _LZMA_PROB32 UInt32 #el...
MdeModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/LzmaDec.h
null
null
null
null
null
source
edk2
/* Precomp.h -- StdAfx 2013-11-12 : Igor Pavlov : Public domain */ #pragma once #include "Compiler.h" /* #include "7zTypes.h" */
MdeModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/Precomp.h
null
null
null
null
null
source
edk2
HISTORY of the LZMA SDK ----------------------- 19.00 2019-02-21 ------------------------- - Encryption strength for 7z archives was increased: the size of random initialization vector was increased from 64-bit to 128-bit, and the pseudo-random number generator was improved. - The bug in 7zIn.c code was f...
MdeModulePkg/Library/LzmaCustomDecompressLib/Sdk/DOC/lzma-history.txt
null
null
null
null
null
source
edk2
LZMA SDK 19.00 -------------- LZMA SDK provides the documentation, samples, header files, libraries, and tools you need to develop applications that use 7z / LZMA / LZMA2 / XZ compression. LZMA is an improved version of famous LZ77 compression algorithm. It was improved in way of maximum increasing of compression rat...
MdeModulePkg/Library/LzmaCustomDecompressLib/Sdk/DOC/lzma-sdk.txt
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2016, Linaro, Ltd. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiDxe.h> #include <Guid/NonDiscoverableDevice.h> #include <Library/BaseMemoryLib.h> #include <Library/DebugLib.h> #include <Library/DevicePathLib.h> #include <Library/MemoryAllocationL...
MdeModulePkg/Library/NonDiscoverableDeviceRegistrationLib/NonDiscoverableDeviceRegistrationLib.c
null
null
null
null
null
source
edk2
/** @file Null instance of OEM Hook Status Code Library with empty functions. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ /** Initialize OEM status code device . @retval EFI_SUCCESS Always return EFI_SUCCESS. **/ EFI_STATUS EF...
MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.c
null
null
null
null
null
source
edk2
/** @file Null instance of PCI Host Bridge Library with empty functions. Copyright (c) 2016, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiDxe.h> #include <Library/PciHostBridgeLib.h> #include <Library/DebugLib.h> GLOBAL_REMOVE_IF_UNREFERENCED CHAR16 ...
MdeModulePkg/Library/PciHostBridgeLibNull/PciHostBridgeLibNull.c
null
null
null
null
null
source
edk2
/** @file This library registers CRC32 guided section handler to parse CRC32 encapsulation section and extract raw data. Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiPei.h> #include <Guid/Crc32GuidedSectionExtraction.h> #incl...
MdeModulePkg/Library/PeiCrc32GuidedSectionExtractLib/PeiCrc32GuidedSectionExtractLib.c
null
null
null
null
null
source
edk2
/** @file PEI debug lib instance base on gEdkiiDebugPpiGuid to save PEIM size. Copyright (c) 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiPei.h> #include <Ppi/Debug.h> #include <Library/DebugLib.h> #include <Library/BaseMemoryLib.h> #include <L...
MdeModulePkg/Library/PeiDebugLibDebugPpi/DebugLib.c
null
null
null
null
null
source
edk2
/** @file NULL Library class that reads Debug Mask variable and if it exists makes a HOB that contains the debug mask. Copyright (c) 2011, Apple, Inc. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiPei.h> #include <Library/HobLib.h> #include <Library/DebugLib.h> #inclu...
MdeModulePkg/Library/PeiDebugPrintHobLib/PeiDebugPrintHobLib.c
null
null
null
null
null
source
edk2
/** @file Debug Library based on report status code library. Note that if the debug message length is larger than the maximum allowable record length, then the debug message will be ignored directly. Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause...
MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/DebugLib.c
null
null
null
null
null
source
edk2
/** @file Implementation of Ipmi Library in PEI Phase for SMS. Copyright (c) 2014 - 2015, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiPei.h> #include <Ppi/IpmiPpi.h> #include <Library/IpmiLib.h> #include <Library/PeiServicesLib.h> #include <Library/D...
MdeModulePkg/Library/PeiIpmiLibIpmiPpi/PeiIpmiLibIpmiPpi.c
null
null
null
null
null
source
edk2
/** @file Performance library instance used in PEI phase. This file implements all APIs in Performance Library class in MdePkg. It creates performance logging GUIDed HOB on the first performance logging and then logs the performance data to the GUIDed HOB. Due to the limitation of temporary RAM, the maximum ...
MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.c
null
null
null
null
null
source
edk2
/** @file Instance of Report Status Code Library for PEI Phase. Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Guid/StatusCodeDataTypeId.h> #include <Guid/StatusCodeDataTypeDebug.h> #include <Library/ReportStatusCodeLib.h> #inc...
MdeModulePkg/Library/PeiReportStatusCodeLib/ReportStatusCodeLib.c
null
null
null
null
null
source
edk2
/** @file PEI Reset System Library instance that calls the ResetSystem2() PEI Service. Copyright (c) 2017 - 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiPei.h> #include <Library/ResetSystemLib.h> #include <Library/PeiServicesLib.h> /** This f...
MdeModulePkg/Library/PeiResetSystemLib/PeiResetSystemLib.c
null
null
null
null
null
source
edk2
/** @file Interpret and execute the S3 data in S3 boot script. Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "InternalBootScriptLib.h" /** Executes an SMBus operation to an SMBus controller. Returns when either the command ha...
MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptExecute.c
null
null
null
null
null
source
edk2
/** @file This file declares the internal Framework Boot Script format used by the PI implementation of Script Saver and Executor. Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #pragma pack(1) // // Boot Script Opcode H...
MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptInternalFormat.h
null
null
null
null
null
source
edk2
/** @file Save the S3 data to S3 boot script. Copyright (c) 2006 - 2021, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "InternalBootScriptLib.h" /** Data structure usage: +------------------------------+<------- PcdS3BootScriptTablePrivateDataPtr ...
MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptSave.c
null
null
null
null
null
source
edk2
/** @file Support for S3 boot script lib. This file defined some internal macro and internal data structure Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <PiDxe.h> #include <Guid/EventGroup.h> #include <Protoco...
MdeModulePkg/Library/PiDxeS3BootScriptLib/InternalBootScriptLib.h
null
null
null
null
null
source
edk2
/** @file Support routines for memory allocation routines based on SMM Core internal functions, with memory profile support. The PI System Management Mode Core Interface Specification only allows the use of EfiRuntimeServicesCode and EfiRuntimeServicesData memory types for memory allocations as the SMRAM spa...
MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/MemoryAllocationLib.c
null
null
null
null
null
source
edk2
/** @file Contains function prototypes for Memory Services in the SMM Core. This header file borrows the PiSmmCore 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 **/ #pra...
MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationServices.h
null
null
null
null
null
source
edk2
/** @file Support routines for memory profile for PiSmmCore. Copyright (c) 2016 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiSmm.h> #include <Library/UefiBootServicesTableLib.h> #include <Library/DebugLib.h> #include <Guid/MemoryProfile.h> ...
MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryProfileLib.c
null
null
null
null
null
source
edk2
/** @file Null routines for memory profile for PiSmmCore. Copyright (c) 2016 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiSmm.h> #include <Guid/MemoryProfile.h> /** Record memory profile of multilevel caller. @param[in] CallerAddress ...
MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryProfileLibNull.c
null
null
null
null
null
source
edk2
/** @file Contains function prototypes for Memory Profile Services in the SMM Core. This header file borrows the PiSmmCore 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 **/ #p...
MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryProfileServices.h
null
null
null
null
null
source
edk2
/** @file SMM Core SMM Services Table Library. Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiSmm.h> #include <Library/SmmServicesTableLib.h> #include <Library/DebugLib.h> EFI_SMM_SYSTEM_TABLE2 *gSmst = NULL; extern E...
MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.c
null
null
null
null
null
source
edk2
/** @file This file include all platform action which can be customized by IBV/OEM. Copyright (c) 2012 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Library/PlatformBootManagerLib.h> /** Do the platform specific action before the console is conn...
MdeModulePkg/Library/PlatformBootManagerLibNull/PlatformBootManager.c
null
null
null
null
null
source
edk2
/** @file Null Platform Hook Library instance with dependency on gPeiSerialPortPpiGuid Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Base.h> #include <Library/PlatformHookLib.h> /** Performs platform specific initialization ...
MdeModulePkg/Library/PlatformHookLibSerialPortPpi/PlatformHookLibSerialPortPpi.c
null
null
null
null
null
source
edk2
/** @file Include file for platform variable cleanup. Copyright (c) 2015, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Library/UefiBootServicesTableLib.h> #include <Library/UefiRuntimeServicesTableLib.h> #include <Library/BaseLib.h> #include <...
MdeModulePkg/Library/PlatformVarCleanupLib/PlatVarCleanup.h
null
null
null
null
null
source
edk2
/** @file Include file for platform variable cleanup HII. Copyright (c) 2015, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once // // {24F14D8A-D7A8-4991-91E0-96C3B7DB8456} // #define VARIABLE_CLEANUP_HII_GUID \ { \ 0x24f14d8a, 0xd7a8, 0x4991, { 0x91, ...
MdeModulePkg/Library/PlatformVarCleanupLib/PlatVarCleanupHii.h
null
null
null
null
null
source
edk2
/** @file Sample platform variable cleanup library implementation. Copyright (c) 2015 - 2017, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "PlatVarCleanup.h" VAR_ERROR_FLAG mLastVarErrorFlag = VAR_ERROR_FLAG_NO_ERROR; EDKII_VAR_CHECK_PROTOCOL *m...
MdeModulePkg/Library/PlatformVarCleanupLib/PlatVarCleanupLib.c
null
null
null
null
null
source
edk2
/** @file This contains the business logic for the module-specific Reset Helper functions. Copyright (c) 2017 - 2019 Intel Corporation. All rights reserved.<BR> Copyright (c) 2016 Microsoft Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi.h> #include <Libr...
MdeModulePkg/Library/ResetUtilityLib/ResetUtility.c
null
null
null
null
null
source
edk2
/** @file API implementation for instance of Report Status Code Library. 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 ...
MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/ReportStatusCodeLib.c
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> #include <Li...
MdeModulePkg/Library/RuntimeResetSystemLib/RuntimeResetSystemLib.c
null
null
null
null
null
source
edk2
/** @file This library is mainly used by a MM Core to start performance logging to ensure that MM Performance and PerformanceEx Protocol are installed as early as possible in the MM phase. Caution: This module requires additional review when modified. - This driver will have external input - performance data...
MdeModulePkg/Library/SmmCorePerformanceLib/MmCorePerformanceLib.c
null
null
null
null
null
source
edk2
/** @file Performance library instance used by SMM Core. This library provides the performance measurement interfaces and initializes performance logging for the SMM phase. It initializes SMM phase performance logging by publishing the SMM Performance and PerformanceEx Protocol, which is consumed by SmmPerfo...
MdeModulePkg/Library/SmmCorePerformanceLib/SmmCorePerformanceLib.c
null
null
null
null
null
source
edk2
/** @file Master header files for SmmCorePerformanceLib instance. This header file holds the prototypes of the SMM Performance and PerformanceEx Protocol published by this library instance at its constructor. Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR> Copyright (c) Microsoft Corporat...
MdeModulePkg/Library/SmmCorePerformanceLib/SmmCorePerformanceLibInternal.h
null
null
null
null
null
source
edk2
/** @file This library is mainly used by the Standalone MM Core to start performance logging to ensure that Standalone MM Performance and PerformanceEx Protocol are installed as early as possible in the MM phase. Caution: This module requires additional review when modified. - This driver will have external ...
MdeModulePkg/Library/SmmCorePerformanceLib/StandaloneMmCorePerformanceLib.c
null
null
null
null
null
source
edk2
/** @file Null instance of SmmCorePlatformHookLibNull. Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Library/SmmCorePlatformHookLib.h> /** Performs platform specific tasks before invoking registered SMI handlers. This fun...
MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.c
null
null
null
null
null
source
edk2
/** @file Implementation of Ipmi Library for SMM. Copyright (c) 2009 - 2015, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiSmm.h> #include <Protocol/IpmiProtocol.h> #include <Library/IpmiLib.h> #include <Library/SmmServicesTableLib.h> #include <Library...
MdeModulePkg/Library/SmmIpmiLibSmmIpmiProtocol/SmmIpmiLibSmmIpmiProtocol.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 <PiDxe.h> #include <Library/UefiBootServicesTableLib.h> #include <Library/UefiRuntimeServicesTableLib.h> #include <Library/BaseLib.h> #include <Library/BaseMemoryLib.h> #include...
MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.c
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2010, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Uefi.h> #pragma pack(1) // // Below data structure is used for lockbox registration in SMST // #define SMM_LOCK_BOX_SIGNATURE_32 SIGNATURE_64 ('L','O','C','K','B','_...
MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxLibPrivate.h
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 <PiMm.h> #include <Library/MmServicesTableLib.h> #include <Library/BaseLib.h> #include <Library/BaseMemoryLib.h> #include <Library/LockBoxLib.h> #include <Library/DebugLib.h> #i...
MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxMmLib.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 <PiPei.h> #include <PiDxe.h> #include <PiSmm.h> #include <Library/PeiServicesTablePointerLib.h> #include <Library/PeiServicesLib.h> #include <Library/BaseLib.h> #include <Librar...
MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.c
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2010 - 2019, Intel Corporation. All rights reserved.<BR> Copyright (c) Microsoft Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiMm.h> #include "SmmLockBoxLibPrivate.h" /** Constructor for SmmLockBox library. This is used to set SmmLockBox context, which will ...
MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxStandaloneMmLib.c
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2010 - 2019, Intel Corporation. All rights reserved.<BR> Copyright (c) Microsoft Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiSmm.h> #include "SmmLockBoxLibPrivate.h" /** Constructor for SmmLockBox library. This is used to set SmmLockBox context, which will...
MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxTraditionalMmLib.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, with memory profile support. The PI System Management Mode Core Interface Specification only allows the use of EfiRuntimeServicesCode and EfiRuntimeServicesData memory types for memory alloca...
MdeModulePkg/Library/SmmMemoryAllocationProfileLib/MemoryAllocationLib.c
null
null
null
null
null
source
edk2
/** @file Support routines for memory profile for Smm phase drivers. Copyright (c) 2016 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiSmm.h> #include <Library/UefiBootServicesTableLib.h> #include <Library/SmmServicesTableLib.h> #include <Libra...
MdeModulePkg/Library/SmmMemoryAllocationProfileLib/SmmMemoryProfileLib.c
null
null
null
null
null
source
edk2
/** @file Performance Library used in SMM phase. This library instance provides infrastructure for SMM drivers to log performance data. It consumes SMM PerformanceEx or Performance Protocol published by SmmCorePerformanceLib to log performance data. If both SMM PerformanceEx and Performance Protocol are not av...
MdeModulePkg/Library/SmmPerformanceLib/SmmPerformanceLib.c
null
null
null
null
null
source
edk2
/** @file Performance Library used in the MM phase. This library instance provides infrastructure for MM drivers to log performance data. It consumes MM PerformanceEx or Performance Protocol published by SmmCorePerformanceLib to log performance data. If both MM PerformanceEx and Performance Protocol are not av...
MdeModulePkg/Library/SmmPerformanceLib/SmmPerformanceLibInternal.c
null
null
null
null
null
source
edk2
/** @file Internal library header. Copyright (c) Microsoft Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /** Registers a callback to perform library actions needed at exit boot services. @param[in] ExitBootServicesProtocolGuid The protocol GUID to register the callback for. ...
MdeModulePkg/Library/SmmPerformanceLib/SmmPerformanceLibInternal.h
null
null
null
null
null
source
edk2
/** @file Performance Library used in Standalone MM phase. This library instance provides infrastructure for Standalone MM drivers to log performance data. It consumes the MM PerformanceEx or Performance Protocol to log performance data. If both MM PerformanceEx and Performance Protocol are not available, it d...
MdeModulePkg/Library/SmmPerformanceLib/StandaloneMmPerformanceLib.c
null
null
null
null
null
source
edk2
/** @file Report Status Code Library for MM Phase. Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Library/ReportStatusCodeLib.h> #include <Library/DebugLib.h> #include <Library/MmServicesTableLib.h> #include <Library/BaseLib.h> ...
MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLib.c
null
null
null
null
null
source
edk2
/** @file Report Status Code Library for MM Phase. Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /** Returns the first protocol instance that matches the given protocol. @param[in] Protocol Provides the proto...
MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLib.h
null
null
null
null
null
source
edk2
/** @file Abstraction layer for MM service table used by MM ReportStatusCodeLib. Copyright (c) Microsoft Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiMm.h> #include <Library/MmServicesTableLib.h> /** Returns the first protocol instance that matches the given protocol. @param...
MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLibStandaloneMm.c
null
null
null
null
null
source
edk2
/** @file Abstraction layer for SMM service table used by SMM ReportStatusCodeLib. Copyright (c) Microsoft Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiMm.h> #include <Library/SmmServicesTableLib.h> /** Returns the first protocol instance that matches the given protocol. @pa...
MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLibTraditional.c
null
null
null
null
null
source
edk2
/** @file MM driver instance of SmiHandlerProfile Library. Copyright (c) 2017, Intel Corporation. All rights reserved.<BR> Copyright (c) Microsoft Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiMm.h> #include <Library/SmiHandlerProfileLib.h> #include <Library/MmServicesTableLib.h> ...
MdeModulePkg/Library/SmmSmiHandlerProfileLib/MmSmiHandlerProfileLib.c
null
null
null
null
null
source
edk2
/** @file MM driver instance of SmiHandlerProfile Library. Copyright (c) 2017, Intel Corporation. All rights reserved.<BR> Copyright (c) Microsoft Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /** The common constructor function for SMI handler profile. @retval EFI_SUCCESS ...
MdeModulePkg/Library/SmmSmiHandlerProfileLib/MmSmiHandlerProfileLib.h
null
null
null
null
null
source
edk2
/** @file SMM driver instance of SmiHandlerProfile Library. Copyright (c) 2017, Intel Corporation. All rights reserved.<BR> Copyright (c) Microsoft Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiMm.h> #include "MmSmiHandlerProfileLib.h" /** The constructor function for traditio...
MdeModulePkg/Library/SmmSmiHandlerProfileLib/SmmSmiHandlerProfileLib.c
null
null
null
null
null
source
edk2
/** @file Standalone MM driver instance of SmiHandlerProfile Library. Copyright (c) 2017, Intel Corporation. All rights reserved.<BR> Copyright (c) Microsoft Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiMm.h> #include "MmSmiHandlerProfileLib.h" /** The constructor function fo...
MdeModulePkg/Library/SmmSmiHandlerProfileLib/StandaloneMmSmiHandlerProfileLib.c
null
null
null
null
null
source
edk2
/** @file NULL instance of TdxMeasurementLib Copyright (c) 2025, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Base.h> #include <PiPei.h> #include <Library/TdxMeasurementLib.h> /** According to UEFI Spec 2.10 Section 38.4.1: The following table show...
MdeModulePkg/Library/TdxMeasurementLibNull/TdxMeasurementLibNull.c
null
null
null
null
null
source
edk2
/** @file This library is used by other modules to measure data to TPM. Copyright (c) 2015, Intel Corporation. All rights reserved. <BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi/UefiBaseType.h> #include <Library/TpmMeasurementLib.h> /** Tpm measure and log data, and extend the measurement...
MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.c
null
null
null
null
null
source
edk2
/** @file System prints Trace Hub message in SEC/PEI/DXE/SMM based on fixed PCDs. Only support single Trace Hub debug instance. Copyright (c) 2023, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Base.h> #include <Library/BaseLib.h> #include <Library/PcdLib.h> ...
MdeModulePkg/Library/TraceHubDebugSysTLib/BaseTraceHubDebugSysTLib.c
null
null
null
null
null
source
edk2
/** @file System prints Trace Hub message in DXE/SMM based on fixed PCDs and HOB. Trace Hub PCDs will be applied if no HOB exist. Copyright (c) 2023, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Base.h> #include <Library/BaseLib.h> #include <Library/PcdLib.h...
MdeModulePkg/Library/TraceHubDebugSysTLib/DxeSmmTraceHubDebugSysTLib.c
null
null
null
null
null
source
edk2
/** @file Functions implementation in this file are not common for all type of TraceHubDebugSysTLib. Copyright (c) 2023, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Base.h> #include <Guid/TraceHubDebugInfoHob.h> #include <Library/BaseMemoryLib.h> #include <...
MdeModulePkg/Library/TraceHubDebugSysTLib/InternalTraceHubApi.c
null
null
null
null
null
source
edk2
/** @file This header file declares functions that are not for common use. Copyright (c) 2023, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /** Count the total number of Trace Hub debug instance in the system. @retval UINT32 The total number of...
MdeModulePkg/Library/TraceHubDebugSysTLib/InternalTraceHubApi.h
null
null
null
null
null
source
edk2
/** @file Functions implementation defined in this file are common for all type of TraceHubDebugSysTLib Copyright (c) 2023, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Base.h> #include <Library/BaseLib.h> #include <Library/BaseMemoryLib.h> #include <Library...
MdeModulePkg/Library/TraceHubDebugSysTLib/InternalTraceHubApiCommon.c
null
null
null
null
null
source
edk2
/** @file This header file declares functions and type for common use. Copyright (c) 2023, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once typedef enum { TraceHubDebugType = 0, TraceHubCatalogType } TRACEHUB_PRINTTYPE; typedef enum { TraceHubRoutingD...
MdeModulePkg/Library/TraceHubDebugSysTLib/InternalTraceHubApiCommon.h
null
null
null
null
null
source
edk2
/** @file System prints Trace Hub message in PEI based on fixed PCDs and HOB. System applies Trace Hub HOB once it detect gTraceHubDebugInfoHobGuid HOB. Trace Hub PCDs will be applied if no HOB exist. Copyright (c) 2023, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #i...
MdeModulePkg/Library/TraceHubDebugSysTLib/PeiTraceHubDebugSysTLib.c
null
null
null
null
null
source
edk2
## Introduction of TrcaceHubDebugSysTLib ## TrcaceHubDebugSysTLib library is a top level library for dumping Trace Hub messages. It provides Trace Hub related APIs to dump Trace Hub message via MIPI SYS-T submodule. User need to properly configure following Trace Hub related PCDs and HOB. (See MdeModulePkg.dec to get...
MdeModulePkg/Library/TraceHubDebugSysTLib/Readme.md
null
null
null
null
null
source
edk2
/** @file Library functions which relates with booting. Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved. Copyright (c) 2011 - 2021, Intel Corporation. All rights reserved.<BR> (C) Copyright 2015-2021 Hewlett Packard Enterprise Development LP<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include...
MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c
null
null
null
null
null
source
edk2
/** @file Library functions which relate with boot option description. Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR> (C) Copyright 2015 Hewlett Packard Enterprise Development LP<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "InternalBm.h" #define VENDOR_IDENTIFICATION_OFFS...
MdeModulePkg/Library/UefiBootManagerLib/BmBootDescription.c
null
null
null
null
null
source
edk2
/** @file Library functions which relate with connecting the device. Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "InternalBm.h" /** Connect all the drivers to all the controllers. This function makes sure all the current sys...
MdeModulePkg/Library/UefiBootManagerLib/BmConnect.c
null
null
null
null
null
source
edk2
/** @file Library functions which contain all the code to connect console device. Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR> (C) Copyright 2015 Hewlett Packard Enterprise Development LP<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "InternalBm.h" CHAR16 *mConVarName[] ...
MdeModulePkg/Library/UefiBootManagerLib/BmConsole.c
null
null
null
null
null
source
edk2
/** @file Library functions which relates with driver health. Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR> (C) Copyright 2015 Hewlett-Packard Development Company, L.P.<BR> (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #in...
MdeModulePkg/Library/UefiBootManagerLib/BmDriverHealth.c
null
null
null
null
null
source
edk2
/** @file Hotkey library functions. Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR> (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "InternalBm.h" // // Lock for linked list // EFI_LOCK mBmHotkeyLock = E...
MdeModulePkg/Library/UefiBootManagerLib/BmHotkey.c
null
null
null
null
null
source
edk2
/** @file Load option library functions which relate with creating and processing load options. Copyright (c) 2011 - 2019, Intel Corporation. All rights reserved.<BR> (C) Copyright 2015-2018 Hewlett Packard Enterprise Development LP<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "InternalBm.h" GLOB...
MdeModulePkg/Library/UefiBootManagerLib/BmLoadOption.c
null
null
null
null
null
source
edk2
/** @file Misc library functions. Copyright (c) 2011 - 2019, Intel Corporation. All rights reserved.<BR> (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "InternalBm.h" /** Delete the instance in Multi which matches partly with Single ins...
MdeModulePkg/Library/UefiBootManagerLib/BmMisc.c
null
null
null
null
null
source
edk2
/** @file BDS library definition, include the file and data structure Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved. Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR> (C) Copyright 2015 Hewlett Packard Enterprise Development LP<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ ...
MdeModulePkg/Library/UefiBootManagerLib/InternalBm.h
null
null
null
null
null
source
edk2
/** @file Language related HII Library implementation. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "InternalHiiLib.h" /** Retrieves a pointer to the a Null-terminated ASCII string containing the list of languages that an ...
MdeModulePkg/Library/UefiHiiLib/HiiLanguage.c
null
null
null
null
null
source
edk2
/** @file HII Library implementation that uses DXE protocols and services. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "InternalHiiLib.h" #define GUID_CONFIG_STRING_TYPE 0x00 #define NAME_CONFIG_STRING_TYPE 0x01 #define PAT...
MdeModulePkg/Library/UefiHiiLib/HiiLib.c
null
null
null
null
null
source
edk2
/** @file HII Library implementation that uses DXE protocols and services. Copyright (c) 2006 - 2021, Intel Corporation. All rights reserved.<BR> (C) Copyright 2021 Hewlett Packard Enterprise Development LP<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "InternalHiiLib.h" /** This function c...
MdeModulePkg/Library/UefiHiiLib/HiiString.c
null
null
null
null
null
source
edk2
/** @file Internal include file for the HII Library instance. Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Uefi.h> #include <Protocol/DevicePath.h> #include <Protocol/FormBrowser2.h> #include <Guid/MdeModuleHii...
MdeModulePkg/Library/UefiHiiLib/InternalHiiLib.h
null
null
null
null
null
source
edk2
/** @file This library retrieves pointers to the UEFI HII Protocol instances in the library's constructor. All of the UEFI HII related protocols are optional, so the consumers of this library class must verify that the global variable pointers are not NULL before use. Copyright (c) 2006 - 2018, Intel Corpor...
MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.c
null
null
null
null
null
source
edk2
/** @file Support routines for memory profile for Dxe phase drivers. Copyright (c) 2016 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi.h> #include <Library/UefiBootServicesTableLib.h> #include <Library/DebugLib.h> #include <Guid/MemoryProfi...
MdeModulePkg/Library/UefiMemoryAllocationProfileLib/DxeMemoryProfileLib.c
null
null
null
null
null
source
edk2
/** @file Support routines for memory allocation routines based on boot services for Dxe phase drivers, with memory profile support. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi.h> #include <Library/MemoryAllocationLib...
MdeModulePkg/Library/UefiMemoryAllocationProfileLib/MemoryAllocationLib.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 <Protocol/UnicodeCollation.h> #include <Protocol/DevicePath.h> #include <Library/UefiBootServicesTableLib.h> #includ...
MdeModulePkg/Library/UefiSortLib/UefiSortLib.c
null
null
null
null
null
source
edk2
/** @file Unit tests for the implementation of UefiSortLib. Copyright (c) 2022, Intel Corporation. All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Library/GoogleTestLib.h> extern "C" { #include <Uefi.h> #include <Library/SortLib.h> } using namespace testing; INTN EFIAPI Com...
MdeModulePkg/Library/UefiSortLib/GoogleTest/UefiSortLibGoogleTest.cpp
null
null
null
null
null
source
edk2
/** @file Unit tests of the UefiSortLib Copyright (C) Huawei Technologies Co., Ltd. All rights reserved 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/Ba...
MdeModulePkg/Library/UefiSortLib/UnitTest/UefiSortLibUnitTest.c
null
null
null
null
null
source
edk2
/** @file Internal structure for Var Check Hii. Copyright (c) 2015 - 2017, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once // // Alignment for Hii Variable and Question header. // #define HEADER_ALIGNMENT 4 #define HEADER_ALIGN(Header) (((UINTN) (Header)...
MdeModulePkg/Library/VarCheckHiiLib/InternalVarCheckStructure.h
null
null
null
null
null
source
edk2
/** @file Include file for Var Check Hii handler and bin. Copyright (c) 2015 - 2024, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Library/VarCheckLib.h> #include <Library/BaseLib.h> #include <Library/DebugLib.h> #include <Library/BaseMemoryLib...
MdeModulePkg/Library/VarCheckHiiLib/VarCheckHii.h
null
null
null
null
null
source
edk2
/** @file Var Check Hii bin generation. Copyright (c) 2015 - 2024, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "VarCheckHiiGen.h" #include "VarCheckHii.h" VAR_CHECK_HII_VARIABLE_HEADER *mVarCheckHiiBin = NULL; UINTN mVarCheckHi...
MdeModulePkg/Library/VarCheckHiiLib/VarCheckHiiGen.c
null
null
null
null
null
source
edk2
/** @file Include file for Var Check Hii bin generation. Copyright (c) 2024, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include "VarCheckHii.h" extern VAR_CHECK_HII_VARIABLE_HEADER *mVarCheckHiiBin; extern UINTN mVarCheckHii...
MdeModulePkg/Library/VarCheckHiiLib/VarCheckHiiGen.h
null
null
null
null
null
source
edk2
/** @file Var Check Hii generation from FV. Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "VarCheckHiiGen.h" // {d0bc7cb4-6a47-495f-aa11-710746da06a2} #define EFI_VFR_ATTRACT_GUID \ { 0xd0bc7cb4, 0x6a47, 0x495f, { 0xaa, 0x11, 0x71,...
MdeModulePkg/Library/VarCheckHiiLib/VarCheckHiiGenFromFv.c
null
null
null
null
null
source
edk2
/** @file Var Check Hii generation from Hii Database. Copyright (c) 2015, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "VarCheckHiiGen.h" /** Generate from Hii Database. **/ VOID VarCheckHiiGenFromHiiDatabase ( VOID ) { EFI_STATUS S...
MdeModulePkg/Library/VarCheckHiiLib/VarCheckHiiGenFromHii.c
null
null
null
null
null
source
edk2
/** @file Var Check Hii handler. Copyright (c) 2015 - 2017, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "VarCheckHii.h" #include "VarCheckHiiGen.h" #include "VarCheckHiiLibCommon.h" /** Sets the variable check handler for HII. @param[in] VariableName ...
MdeModulePkg/Library/VarCheckHiiLib/VarCheckHiiLib.c
null
null
null
null
null
source
edk2
/** @file Var Check Hii Lib Common logic Copyright (c) 2024, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi.h> #include <Library/DebugLib.h> #include "VarCheckHii.h" #include "VarCheckHiiLibCommon.h" EFI_HANDLE mEfiVariableC...
MdeModulePkg/Library/VarCheckHiiLib/VarCheckHiiLibCommon.c
null
null
null
null
null
source
edk2
/** @file Var Check Hii Lib Common logic Copyright (c) 2024, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Uefi.h> #include <Library/DebugLib.h> #include <Library/MemoryAllocationLib.h> #include <Library/MmServicesTableLib.h> #include <Protocol/M...
MdeModulePkg/Library/VarCheckHiiLib/VarCheckHiiLibCommon.h
null
null
null
null
null
source
edk2
/** @file VarCheckHiiLib Dependency library. It sends HII variable checking data to SMM via the MM Communication protocol. Copyright (c) 2024, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi.h> #include <Library/UefiBootServicesTableLib.h> #include <L...
MdeModulePkg/Library/VarCheckHiiLib/VarCheckHiiLibMmDependency.c
null
null
null
null
null
source
edk2
/** @file Implementation functions and structures for var check services. This file provides functions and structures to register and handle variable checks in the Standalone MM environment, specifically for HII variables. Copyright (c) 2024, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: ...
MdeModulePkg/Library/VarCheckHiiLib/VarCheckHiiLibStandaloneMm.c
null
null
null
null
null