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 IA32 specific functions to support Debug Support protocol. Copyright (c) 2008 - 2010, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "PlDebugSupport.h" IA32_IDT_GATE_DESCRIPTOR NullDesc = { { 0 } }; /** Get Interrupt Handle from IDT Gate Descr...
MdeModulePkg/Universal/DebugSupportDxe/Ia32/PlDebugSupportIa32.c
null
null
null
null
null
source
edk2
/** @file X64 specific debug support macros. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include "Ia32/DebugSupport.h" #define EFI_ISA IsaX64
MdeModulePkg/Universal/DebugSupportDxe/X64/PlDebugSupport.h
null
null
null
null
null
source
edk2
/** @file X64 specific functions to support Debug Support protocol. Copyright (c) 2008 - 2010, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "PlDebugSupport.h" IA32_IDT_GATE_DESCRIPTOR NullDesc = { { 0, 0 } }; /** Get Interrupt Handle from IDT Gate Des...
MdeModulePkg/Universal/DebugSupportDxe/X64/PlDebugSupportX64.c
null
null
null
null
null
source
edk2
/** @file Device Path Driver to produce DevPathUtilities Protocol, DevPathFromText Protocol and DevPathToText Protocol. Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi.h> #include <Protocol/DevicePathUtilities.h> #include <Pro...
MdeModulePkg/Universal/DevicePathDxe/DevicePath.c
null
null
null
null
null
source
edk2
/** @file Source file for CD recovery PEIM Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "PeiCdExpress.h" PEI_CD_EXPRESS_PRIVATE_DATA *mPrivateData = NULL; CHAR8 *mRecoveryFileName; UINTN ...
MdeModulePkg/Universal/Disk/CdExpressPei/PeiCdExpress.c
null
null
null
null
null
source
edk2
/** @file Header file for CD recovery PEIM Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <PiPei.h> #include <Ppi/BlockIo.h> #include <Ppi/BlockIo2.h> #include <Guid/RecoveryDevice.h> #include <Ppi/DeviceRecoveryModul...
MdeModulePkg/Universal/Disk/CdExpressPei/PeiCdExpress.h
null
null
null
null
null
source
edk2
/** @file UEFI Component Name(2) protocol implementation for DiskIo driver. Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "DiskIo.h" // // EFI Component Name Protocol // GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL gD...
MdeModulePkg/Universal/Disk/DiskIoDxe/ComponentName.c
null
null
null
null
null
source
edk2
/** @file DiskIo driver that lays on every BlockIo protocol in the system. DiskIo converts a block oriented device to a byte oriented device. Disk access may have to handle unaligned request about sector boundaries. There are three cases: UnderRun - The first byte is not on a sector boundary or the read re...
MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIo.c
null
null
null
null
null
source
edk2
/** @file Master header file for DiskIo driver. It includes the module private defininitions. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Uefi.h> #include <Protocol/BlockIo.h> #include <Protocol/BlockIo2.h> #include...
MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIo.h
null
null
null
null
null
source
edk2
/** @file UEFI Component Name protocol for Partition driver. Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Partition.h" // // EFI Component Name Protocol // GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL gPartitionComp...
MdeModulePkg/Universal/Disk/PartitionDxe/ComponentName.c
null
null
null
null
null
source
edk2
/** @file Decode an El Torito formatted CD-ROM Copyright (c) 2018 Qualcomm Datacenter Technologies, Inc. Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Partition.h" /** Install child handles if the Handle supports El Torito forma...
MdeModulePkg/Universal/Disk/PartitionDxe/ElTorito.c
null
null
null
null
null
source
edk2
/** @file Decode a hard disk partitioned with the GPT scheme in the UEFI 2.0 specification. Caution: This file requires additional review when modified. This driver will have external input - disk partition. This external input must be validated carefully to avoid security issue like buffer overflow, integ...
MdeModulePkg/Universal/Disk/PartitionDxe/Gpt.c
null
null
null
null
null
source
edk2
/** @file Decode a hard disk partitioned with the legacy MBR found on most PC's MBR - Master Boot Record is in the first sector of a partitioned hard disk. The MBR supports four partitions per disk. The MBR also contains legacy code that is not run on an EFI system. The legacy code reads the ...
MdeModulePkg/Universal/Disk/PartitionDxe/Mbr.c
null
null
null
null
null
source
edk2
/** @file Partition driver that produces logical BlockIo devices from a physical BlockIo device. The logical BlockIo devices are based on the format of the raw block devices media. Currently "El Torito CD-ROM", UDF, Legacy MBR, and GPT partition schemes are supported. Copyright (c) 2018 Qualcomm Datacenter Tec...
MdeModulePkg/Universal/Disk/PartitionDxe/Partition.c
null
null
null
null
null
source
edk2
/** @file Partition driver that produces logical BlockIo devices from a physical BlockIo device. The logical BlockIo devices are based on the format of the raw block devices media. Currently "El Torito CD-ROM", UDF, Legacy MBR, and GPT partition schemes are supported. Copyright (c) 2018 Qualcomm Datacenter Tec...
MdeModulePkg/Universal/Disk/PartitionDxe/Partition.h
null
null
null
null
null
source
edk2
/** @file Scan for an UDF file system on a formatted media. Caution: This file requires additional review when modified. This driver will have external input - CD/DVD media. This external input must be validated carefully to avoid security issue like buffer overflow, integer overflow. FindUdfFileSystem() ...
MdeModulePkg/Universal/Disk/PartitionDxe/Udf.c
null
null
null
null
null
source
edk2
/** @file Produce EFI_BLOCK_IO_PROTOCOL on a RAM disk device. Copyright (c) 2016 - 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "RamDiskImpl.h" // // The EFI_BLOCK_IO_PROTOCOL instances that is installed onto the handle // for newly registered RAM...
MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskBlockIo.c
null
null
null
null
null
source
edk2
/** @file The driver entry point for RamDiskDxe driver. Copyright (c) 2016, Intel Corporation. All rights reserved.<BR> Copyright (c) Microsoft Corporation.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "RamDiskImpl.h" // // Handle for the EFI_RAM_DISK_PROTOCOL instance // EFI_HANDLE mRamDi...
MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDriver.c
null
null
null
null
null
source
edk2
/** @file Internal file explorer helper functions for RamDiskDxe driver. Copyright (c) 2016, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "RamDiskImpl.h" /** Helper function called as part of the code needed to allocate the proper sized buffer for v...
MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskFileExplorer.c
null
null
null
null
null
source
edk2
/** @file HII Config Access protocol implementation of RamDiskDxe driver. Copyright (c) 2016, Intel Corporation. All rights reserved.<BR> (C) Copyright 2016-2018 Hewlett Packard Enterprise Development LP<BR> Copyright (c) Microsoft Corporation.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include ...
MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskImpl.c
null
null
null
null
null
source
edk2
/** @file The header file of RamDiskDxe driver. Copyright (c) 2016 - 2019, Intel Corporation. All rights reserved.<BR> Copyright (c) Microsoft Corporation.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Uefi.h> #include <Library/BaseLib.h> #include <Library/BaseMemoryLib.h> #inc...
MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskImpl.h
null
null
null
null
null
source
edk2
/** @file Header file for NV data structure definition. Copyright (c) 2016, Intel Corporation. All rights reserved.<BR> (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Guid/HiiPlatformSetupFormset.h> #include <Guid/RamD...
MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskNVData.h
null
null
null
null
null
source
edk2
/** @file The realization of EFI_RAM_DISK_PROTOCOL. Copyright (c) 2016 - 2019, Intel Corporation. All rights reserved.<BR> (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR> Copyright (c) Microsoft Corporation.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "RamDiskImpl.h" RAM...
MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskProtocol.c
null
null
null
null
null
source
edk2
/** @file UEFI Component Name protocol for UDF/ECMA-167 file system driver. Copyright (C) 2014-2017 Paulo Alcantara <pcacjr@zytor.com> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Udf.h" // // EFI Component Name Protocol // GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL gUdfComponent...
MdeModulePkg/Universal/Disk/UdfDxe/ComponentName.c
null
null
null
null
null
source
edk2
/** @file Handle operations in files and directories from UDF/ECMA-167 file systems. Copyright (C) 2014-2017 Paulo Alcantara <pcacjr@zytor.com> Copyright (c) 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Udf.h" EFI_FILE_PROTOCOL gUdfFileIoOps =...
MdeModulePkg/Universal/Disk/UdfDxe/File.c
null
null
null
null
null
source
edk2
/** @file Helper functions for mangling file names in UDF/ECMA-167 file systems. Copyright (C) 2014-2017 Paulo Alcantara <pcacjr@zytor.com> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Udf.h" /** Trim the leading and trailing spaces for a give Unicode string. @param[in] String ...
MdeModulePkg/Universal/Disk/UdfDxe/FileName.c
null
null
null
null
null
source
edk2
/** @file Handle on-disk format and volume structures in UDF/ECMA-167 file systems. Copyright (C) 2014-2017 Paulo Alcantara <pcacjr@zytor.com> Copyright (c) 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Udf.h" // // Vendor-Defined Device Path GU...
MdeModulePkg/Universal/Disk/UdfDxe/FileSystemOperations.c
null
null
null
null
null
source
edk2
/** @file UDF/ECMA-167 file system driver. Copyright (C) 2014-2017 Paulo Alcantara <pcacjr@zytor.com> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Udf.h" // // UDF filesystem driver's Global Variables. // EFI_DRIVER_BINDING_PROTOCOL gUdfDriverBinding = { UdfDriverBindingSupported, UdfDriver...
MdeModulePkg/Universal/Disk/UdfDxe/Udf.c
null
null
null
null
null
source
edk2
/** @file UDF/ECMA-167 file system driver. Copyright (C) 2014-2017 Paulo Alcantara <pcacjr@zytor.com> Copyright (c) 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Uefi.h> #include <Base.h> #include <Protocol/BlockIo.h> #include <Pro...
MdeModulePkg/Universal/Disk/UdfDxe/Udf.h
null
null
null
null
null
source
edk2
/** @file Driver to implement English version of Unicode Collation Protocol. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "UnicodeCollationEng.h" CHAR8 mEngUpperMap[MAP_TABLE_SIZE]; CHAR8 mEngLowerMap[MAP_TABLE_SIZE]; CHAR8 mEn...
MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/UnicodeCollationEng.c
null
null
null
null
null
source
edk2
/** @file Head file for Unicode Collation Protocol (English) Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Uefi.h> #include <Protocol/UnicodeCollation.h> #include <Library/DebugLib.h> #include <Library/UefiDriverEnt...
MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/UnicodeCollationEng.h
null
null
null
null
null
source
edk2
/** @file Entry and initialization module for the browser. Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR> Copyright (c) 2014, Hewlett-Packard Development Company, L.P.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "FormDisplay.h" // // Search table for UiDisplayMenu() // SCAN...
MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c
null
null
null
null
null
source
edk2
/** @file FormDiplay protocol to show Form Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Library/UefiBootServicesTableLib.h> #include <Library/DebugLib.h> #include <Library/BaseMemoryLib.h> #include <Library/BaseLib.h...
MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.h
null
null
null
null
null
source
edk2
/** @file Implementation for handling user input from the User Interfaces. Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR> Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "FormDisplay.h" /** Get maximum and minim...
MdeModulePkg/Universal/DisplayEngineDxe/InputHandler.c
null
null
null
null
null
source
edk2
/** @file Implementation for Hii Popup Protocol. Copyright (c) 2017, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "FormDisplay.h" EFI_SCREEN_DESCRIPTOR gPopupDimensions; LIST_ENTRY gUserSelectableOptions; EFI_STRING gMessageString; UI...
MdeModulePkg/Universal/DisplayEngineDxe/Popup.c
null
null
null
null
null
source
edk2
/** @file Implementation for handling the User Interface option processing. Copyright (c) 2004 - 2020, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "FormDisplay.h" #define MAX_TIME_OUT_LEN 0x10 /** Concatenate a narrow string to another string. @param...
MdeModulePkg/Universal/DisplayEngineDxe/ProcessOptions.c
null
null
null
null
null
source
edk2
/** @file This module produces two driver health manager forms. One will be used by BDS core to configure the Configured Required driver health instances, the other will be automatically included by firmware setup (UI). Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.<BR> (C) Copyright 2018 H...
MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.c
null
null
null
null
null
source
edk2
/** @file This module produces two driver health manager forms. One will be used by BDS core to configure the Configured Required driver health instances, the other will be automatically included by firmware setup (UI). Copyright (c) 2013 - 2015, Intel Corporation. All rights reserved.<BR> SPDX-License-Identif...
MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.h
null
null
null
null
null
source
edk2
/** @file Definition shared by VFR file and C file. Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Guid/HiiPlatformSetupFormset.h> #define DRIVER_HEALTH_MANAGER_FORMSET_GUID { 0xcfb3b000, 0x0b63, 0x444b, { 0xb1, 0x...
MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerVfr.h
null
null
null
null
null
source
edk2
/** @file This is an example of how a driver might export data to the HII protocol to be later utilized by the Setup Protocol Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "DriverSample.h" #define DISPLAY_ONLY_MY_ITEM 0x0002 CHAR16...
MdeModulePkg/Universal/DriverSampleDxe/DriverSample.c
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2007 - 2017, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent Module Name: DriverSample.h Abstract: Revision History **/ #pragma once #include <Uefi.h> #include <Protocol/HiiConfigRouting.h> #include <Protocol/FormBrowser2.h> #include <Protoco...
MdeModulePkg/Universal/DriverSampleDxe/DriverSample.h
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>* (C) Copyright 2020 Hewlett Packard Enterprise Development LP<BR> SPDX-License-Identifier: BSD-2-Clause-Patent Module Name: NVDataStruc.h Abstract: NVData structure used by the sample driver Revision History: **/ #pragma once ...
MdeModulePkg/Universal/DriverSampleDxe/NVDataStruc.h
null
null
null
null
null
source
edk2
/** @file Contains the empty version of the EBC Debugger hooks, to be used when compiling the regular EBC VM module. As debugging is not needed for the standard EBC VM, all calls are left empty. The EBC Debugger defines its own version for these calls in EbdHooks.c. Copyright (c) 2006 - 2016, Intel Corporat...
MdeModulePkg/Universal/EbcDxe/EbcDebuggerHook.c
null
null
null
null
null
source
edk2
/** @file Prototypes for the EBC Debugger hooks. Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Uefi.h> #include <Protocol/DebugSupport.h> #include <Protocol/EbcVmTest.h> /** The VM interpreter calls this funct...
MdeModulePkg/Universal/EbcDxe/EbcDebuggerHook.h
null
null
null
null
null
source
edk2
/** @file Contains code that implements the virtual machine. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "EbcInt.h" #include "EbcExecute.h" #include "EbcDebuggerHook.h" // // Define some useful data size constants to allow switch...
MdeModulePkg/Universal/EbcDxe/EbcExecute.c
null
null
null
null
null
source
edk2
/** @file Header file for Virtual Machine support. Contains EBC defines that can be of use to a disassembler for the most part. Also provides function prototypes for VM functions. Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma onc...
MdeModulePkg/Universal/EbcDxe/EbcExecute.h
null
null
null
null
null
source
edk2
/** @file Top level module for the EBC virtual machine implementation. Provides auxiliary support routines for the VM. That is, routines that are not particularly related to VM execution of EBC instructions. Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Cla...
MdeModulePkg/Universal/EbcDxe/EbcInt.c
null
null
null
null
null
source
edk2
/** @file Main routines for the EBC interpreter. Includes the initialization and main interpreter routines. Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Uefi.h> #include <Protocol/DebugSupport.h> #include <Protoc...
MdeModulePkg/Universal/EbcDxe/EbcInt.h
null
null
null
null
null
source
edk2
///** @file // // This code provides low level routines that support the Virtual Machine // for option ROMs. // // Copyright (c) 2016, Linaro, Ltd. All rights reserved.<BR> // Copyright (c) 2015, The Linux Foundation. All rights reserved.<BR> // Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR...
MdeModulePkg/Universal/EbcDxe/AArch64/EbcLowLevel.S
null
null
null
null
null
source
edk2
/** @file This module contains EBC support routines that are customized based on the target AArch64 processor. Copyright (c) 2016, Linaro, Ltd. All rights reserved.<BR> Copyright (c) 2015, The Linux Foundation. All rights reserved.<BR> Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR> SPDX-Li...
MdeModulePkg/Universal/EbcDxe/AArch64/EbcSupport.c
null
null
null
null
null
source
edk2
/** @file Configuration application for the EBC Debugger. Copyright (c) 2007 - 2016, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi.h> #include <Protocol/ShellParameters.h> #include "EdbCommon.h" #include "EdbSupport.h" /** The function that dis...
MdeModulePkg/Universal/EbcDxe/EbcDebugger/EbcDebuggerConfig.c
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2007 - 2016, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi.h> #include "Edb.h" EFI_DEBUGGER_PRIVATE_DATA mDebuggerPrivate = { EFI_DEBUGGER_SIGNATURE, // Signature IsaEbc, ...
MdeModulePkg/Universal/EbcDxe/EbcDebugger/Edb.c
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2007, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include "EdbCommon.h" #define EBC_DEBUGGER_MAJOR_VERSION 1 #define EBC_DEBUGGER_MINOR_VERSION 0 #define EFI_DEBUG_RETURN 1 #define EFI_DEBUG_BREAK 2 #define EFI_DEBUG_...
MdeModulePkg/Universal/EbcDxe/EbcDebugger/Edb.h
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2007, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Edb.h" CHAR16 *mBranchTypeStr[] = { L"(CALL)", L"(CALLEX)", L"(RET)", L"(JMP)", L"(JMP8)", }; /** Comvert Branch Type to string. @param Type Branch Type @...
MdeModulePkg/Universal/EbcDxe/EbcDebugger/EdbCmdBranch.c
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2007, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Edb.h" /** DebuggerCommand - BreakOnCALL. @param CommandArg The argument for this command @param DebuggerPrivate EBC Debugger private data structure @param ...
MdeModulePkg/Universal/EbcDxe/EbcDebugger/EdbCmdBreak.c
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2007 - 2016, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Edb.h" /** Check whether current IP is EBC BREAK3 instruction. @param Address EBC IP address. @retval TRUE Current IP is EBC BREAK3 instruction @retval FA...
MdeModulePkg/Universal/EbcDxe/EbcDebugger/EdbCmdBreakpoint.c
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2007, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Edb.h" /** DebuggerCommand - IB. @param CommandArg The argument for this command @param DebuggerPrivate EBC Debugger private data structure @param ExceptionType...
MdeModulePkg/Universal/EbcDxe/EbcDebugger/EdbCmdExtIo.c
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2007, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Edb.h" /** DebuggerCommand - PCIL. @param CommandArg - The argument for this command @param DebuggerPrivate - EBC Debugger private data structure @param ExceptionTy...
MdeModulePkg/Universal/EbcDxe/EbcDebugger/EdbCmdExtPci.c
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2007, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Edb.h" /** DebuggerCommand - Go. @param CommandArg - The argument for this command @param DebuggerPrivate - EBC Debugger private data structure @param ExceptionTyp...
MdeModulePkg/Universal/EbcDxe/EbcDebugger/EdbCmdGo.c
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2007, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Edb.h" /** DebuggerCommand - Help. @param CommandArg - The argument for this command @param DebuggerPrivate - EBC Debugger private data structure @param ExceptionTy...
MdeModulePkg/Universal/EbcDxe/EbcDebugger/EdbCmdHelp.c
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2007, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Edb.h" /** Display memory unit. @param Address - Memory Address @param Width - Memory Width @return Length of the memory unit **/ UINTN EdbDisplayMemo...
MdeModulePkg/Universal/EbcDxe/EbcDebugger/EdbCmdMemory.c
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2007, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent Module Name: EdbCmdQuit.c Abstract: **/ #include "Edb.h" /** DebuggerCommand - Quit @param CommandArg - The argument for this command @param DebuggerPrivate - EBC Debugger priv...
MdeModulePkg/Universal/EbcDxe/EbcDebugger/EdbCmdQuit.c
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2007, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Edb.h" /** DebuggerCommand - Register. @param CommandArg - The argument for this command @param DebuggerPrivate - EBC Debugger private data structure @param Excepti...
MdeModulePkg/Universal/EbcDxe/EbcDebugger/EdbCmdRegister.c
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2007, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Edb.h" /** DebuggerCommand - Scope. @param CommandArg - The argument for this command @param DebuggerPrivate - EBC Debugger private data structure @param ExceptionT...
MdeModulePkg/Universal/EbcDxe/EbcDebugger/EdbCmdScope.c
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2007, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Edb.h" /** Check whether current IP is EBC CALL instruction (NOTE: CALLEX is exclusive) @param Address - EBC IP address. @retval TRUE - Current IP is EBC CALL instructio...
MdeModulePkg/Universal/EbcDxe/EbcDebugger/EdbCmdStep.c
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2007 - 2016, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Edb.h" /** Get file name from full path. @param FullPath - full file path @return file name **/ CHAR16 * GetFileNameFromFullPath ( IN CHAR16 *FullPath ...
MdeModulePkg/Universal/EbcDxe/EbcDebugger/EdbCmdSymbol.c
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2007, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Edb.h" // // Debugger Command Table // EFI_DEBUGGER_COMMAND_SET mDebuggerCommandSet[] = { // // Execution // { L"G", L"G/[F5] - continue to run the progr...
MdeModulePkg/Universal/EbcDxe/EbcDebugger/EdbCommand.c
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2007, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once typedef enum { EdbWidthUint8, EdbWidthUint16, EdbWidthUint32, EdbWidthUint64, EdbWidthMax } EDB_DATA_WIDTH; /** Find the command according to name. @param Comman...
MdeModulePkg/Universal/EbcDxe/EbcDebugger/EdbCommand.h
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2007, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Uefi.h> #include <Library/BaseLib.h> #include <Library/BaseMemoryLib.h> #include <Library/MemoryAllocationLib.h> #include <Library/DebugLib.h> #include <Library/UefiLib.h...
MdeModulePkg/Universal/EbcDxe/EbcDebugger/EdbCommon.h
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2007, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Edb.h" // // Debugger Disasm definition // #define EDB_DISASM_DEFINE(func) \ UINTN \ func ( \ IN EFI_PHYSICAL_ADDRESS InstructionAddress, \ IN EFI_SYSTEM_CONTEXT ...
MdeModulePkg/Universal/EbcDxe/EbcDebugger/EdbDisasm.c
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2007, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Uefi.h> // // Definition for instruction OPCODE, MODIFIER, and OPERAND // #define GET_OPCODE(Addr) (UINT8)((*(UINT8 *)(UINTN)(Addr)) & 0x3F) #define GET_MODIFIERS...
MdeModulePkg/Universal/EbcDxe/EbcDebugger/EdbDisasm.h
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2007, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Edb.h" extern EDB_DISASM_INSTRUCTION mEdbDisasmInstructionTable[]; typedef struct { CHAR16 Name[EDB_INSTRUCTION_NAME_MAX_LENGTH]; CHAR16 Content[EDB_INSTRUCTION_CONTENT_M...
MdeModulePkg/Universal/EbcDxe/EbcDebugger/EdbDisasmSupport.c
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2007, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Uefi.h> #define EDB_BYTECODE_NUMBER_IN_LINE 5 #ifdef EFI32 #define EDB_PRINT_ADDRESS_FORMAT L"%08x: " #else // To use 012l instead of 016l because space is not enoug...
MdeModulePkg/Universal/EbcDxe/EbcDebugger/EdbDisasmSupport.h
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2007 - 2016, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Edb.h" /** Check the Hook flag, and trigger exception if match. @param VmPtr - EbcDebuggerCheckHookFlag @param Flag - Feature flag **/ VOID EbcDebugg...
MdeModulePkg/Universal/EbcDxe/EbcDebugger/EdbHook.c
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2007, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Uefi.h> #include "EbcDebuggerHook.h"
MdeModulePkg/Universal/EbcDxe/EbcDebugger/EdbHook.h
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2007, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Uefi.h> #define EFI_DEBUG_PROMPT_STRING L"EDB > " #define EFI_DEBUG_PROMPT_COLUMN 5 #define EFI_DEBUG_INPUS_BUFFER_SIZE 64 #define EFI_DEBUGGER_LINE_NUMBER_...
MdeModulePkg/Universal/EbcDxe/EbcDebugger/EdbSupport.h
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2007, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Edb.h" /** Read a file. @param Vol - File System Volume @param FileName - The file to be read. @param BufferSize - The file buffer size @param ...
MdeModulePkg/Universal/EbcDxe/EbcDebugger/EdbSupportFile.c
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2007 - 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Edb.h" /** Convert hex string to uint. @param Str - The string **/ UINTN EFIAPI Xtoi ( CHAR16 *Str ) { UINTN RetVal; CHAR16 TempChar; UINTN MaxVal; ...
MdeModulePkg/Universal/EbcDxe/EbcDebugger/EdbSupportString.c
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2007, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Edb.h" /** Set the current coordinates of the cursor position. @param ConOut Point to EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL. @param Column The position to set the cu...
MdeModulePkg/Universal/EbcDxe/EbcDebugger/EdbSupportUI.c
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2007 - 2016, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Edb.h" /** Load single symbol entry. @param Object - Symbol file object @param Name - Symbol name @param ObjName - Object name @para...
MdeModulePkg/Universal/EbcDxe/EbcDebugger/EdbSymbol.c
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2007, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Uefi.h> // // The default base address is 0x10000000 // #define EFI_DEBUGGER_DEFAULT_LINK_IMAGEBASE 0x10000000 #define EFI_DEBUGGER_MAX_SYMBOL_ADDRESS_DELTA_VALUE 0x...
MdeModulePkg/Universal/EbcDxe/EbcDebugger/EdbSymbol.h
null
null
null
null
null
source
edk2
/** @file This module contains EBC support routines that are customized based on the target ia32 processor. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "EbcInt.h" #include "EbcExecute.h" #include "EbcDebuggerHook.h" // // NOTE:...
MdeModulePkg/Universal/EbcDxe/Ia32/EbcSupport.c
null
null
null
null
null
source
edk2
/** @file This module contains EBC support routines that are customized based on the target x64 processor. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "EbcInt.h" #include "EbcExecute.h" #include "EbcDebuggerHook.h" // // NOTE: ...
MdeModulePkg/Universal/EbcDxe/X64/EbcSupport.c
null
null
null
null
null
source
edk2
/** @file Esrt management module. Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "EsrtImpl.h" // // Module globals. // ESRT_PRIVATE_DATA mPrivate; ESRT_MANAGEMENT_PROTOCOL mEsrtManagementProtocolTemplate = { EsrtDxeGetEsrtEntry...
MdeModulePkg/Universal/EsrtDxe/EsrtDxe.c
null
null
null
null
null
source
edk2
/** @file Esrt management implementation. Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "EsrtImpl.h" /** Find Esrt Entry stored in ESRT repository. @param[in] FwClass Firmware class guid in Esrt entry @param[in...
MdeModulePkg/Universal/EsrtDxe/EsrtImpl.c
null
null
null
null
null
source
edk2
/** @file Esrt management implementation head file. Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Guid/EventGroup.h> #include <Guid/SystemResourceTable.h> #include <Library/UefiLib.h> #include <Library/UefiRuntimeSer...
MdeModulePkg/Universal/EsrtDxe/EsrtImpl.h
null
null
null
null
null
source
edk2
/** @file Publishes ESRT table from Firmware Management Protocol instances Copyright (c) 2016, Microsoft Corporation Copyright (c) 2018 - 2019, Intel Corporation. All rights reserved.<BR> All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi.h> #include <Library/BaseLib.h> #...
MdeModulePkg/Universal/EsrtFmpDxe/EsrtFmp.c
null
null
null
null
null
source
edk2
/** @file Publishes ESRT table from Firmware Management Protocol instances Copyright (c) 2016, Microsoft Corporation Copyright (c) 2018, Intel Corporation. All rights reserved.<BR> All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi.h> #include <Library/BaseLib.h> #include...
MdeModulePkg/Universal/EsrtFmpDxe/EsrtFmpDebugPrint.c
null
null
null
null
null
source
edk2
/** @file These are the common Fault Tolerant Write (FTW) functions that are shared by DXE FTW driver and SMM FTW driver. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "FaultTolerantWrite.h" // // Fault Tolerant Write Protocol A...
MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWrite.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 Ftw module. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <PiDxe.h> #include <Guid/SystemNvDataG...
MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWrite.h
null
null
null
null
null
source
edk2
/** @file This is a simple fault tolerant write driver. This boot service protocol only provides fault tolerant write capability for block devices. The protocol has internal non-volatile intermediate storage of the data and private information. It should be able to recover automatically from a critical fau...
MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.c
null
null
null
null
null
source
edk2
/** @file This is a simple fault tolerant write driver that is intended to use in the SMM environment. This boot service protocol only provides fault tolerant write capability for block devices. The protocol has internal non-volatile intermediate storage of the data and private information. It should be able...
MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.c
null
null
null
null
null
source
edk2
/** @file The common header file for SMM FTW module and SMM FTW DXE Module. Copyright (c) 2011 - 2024, Intel Corporation. All rights reserved. <BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Protocol/SmmFirmwareVolumeBlock.h> #include <Protocol/SmmFaultTolerantWrite.h> #define FTW_F...
MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmmCommon.h
null
null
null
null
null
source
edk2
/** @file Implement the Fault Tolerant Write (FTW) protocol based on SMM FTW module. Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved. <BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "FaultTolerantWriteSmmDxe.h" EFI_HANDLE mHandle = NULL; EFI_MM_C...
MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmmDxe.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 FTW module. Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved. <BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <PiDxe.h> #include <Protocol/MmCommun...
MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmmDxe.h
null
null
null
null
null
source
edk2
/** @file Parts of the SMM/MM implementation that are specific to standalone MM Copyright (c) 2010 - 2024, Intel Corporation. All rights reserved.<BR> Copyright (c) 2018, Linaro, Ltd. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Library/SmmMemLib.h> #include <Library/UefiBoo...
MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteStandaloneMm.c
null
null
null
null
null
source
edk2
/** @file Parts of the SMM/MM implementation that are specific to traditional MM Copyright (c) 2011 - 2024, Intel Corporation. All rights reserved. <BR> Copyright (c) 2018, Linaro, Ltd. All rights reserved. <BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Library/SmmMemLib.h> #include <Library/Uefi...
MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteTraditionalMm.c
null
null
null
null
null
source
edk2
/** @file Internal generic functions to operate flash block. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "FaultTolerantWrite.h" /** Check whether a flash buffer is erased. @param Buffer Buffer to check @param Bu...
MdeModulePkg/Universal/FaultTolerantWriteDxe/FtwMisc.c
null
null
null
null
null
source
edk2
/** @file Internal functions to operate Working Block Space. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "FaultTolerantWrite.h" EFI_FAULT_TOLERANT_WORKING_BLOCK_HEADER mWorkingBlockHeader = { ZERO_GUID, 0, 0, 0, 0, { 0, 0, 0 }...
MdeModulePkg/Universal/FaultTolerantWriteDxe/UpdateWorkingBlock.c
null
null
null
null
null
source
edk2
/** @file This driver installs gEdkiiFaultTolerantWriteGuid PPI to inform the check for FTW last write data has been done. Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiPei.h> #include <Guid/SystemNvDataGuid.h> #include <Guid/...
MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.c
null
null
null
null
null