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 Guid & data structure used for Delivering Capsules Containing Updates to EDKII System Firmware Management Protocol Copyright (c) 2016, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /** @verbatim 1. Capsule Layout is below: +--------...
SignedCapsulePkg/Include/Guid/EdkiiSystemFmpCapsule.h
null
null
null
null
null
source
edk2
/** @file EDKII System Capsule library. Copyright (c) 2016, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Guid/EdkiiSystemFmpCapsule.h> /** Extract ImageFmpInfo from system firmware. @param[in] SystemFirmwareImage The System Firmware...
SignedCapsulePkg/Include/Library/EdkiiSystemCapsuleLib.h
null
null
null
null
null
source
edk2
/** @file INI configuration parsing library. The INI file format is: ================ [SectionName] EntryName=EntryValue ================ Where: 1) SectionName is an ASCII string. The valid format is [A-Za-z0-9_]+ 2) EntryName is an ASCII string. The valid format is [A-Za-z0-9_]+ ...
SignedCapsulePkg/Include/Library/IniParsingLib.h
null
null
null
null
null
source
edk2
/** @file EDKII System Capsule library. EDKII System Capsule library instance. CapsuleAuthenticateSystemFirmware(), ExtractAuthenticatedImage() will receive untrusted input and do basic validation. Copyright (c) 2016 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Claus...
SignedCapsulePkg/Library/EdkiiSystemCapsuleLib/EdkiiSystemCapsuleLib.c
null
null
null
null
null
source
edk2
/** @file This library parses the INI configuration file. The INI file format is: ================ [SectionName] EntryName=EntryValue ================ Where: 1) SectionName is an ASCII string. The valid format is [A-Za-z0-9_]+ 2) EntryName is an ASCII string. The valid format is [A...
SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.c
null
null
null
null
null
source
edk2
/** @file Platform flash device access library NULL instance. Copyright (c) 2016 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiDxe.h> #include <Library/BaseMemoryLib.h> #include <Library/PlatformFlashAccessLib.h> UINT64 mInternalFdAddress; ...
SignedCapsulePkg/Library/PlatformFlashAccessLibNull/PlatformFlashAccessLibNull.c
null
null
null
null
null
source
edk2
/** @file Parse the INI configuration file and pass the information to the recovery driver so that the driver can perform recovery accordingly. Copyright (c) 2016 - 2017, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "RecoveryModuleLoadPei.h" #include ...
SignedCapsulePkg/Universal/RecoveryModuleLoadPei/ParseConfigProfile.c
null
null
null
null
null
source
edk2
/** @file Recovery module. 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. ProcessRecoveryCapsule(), ProcessFmpCapsuleImage()...
SignedCapsulePkg/Universal/RecoveryModuleLoadPei/RecoveryModuleLoadPei.c
null
null
null
null
null
source
edk2
/** @file Recovery module header file. Copyright (c) 2016, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <PiPei.h> #include <Library/BaseLib.h> #include <Library/BaseMemoryLib.h> #include <Library/DebugLib.h> #include <Library/MemoryAllocat...
SignedCapsulePkg/Universal/RecoveryModuleLoadPei/RecoveryModuleLoadPei.h
null
null
null
null
null
source
edk2
/** @file Parse the INI configuration file and pass the information to the update driver so that the driver can perform update accordingly. Copyright (c) 2016 - 2017, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "SystemFirmwareDxe.h" #include <Library...
SignedCapsulePkg/Universal/SystemFirmwareUpdate/ParseConfigProfile.c
null
null
null
null
null
source
edk2
/** @file Produce FMP instance for system firmware. Copyright (c) 2016 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "SystemFirmwareDxe.h" EFI_GUID gSystemFmpLastAttemptVariableGuid = SYSTEM_FMP_LAST_ATTEMPT_VARIABLE_GUID; EFI_GUID gSystemFmpPr...
SignedCapsulePkg/Universal/SystemFirmwareUpdate/SystemFirmwareCommonDxe.c
null
null
null
null
null
source
edk2
/** @file System Firmware update header file. Copyright (c) 2016 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <PiDxe.h> #include <Guid/SystemResourceTable.h> #include <Guid/FirmwareContentsSigned.h> #include <Guid/WinCertificate.h>...
SignedCapsulePkg/Universal/SystemFirmwareUpdate/SystemFirmwareDxe.h
null
null
null
null
null
source
edk2
/** @file SetImage instance to report system firmware and act as agent to system update. 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 o...
SignedCapsulePkg/Universal/SystemFirmwareUpdate/SystemFirmwareReportDxe.c
null
null
null
null
null
source
edk2
/** @file SetImage instance to update system firmware. 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. FmpSetImage() will rec...
SignedCapsulePkg/Universal/SystemFirmwareUpdate/SystemFirmwareUpdateDxe.c
null
null
null
null
null
source
edk2
UDK based firmware on UEFI IA-32 and UEFI x64 platforms can be debugged with SourceLevelDebugPkg in conjunction with Intel(R) UEFI Development Kit Debugger Tool (Intel (R) UDK Debugger Tool). The Intel(R) UDK Debugger Tool and its detailed user manual can be obtained from: https://firmware.intel.com/develop/intel-uefi...
SourceLevelDebugPkg/Readme.txt
null
null
null
null
null
source
edk2
/** @file Initialize Debug Agent in DXE by invoking Debug Agent Library. Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiDxe.h> #include <Guid/EventGroup.h> #include <Library/UefiBootServicesTableLib.h> #include <Library/DebugAgent...
SourceLevelDebugPkg/DebugAgentDxe/DebugAgentDxe.c
null
null
null
null
null
source
edk2
/** @file Initialize Debug Agent in PEI by invoking Debug Agent Library. Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiPei.h> #include <Library/DebugAgentLib.h> /** The Entry Point for Debug Agent PEI driver. It will invok...
SourceLevelDebugPkg/DebugAgentPei/DebugAgentPei.c
null
null
null
null
null
source
edk2
/** @file Public include file for Debug Agent Library instance and PE/COFF Extra Action Library instance. Copyright (c) 2010 - 2013, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #define IO_PORT_BREAKPOINT_ADDRESS 0x84 #define IMAGE_LOAD_SIGNATURE...
SourceLevelDebugPkg/Include/ImageDebugSupport.h
null
null
null
null
null
source
edk2
/** @file Transfer protocol definitions used by debug agent and host. It is only intended to be used by Debug related module implementation. Copyright (c) 2010 - 2017, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include "ProcessorContext.h" // ...
SourceLevelDebugPkg/Include/TransferProtocol.h
null
null
null
null
null
source
edk2
/** @file This file defines the debug agent GUID for HOB and configuration table. Copyright (c) 2010, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /// /// This guid is used as a variable GUID for the capsule variable /// if the capsule pointer is pa...
SourceLevelDebugPkg/Include/Guid/DebugAgentGuid.h
null
null
null
null
null
source
edk2
/** @file IA32/x64 architecture specific definitions needed by debug transfer protocol.It is only intended to be used by Debug related module implementation. Copyright (c) 2010 - 2012, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once // // IA-32/x64 ...
SourceLevelDebugPkg/Include/Ia32/ProcessorContext.h
null
null
null
null
null
source
edk2
/** @file Debug Communication Library definitions. Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once typedef VOID *DEBUG_PORT_HANDLE; /** Caller provided function to be invoked at the end of DebugPortInitialize(). Refer t...
SourceLevelDebugPkg/Include/Library/DebugCommunicationLib.h
null
null
null
null
null
source
edk2
/** @file Common Debug Agent library implementation. It mainly includes the first C function called by exception/interrupt handlers, read/write debug packet to communication with HOST based on transfer protocol. Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier:...
SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugAgent.c
null
null
null
null
null
source
edk2
/** @file Command header of for Debug Agent library instance. Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Register/LocalApic.h> #include <Guid/DebugAgentGuid.h> #include <Guid/VectorHandoffTable.h> #include <Ppi...
SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugAgent.h
null
null
null
null
null
source
edk2
/** @file Multi-Processor support functions implementation. Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "DebugAgent.h" GLOBAL_REMOVE_IF_UNREFERENCED DEBUG_MP_CONTEXT volatile mDebugMpContext = { 0, 0, 0, { 0 }, { 0 }, 0, 0, ...
SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugMp.c
null
null
null
null
null
source
edk2
/** @file Header file for Multi-Processor support. Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #define DEBUG_CPU_MAX_COUNT 256 typedef struct { UINT32 CpuCount; ///< Processor count UIN...
SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugMp.h
null
null
null
null
null
source
edk2
/** @file Code for debug timer to support debug agent library implementation. Copyright (c) 2010 - 2015, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "DebugAgent.h" /** Initialize CPU local APIC timer. @param[out] TimerFrequency Local APIC timer f...
SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugTimer.c
null
null
null
null
null
source
edk2
/** @file Header file for debug timer to support debug agent library implementation. Copyright (c) 2010 - 2015, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /** Initialize CPU local APIC timer. @param[out] TimerFrequency Local APIC timer frequ...
SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugTimer.h
null
null
null
null
null
source
edk2
/** @file Supporting functions for IA32 architecture. Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "DebugAgent.h" /** Initialize IDT entries to support source level debug. **/ VOID InitializeDebugIdt ( VOID ) { IA32_I...
SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/Ia32/ArchDebugSupport.c
null
null
null
null
null
source
edk2
/** @file IA32 specific definitions for debug agent library instance. Copyright (c) 2010 - 2012, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include "ProcessorContext.h" #include "TransferProtocol.h" #define DEBUG_SW_BREAKPOINT_SYMBOL 0xcc #defi...
SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/Ia32/ArchDebugSupport.h
null
null
null
null
null
source
edk2
/** @file Exception definitions. Copyright (c) 2010, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #define DEBUG_EXCEPT_DIVIDE_ERROR 0 #define DEBUG_EXCEPT_DEBUG 1 #define DEBUG_EXCEPT_NMI 2 #define DEBUG_EXCEPT_BREAKPOINT...
SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/Ia32/DebugException.h
null
null
null
null
null
source
edk2
/** @file Supporting functions for X64 architecture. Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "DebugAgent.h" /** Initialize IDT entries to support source level debug. **/ VOID InitializeDebugIdt ( VOID ) { IA32_ID...
SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/X64/ArchDebugSupport.c
null
null
null
null
null
source
edk2
/** @file X64 specific definitions for debug agent library instance. Copyright (c) 2010 - 2012, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include "ProcessorContext.h" #include "TransferProtocol.h" #define DEBUG_SW_BREAKPOINT_SYMBOL 0xcc #defin...
SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/X64/ArchDebugSupport.h
null
null
null
null
null
source
edk2
/** @file Debug Agent library implementation for Dxe Core and Dxr modules. Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR> Copyright (c) Microsoft Corporation.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "DxeDebugAgentLib.h" DEBUG_AGENT_MAILBOX mMailbox; DEBUG_...
SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgent/DxeDebugAgentLib.c
null
null
null
null
null
source
edk2
/** @file Header file for Dxe Core Debug Agent Library instance. Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <PiDxe.h> #include <Protocol/SerialIo.h> #include <Protocol/DevicePath.h> #include <Protocol/PiPcd.h> ...
SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgent/DxeDebugAgentLib.h
null
null
null
null
null
source
edk2
/** @file Install Serial IO Protocol that layers on top of a Debug Communication Library instance. Copyright (c) 2012 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "DxeDebugAgentLib.h" // // Serial I/O Protocol Interface definitions. // /** Re...
SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgent/SerialIo.c
null
null
null
null
null
source
edk2
/** @file SEC Core Debug Agent Library instance implementation. Copyright (c) 2010 - 2017, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "SecPeiDebugAgentLib.h" GLOBAL_REMOVE_IF_UNREFERENCED BOOLEAN mSkipBreakpoint = FALSE; GLOBAL_REMOVE_IF_UNREFERENCE...
SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgent/SecPeiDebugAgentLib.c
null
null
null
null
null
source
edk2
/** @file Header file for Sec Core Debug Agent Library instance. Copyright (c) 2010 - 2013, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <PiPei.h> #include <Ppi/MemoryDiscovered.h> #include <Library/PeiServicesLib.h> #include <Library/Memor...
SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgent/SecPeiDebugAgentLib.h
null
null
null
null
null
source
edk2
/** @file Debug Agent library implementation. Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "SmmDebugAgentLib.h" DEBUG_AGENT_MAILBOX *mMailboxPointer = NULL; DEBUG_AGENT_MAILBOX mLocalMailbox; UINTN ...
SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgent/SmmDebugAgentLib.c
null
null
null
null
null
source
edk2
/** @file Header file for Smm Debug Agent Library instance. Copyright (c) 2010 - 2013, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <PiDxe.h> #include <Library/UefiLib.h> #include <Library/SmmServicesTableLib.h> #include "DebugAgent.h"
SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgent/SmmDebugAgentLib.h
null
null
null
null
null
source
edk2
/** @file Debug Port Library implementation based on serial port. Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Base.h> #include <Library/DebugCommunicationLib.h> #include <Library/SerialPortLib.h> #include <Library/DebugLib.h...
SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.c
null
null
null
null
null
source
edk2
/** @file Debug Port Library implementation based on usb debug port. Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Base.h> #include <IndustryStandard/Pci.h> #include <IndustryStandard/Usb.h> #include <Library/IoLib.h> #include ...
SourceLevelDebugPkg/Library/DebugCommunicationLibUsb/DebugCommunicationLibUsb.c
null
null
null
null
null
source
edk2
/** @file Debug Port Library implementation based on usb3 debug port. Copyright (c) 2014 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "DebugCommunicationLibUsb3Internal.h" UINT16 mString0Desc[] = { // String Descriptor Type + Length (USB_D...
SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Common.c
null
null
null
null
null
source
edk2
/** @file Debug Port Library implementation based on usb3 debug port. Copyright (c) 2014 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Base.h> #include <PiDxe.h> #include <Library/UefiBootServicesTableLib.h> #include <Library/HobLib.h> #include <...
SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Dxe.c
null
null
null
null
null
source
edk2
/** @file Debug Port Library implementation based on usb3 debug port. Copyright (c) 2014 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Uefi.h> #include <Base.h> #include <IndustryStandard/Usb.h> #include <Library/IoLib.h> #include <...
SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Internal.h
null
null
null
null
null
source
edk2
/** @file Debug Port Library implementation based on usb3 debug port. Copyright (c) 2014 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiPei.h> #include <Library/PeiServicesLib.h> #include <Library/HobLib.h> #include <Ppi/MemoryDiscovered.h> #inc...
SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Pei.c
null
null
null
null
null
source
edk2
/** @file Debug Port Library implementation based on usb3 debug port. Copyright (c) 2014 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "DebugCommunicationLibUsb3Internal.h" /** Synchronize the specified transfer ring to update the enqueue and de...
SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Transfer.c
null
null
null
null
null
source
edk2
/** @file PE/Coff Extra Action library instances. Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PeCoffExtraActionLib.h> /** Check if the hardware breakpoint in Drx is enabled by checking the Lx and Gx bit in Dr7. It assum...
SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLib.c
null
null
null
null
null
source
edk2
/** @file PE/Coff Extra Action library instances, it will report image debug info. Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Base.h> #include <Library/PeCoffExtraActionLib.h> #include <Library/DebugLib.h> #inc...
SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLib.h
null
null
null
null
null
source
edk2
/** @file Ia32 arch functions to access IDT vector. Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PeCoffExtraActionLib.h> /** Read IDT entry to check if IDT entries are setup by Debug Agent. @param[in] IdtDescriptor ...
SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/Ia32/IntHandlerFuncs.c
null
null
null
null
null
source
edk2
/** @file X64 arch function to access IDT vector. Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PeCoffExtraActionLib.h> /** Read IDT entry to check if IDT entries are setup by Debug Agent. @param[in] IdtDescriptor P...
SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/X64/IntHandlerFuncs.c
null
null
null
null
null
source
edk2
/** @file MM Driver Dispatcher Dependency Evaluator This routine evaluates a dependency expression (DEPENDENCY_EXPRESSION) to determine if a driver can be scheduled for execution. The criteria for scheduling is that the dependency expression is satisfied. Copyright (c) 2009 - 2010, Intel Corporation. All r...
StandaloneMmPkg/Core/Dependency.c
null
null
null
null
null
source
edk2
/** @file MM Driver Dispatcher. Step #1 - When a FV protocol is added to the system every driver in the FV is added to the mDiscoveredList. The Before, and After Depex are pre-processed as drivers are added to the mDiscoveredList. If an Apriori file exists in the FV those driver...
StandaloneMmPkg/Core/Dispatcher.c
null
null
null
null
null
source
edk2
/** @file Firmware volume helper interfaces. Copyright (c) 2015, Intel Corporation. All rights reserved.<BR> Copyright (c) 2016 - 2021, Arm Limited. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "StandaloneMmCore.h" #include <Library/FvLib.h> #include <Library/ExtractGu...
StandaloneMmPkg/Core/FwVol.c
null
null
null
null
null
source
edk2
/** @file SMM handle & protocol handling. Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR> Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "StandaloneMmCore.h" // // mProtocolDatabase - A list of all protoco...
StandaloneMmPkg/Core/Handle.c
null
null
null
null
null
source
edk2
/** @file System Management System Table Services MmInstallConfigurationTable service Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.<BR> Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "StandaloneMmCore.h" #define...
StandaloneMmPkg/Core/InstallConfigurationTable.c
null
null
null
null
null
source
edk2
/** @file Locate handle functions Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.<BR> Copyright (c) 2016 - 2021, Arm Limited. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "StandaloneMmCore.h" // // ProtocolRequest - Last LocateHandle request ID // UIN...
StandaloneMmPkg/Core/Locate.c
null
null
null
null
null
source
edk2
/** @file PI SMM MemoryAttributes support Copyright (c) 2024, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "StandaloneMmCore.h" #define PREVIOUS_MEMORY_DESCRIPTOR(MemoryDescriptor, Size) \ ((EFI_MEMORY_DESCRIPTOR *)((UINT8 *)(MemoryDescriptor) - (Size))) ...
StandaloneMmPkg/Core/MemoryAttributesTable.c
null
null
null
null
null
source
edk2
/** @file MMI management. Copyright (c) 2009 - 2013, Intel Corporation. All rights reserved.<BR> Copyright (c) 2016 - 2021, Arm Limited. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "StandaloneMmCore.h" // // MM_HANDLER_STATE_NOTIFIER // // // MM_HANDLER - used for eac...
StandaloneMmPkg/Core/Mmi.c
null
null
null
null
null
source
edk2
/** @file Support functions for UEFI protocol notification infrastructure. Copyright (c) 2009 - 2015, Intel Corporation. All rights reserved.<BR> Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "StandaloneMmCore.h" /** Signal event...
StandaloneMmPkg/Core/Notify.c
null
null
null
null
null
source
edk2
/** @file MM Memory page management functions. Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR> Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "StandaloneMmCore.h" #define TRUNCATE_TO_PAGES(a) ((a) >> EFI_PAGE...
StandaloneMmPkg/Core/Page.c
null
null
null
null
null
source
edk2
/** @file SMM Memory pool management functions. Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR> Copyright (c) 2016 - 2021, Arm Limited. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "StandaloneMmCore.h" LIST_ENTRY mMmPoolLists[MAX_POOL_INDEX]; // ...
StandaloneMmPkg/Core/Pool.c
null
null
null
null
null
source
edk2
/** @file MM Core Main Entry Point Copyright (c) 2009 - 2025, Intel Corporation. All rights reserved.<BR> Copyright (c) 2016 - 2021, Arm Limited. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "StandaloneMmCore.h" // // Globals used to initialize the protocol // EFI_HANDL...
StandaloneMmPkg/Core/StandaloneMmCore.c
null
null
null
null
null
source
edk2
/** @file The internal header file includes the common header files, defines internal structure and functions used by MmCore module. Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR> Copyright (c) 2016 - 2021, Arm Limited. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-P...
StandaloneMmPkg/Core/StandaloneMmCore.h
null
null
null
null
null
source
edk2
/** @file The internal header file that declared a data structure that is shared between the MM IPL and the MM Core. Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR> Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #prag...
StandaloneMmPkg/Core/StandaloneMmCorePrivateData.h
null
null
null
null
null
source
edk2
/** @file MmCommunicationDxe driver produces MmCommunication protocol and create the notifications of some protocols and event. Copyright (c) 2024, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "MmCommunicationDxe.h" // // PI 1.9 MM Communication Proto...
StandaloneMmPkg/Drivers/MmCommunicationDxe/MmCommunicationDxe.c
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2024, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <PiDxe.h> #include <Library/BaseLib.h> #include <Library/DebugLib.h> #include <Library/HobLib.h> #include <Library/PcdLib.h> #include <Library/UefiLib.h> #include <Li...
StandaloneMmPkg/Drivers/MmCommunicationDxe/MmCommunicationDxe.h
null
null
null
null
null
source
edk2
/** @file MmCommunicationNotifyDxe driver creates the notifications of some protocols and event. Copyright (c) 2025, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "MmCommunicationNotifyDxe.h" // // PI 1.7 MM Communication Protocol 2 instance // EFI_MM_...
StandaloneMmPkg/Drivers/MmCommunicationNotifyDxe/MmCommunicationNotifyDxe.c
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2025, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <PiDxe.h> #include <Library/BaseLib.h> #include <Library/DebugLib.h> #include <Library/HobLib.h> #include <Library/UefiLib.h> #include <Library/UefiBootServicesTableL...
StandaloneMmPkg/Drivers/MmCommunicationNotifyDxe/MmCommunicationNotifyDxe.h
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2024, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <StandaloneMmIplPei.h> #include <Guid/MpInformation2.h> #include <Guid/AcpiS3Context.h> #include <Guid/MmAcpiS3Enable.h> #include <Guid/MmCpuSyncConfig.h> #include <Guid/MmProfileD...
StandaloneMmPkg/Drivers/StandaloneMmIplPei/MmFoundationHob.c
null
null
null
null
null
source
edk2
/** @file MM IPL that load the MM Core into MMRAM at PEI stage Copyright (c) 2024 - 2025, Intel Corporation. All rights reserved.<BR> Copyright (C) 2026 Advanced Micro Devices, Inc. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "StandaloneMmIplPei.h" EFI_PEI_MM_COMMUNICA...
StandaloneMmPkg/Drivers/StandaloneMmIplPei/StandaloneMmIplPei.c
null
null
null
null
null
source
edk2
/** @file Standalone MM IPL Header file Copyright (c) 2024, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <StandaloneMm.h> #include <Guid/MmCommBuffer.h> #include <Guid/MmramMemoryReserve.h> #include <Library/HobLib.h> #include <Library/Debu...
StandaloneMmPkg/Drivers/StandaloneMmIplPei/StandaloneMmIplPei.h
null
null
null
null
null
source
edk2
/** @file Standalone MM. Copyright (c) 2015 - 2025, Intel Corporation. All rights reserved.<BR> Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <PiMm.h> typedef EFI_STATUS (EFIAPI *MM_IMAGE_ENTRY_POINT)( IN EFI_HANDLE ...
StandaloneMmPkg/Include/StandaloneMm.h
null
null
null
null
null
source
edk2
/** @file GUIDs for MM Event. Copyright (c) 2015, Intel Corporation. All rights reserved.<BR> Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #define MM_FV_DISPATCH_GUID \ { 0xb65694cc, 0x9e3, 0x4c3b, { 0xb5, 0xcd, 0x5, 0xf4, 0x4d, ...
StandaloneMmPkg/Include/Guid/MmFvDispatch.h
null
null
null
null
null
source
edk2
/** @file This file defines STATUS_CODE_USE_SERIAL structure which indicates StatusCode is reported via serial port or not. Copyright (c) 2025, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /// /// The GUID of the StatusCodeUseSerial GUIDed HOB. /...
StandaloneMmPkg/Include/Guid/MmStatusCodeUseSerial.h
null
null
null
null
null
source
edk2
/** @file Definition of GUIDed HOB for reserving MMRAM regions. This file defines: * the GUID used to identify the GUID HOB for reserving MMRAM regions. * the data structure of MMRAM descriptor to describe MMRAM candidate regions * values of state of MMRAM candidate regions * the GUID specific data structu...
StandaloneMmPkg/Include/Guid/MmramMemoryReserve.h
null
null
null
null
null
source
edk2
/** @file EFI MP information protocol provides a lightweight MP_SERVICES_PROTOCOL. MP information protocol only provides static information of MP processor. Copyright (c) 2009, Intel Corporation. All rights reserved.<BR> Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.<BR> SPDX-License-Identifi...
StandaloneMmPkg/Include/Guid/MpInformation.h
null
null
null
null
null
source
edk2
/** @file MM Platform HOB Producer Library Class. CreateMmPlatformHob() function is called by StandaloneMm IPL to create all Platform specific HOBs that required by Standalone MM environment. Copyright (c) 2024, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ ...
StandaloneMmPkg/Include/Library/MmPlatformHobProducerLib.h
null
null
null
null
null
source
edk2
/** @file Provides services for MM Memory Operation. The MM Mem Library provides function for checking if buffer is outside MMRAM and valid. It also provides functions for copy data from MMRAM to non-MMRAM, from non-MMRAM to MMRAM, from non-MMRAM to non-MMRAM, or set data in non-MMRAM. Copyright (c) 2015, I...
StandaloneMmPkg/Include/Library/StandaloneMmMemLib.h
null
null
null
null
null
source
edk2
/** @file MM Core FV location PPI header file. MM Core FV location PPI is used by StandaloneMm IPL to find MM Core. Copyright (c) 2024, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #pragma pack(1) /// /// Global ID for the MM_CORE_FV_LOCATION_P...
StandaloneMmPkg/Include/Ppi/MmCoreFvLocationPpi.h
null
null
null
null
null
source
edk2
/** @file Null instance of MM Platform HOB Producer Library Class. CreateMmPlatformHob() function is called by StandaloneMm IPL to create all Platform specific HOBs that required by Standalone MM environment. Copyright (c) 2024, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Cla...
StandaloneMmPkg/Library/MmPlatformHobProducerLibNull/MmPlatformHobProducerLibNull.c
null
null
null
null
null
source
edk2
/** @file LockBox Dependency DXE Library. By installing the LockBox protocol with the gEfiLockBoxProtocolGuid, it signals that the LockBox API is fully operational and ready for use. Copyright (c) 2024, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include ...
StandaloneMmPkg/Library/SmmLockBoxMmDependency/SmmLockBoxMmDependency.c
null
null
null
null
null
source
edk2
/** @file HOB Library implementation for Standalone MM Core. Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR> Copyright (c) 2017 - 2018, ARM Limited. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiMm.h> #include <Library/HobLib.h> #include <Library/Deb...
StandaloneMmPkg/Library/StandaloneMmCoreHobLib/Common.c
null
null
null
null
null
source
edk2
/** @file HOB Library implementation for Standalone MM Core. Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR> Copyright (c) 2017 - 2018, ARM Limited. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiMm.h> #include <Library/HobLib.h> #include <Library/Deb...
StandaloneMmPkg/Library/StandaloneMmCoreHobLib/StandaloneMmCoreHobLib.c
null
null
null
null
null
source
edk2
/** @file Support routines for memory allocation routines based on Standalone MM Core internal functions. Copyright (c) 2015 - 2025, Intel Corporation. All rights reserved.<BR> Copyright (c) 2016 - 2021, ARM Limited. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiMm.h>...
StandaloneMmPkg/Library/StandaloneMmCoreMemoryAllocationLib/StandaloneMmCoreMemoryAllocationLib.c
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR> Copyright (c) 2024, Arm Ltd. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiMm.h> #include <Pi/PiFirmwareFile.h> #include <Library/BaseLib.h> #include <Library/BaseMemoryLib.h> #include <Library/De...
StandaloneMmPkg/Library/StandaloneMmExtractGuidedSectionLib/StandaloneMmExtractGuidedSectionLib.c
null
null
null
null
null
source
edk2
/** @file HOB Library implementation for Standalone MM modules. Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR> Copyright (c) 2017 - 2018, ARM Limited. All rights reserved.<BR> Copyright (c) 2018, Linaro, Ltd. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #includ...
StandaloneMmPkg/Library/StandaloneMmHobLib/StandaloneMmHobLib.c
null
null
null
null
null
source
edk2
/** @file Internal ARCH Specific file of MM memory check library. MM memory check library implementation. This library consumes MM_ACCESS_PROTOCOL to get MMRAM information. In order to use this library instance, the platform should produce all MMRAM range via MM_ACCESS_PROTOCOL, including the range for firmwar...
StandaloneMmPkg/Library/StandaloneMmMemLib/ArmStandaloneMmMemLibInternal.c
null
null
null
null
null
source
edk2
/** @file Instance of MM memory check library. MM memory check library implementation. This library consumes MM_ACCESS_PROTOCOL to get MMRAM information. In order to use this library instance, the platform should produce all MMRAM range via MM_ACCESS_PROTOCOL, including the range for firmware (like MM Core a...
StandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib.c
null
null
null
null
null
source
edk2
/** @file Internal header for StandaloneMmMemLib. Copyright (c) 2024, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <PiMm.h> #include <Library/BaseLib.h> #include <Library/BaseMemoryLib.h> #include <Library/DebugLib.h> /** Calculate and ...
StandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLibInternal.h
null
null
null
null
null
source
edk2
/** @file Internal ARCH Specific file of MM memory check library. MM memory check library implementation. This library consumes MM_ACCESS_PROTOCOL to get MMRAM information. In order to use this library instance, the platform should produce all MMRAM range via MM_ACCESS_PROTOCOL, including the range for firmwar...
StandaloneMmPkg/Library/StandaloneMmMemLib/X86StandaloneMmMemLibInternal.c
null
null
null
null
null
source
edk2
/** @file Support routines for memory allocation routines based on Standalone MM Core internal functions. Copyright (c) 2015, Intel Corporation. All rights reserved.<BR> Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiMm.h> #incl...
StandaloneMmPkg/Library/StandaloneMmMemoryAllocationLib/StandaloneMmMemoryAllocationLib.c
null
null
null
null
null
source
edk2
/**@file Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR> Portions copyright (c) 2008 - 2010, Apple Inc. All rights reserved.<BR> Portions copyright (c) 2011 - 2018, ARM Ltd. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiDxe.h> #include <Library/BaseLib...
StandaloneMmPkg/Library/StandaloneMmPeCoffExtraActionLib/AArch64/StandaloneMmPeCoffExtraActionLib.c
null
null
null
null
null
source
edk2
/** @file Runtime DXE part corresponding to StandaloneMM variable module. This module installs variable arch protocol and variable write arch protocol to StandaloneMM runtime variable service. Copyright (c) 2019 - 2021, Arm Ltd. All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Libr...
StandaloneMmPkg/Library/VariableMmDependency/VariableMmDependency.c
null
null
null
null
null
source
edk2
# TCG TPM Package This package provides libraries to implement software-based fTPM device using [TCG TPM v2.0 reference implementation](https://github.com/TrustedComputingGroup/TPM) project. For this, this packages provides below libraries: * **TpmLib** - Provides TPM funtionalities ...
TcgTpmPkg/Readme.md
null
null
null
null
null
source
edk2
/** @file This file connects the platform specific functions of the TCG TPM reference code to the corresponding functions in PlatformTpmLib. To use TPM reference code as software based TPM, each Platform should implements TpmPlatformLib. For the __plat_XXX interface, Please see the: - https://github.com...
TcgTpmPkg/Include/Library/PlatformTpmLib.h
null
null
null
null
null
source
edk2
/** @file TpmLib to call Tcg TPM reference code. Copyright (c) 2025, Arm Limited. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /** Execute TPM command. This function calls ExecuteCommand() in Tcg TPM reference code. See the detail ExecuteCommand()'s comment. ...
TcgTpmPkg/Include/Library/TpmLib.h
null
null
null
null
null
source
edk2
/** @file Clock part of PlatformTpmLib to use TpmLib. Copyright (c) 2025, Arm Limited. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Library/BaseLib.h> #include <Library/PlatformTpmLib.h> /** _plat__TimerReset() This function sets current system clock time as t0 for c...
TcgTpmPkg/Library/PlatformTpmNullLib/Clock.c
null
null
null
null
null
source
edk2
/** @file Endoresment Seed generation part of PlatformTpmLib to use TpmLib. To see the plat_XXX interface in TPM reference library, see: - https://github.com/TrustedComputingGroup/TPM/tree/main/TPMCmd/Platform/src Copyright (c) 2025, Arm Limited. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Cla...
TcgTpmPkg/Library/PlatformTpmNullLib/EPS.c
null
null
null
null
null
source
edk2
/** @file Get entropy part of PlatformTpmLib to use TpmLib. To see the plat_XXX interfaces in TPM reference library, see: - https://github.com/TrustedComputingGroup/TPM/tree/main/TPMCmd/Platform/src Copyright (c) 2025, Arm Limited. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/...
TcgTpmPkg/Library/PlatformTpmNullLib/Entropy.c
null
null
null
null
null