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 The header file of bootloader support DXE. Copyright (c) 2021, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <PiDxe.h> #include <Library/UefiBootServicesTableLib.h> #include <Library/DebugLib.h> #include <Library/BaseMemoryLib.h> #inc...
UefiPayloadPkg/BlSupportDxe/BlSupportDxe.h
null
null
null
null
null
source
edk2
/** @file This file handles post bootloader stage operations for AARCH64 architecture. Copyright 2025 Google LLC SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <AArch64/AArch64.h> #include <Library/ArmLib.h> #include <Library/ArmMmuLib.h> #include <Library/BaseLib.h> #include <Library/BaseMemoryLib....
UefiPayloadPkg/BlSupportDxe/AArch64/BlSupport.c
null
null
null
null
null
source
edk2
/** @file This file will report some MMIO/IO resources to dxe core. Copyright (c) 2014 - 2021, Intel Corporation. All rights reserved.<BR> Copyright 2025 Google LLC SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "BlSupportDxe.h" /** Architecture level additional operation which needs to be perf...
UefiPayloadPkg/BlSupportDxe/X86/BlSupport.c
null
null
null
null
null
source
edk2
/** @file This driver is used for SMM S3 support for the bootloader that doesn't support SMM. The payload would save SMM rebase info to SMM communication area. The bootloader is expected to rebase the SMM and trigger SMI by writting 0xB2 port with given value from SMM communication area. The paylaod SMM han...
UefiPayloadPkg/BlSupportSmm/BlSupportSmm.c
null
null
null
null
null
source
edk2
/** @file The header file of bootloader support SMM. Copyright (c) 2021, 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/IoLib.h> #include <Library/HobLib.h> ...
UefiPayloadPkg/BlSupportSmm/BlSupportSmm.h
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2014 - 2021, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiDxe.h> #include <Protocol/FirmwareVolumeBlock.h> #include <Library/PcdLib.h> #include <Library/DebugLib.h> #include <Library/BaseLib.h> #include <Guid/FirmwareFileSystem2....
UefiPayloadPkg/FvbRuntimeDxe/FvbInfo.c
null
null
null
null
null
source
edk2
/** @file Firmware Volume Block Driver to provide FVB service. Copyright (c) 2014 - 2021, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "FvbService.h" // // Global variable for this FVB driver which contains // the private data of all firmware volume bloc...
UefiPayloadPkg/FvbRuntimeDxe/FvbService.c
null
null
null
null
null
source
edk2
/** @file The header file for Firmware volume block driver. Copyright (c) 2014 - 2021, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Guid/EventGroup.h> #include <Guid/FirmwareFileSystem2.h> #include <Guid/SystemNvDataGuid.h> #include <Guid/Variab...
UefiPayloadPkg/FvbRuntimeDxe/FvbService.h
null
null
null
null
null
source
edk2
/** @file SMM Firmware Volume Block Driver. Copyright (c) 2014 - 2021, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiSmm.h> #include <Library/SmmServicesTableLib.h> #include "FvbSmmCommon.h" #include "FvbService.h" /** The function installs EFI_SMM_...
UefiPayloadPkg/FvbRuntimeDxe/FvbServiceSmm.c
null
null
null
null
null
source
edk2
/** @file The common header file for SMM FVB module. Copyright (c) 2014 - 2021, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Protocol/SmmFirmwareVolumeBlock.h> #define EFI_FUNCTION_GET_ATTRIBUTES 1 #define EFI_FUNCTION_SET_ATTRIBUTES ...
UefiPayloadPkg/FvbRuntimeDxe/FvbSmmCommon.h
null
null
null
null
null
source
edk2
/** @file Implementation for a generic GOP driver. Copyright (c) 2016, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "GraphicsOutput.h" CONST ACPI_ADR_DEVICE_PATH mGraphicsOutputAdrNode = { { ACPI_DEVICE_PATH, ACPI_ADR_DP, { sizeof (ACPI_ADR_D...
UefiPayloadPkg/GraphicsOutputDxe/GraphicsOutput.c
null
null
null
null
null
source
edk2
/** @file Coreboot PEI module include file. Copyright (c) 2014 - 2015, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ /* * This file is part of the libpayload project. * * Copyright (C) 2008 Advanced Micro Devices, Inc. * * Redistribution and use in source and...
UefiPayloadPkg/Include/Coreboot.h
null
null
null
null
null
source
edk2
/** @file This file defines the hob structure for board related information from acpi table Copyright (c) 2014, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /// /// Board information GUID /// extern EFI_GUID gUefiAcpiBoardInfoGuid; typedef struct ...
UefiPayloadPkg/Include/Guid/AcpiBoardInfoGuid.h
null
null
null
null
null
source
edk2
/** @file Define the structure for the Boot Manager Menu File. Copyright (c) 2021, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Uefi.h> #include <UniversalPayload/UniversalPayload.h> #pragma pack (1) typedef struct { UNIVERSAL_PAYLOAD_GENE...
UefiPayloadPkg/Include/Guid/BootManagerMenu.h
null
null
null
null
null
source
edk2
/** @file Define the structure for Debug Print Error Level Guid Hob. Copyright (c) 2022, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Uefi.h> #include <UniversalPayload/UniversalPayload.h> #pragma pack (1) // // ErrorLevel: The error level of...
UefiPayloadPkg/Include/Guid/DebugPrintErrorLevel.h
null
null
null
null
null
source
edk2
/** @file This file defines the hob structure for firmware related information from a bootloader Copyright (c) 2025, 3mdeb Sp. z o.o.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /// /// Firmware information GUID /// extern EFI_GUID gEfiFirmwareInfoHobGuid; typedef struct { EFI_GUID...
UefiPayloadPkg/Include/Guid/FirmwareInfoGuid.h
null
null
null
null
null
source
edk2
/** @file This file defines the hob structure for memory map information. Copyright (c) 2014 - 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Library/PcdLib.h> /// /// Memory Map Information GUID /// extern EFI_GUID gLoaderMemoryMapI...
UefiPayloadPkg/Include/Guid/MemoryMapInfoGuid.h
null
null
null
null
null
source
edk2
/** @file This file defines the hob structure for the SPI flash variable info. Copyright (c) 2021, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once // // NV variable hob info GUID // extern EFI_GUID gNvVariableInfoGuid; typedef struct { UINT8 Re...
UefiPayloadPkg/Include/Guid/NvVariableInfoGuid.h
null
null
null
null
null
source
edk2
/** @file Define the structure for the Payload command line Hob. Copyright (c) 2022, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Uefi.h> #include <UniversalPayload/UniversalPayload.h> #pragma pack (1) typedef struct { UNIVERSAL_PAYLOAD_GE...
UefiPayloadPkg/Include/Guid/PayloadCommandLine.h
null
null
null
null
null
source
edk2
/** @file This file defines the hob structure for PCI Segment related information. Copyright (c) 2024, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /// /// UPL Pcie Segment Information Hob GUID /// extern EFI_GUID gUplPciSegmentInfoHobGuid; #pragm...
UefiPayloadPkg/Include/Guid/PciSegmentInfoGuid.h
null
null
null
null
null
source
edk2
/** @file This file defines the hob structure for serial port. Copyright (c) 2014 - 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /// /// Serial Port Information GUID /// extern EFI_GUID gUefiSerialPortInfoGuid; #define PLD_SERIAL_TYPE_IO_MAP...
UefiPayloadPkg/Include/Guid/SerialPortInfoGuid.h
null
null
null
null
null
source
edk2
/** @file This file defines the SMM info hob structure. Copyright (c) 2021, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <IndustryStandard/Acpi.h> /// /// SMM Information GUID /// extern EFI_GUID gSmmRegisterInfoGuid; /// /// Reuse ACPI ...
UefiPayloadPkg/Include/Guid/SmmRegisterInfoGuid.h
null
null
null
null
null
source
edk2
/** @file This file defines the SMM S3 communication hob structure. Copyright (c) 2021, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once extern EFI_GUID gS3CommunicationGuid; #pragma pack(1) typedef struct { EFI_SMRAM_DESCRIPTOR CommBuffer; BO...
UefiPayloadPkg/Include/Guid/SmmS3CommunicationInfoGuid.h
null
null
null
null
null
source
edk2
/** @file This file defines the hob structure for coreboot's SmmStore. Copyright (c) 2022, 9elements GmbH<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /// /// System Table Information GUID /// extern EFI_GUID gEfiSmmStoreInfoHobGuid; typedef struct { UINT64 ComBuffer; UINT32 C...
UefiPayloadPkg/Include/Guid/SmmStoreInfoGuid.h
null
null
null
null
null
source
edk2
/** @file This file defines the hob structure for the SPI flash variable info. Copyright (c) 2017 - 2021, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <IndustryStandard/Acpi.h> // // SPI Flash infor hob GUID // extern EFI_GUID gSpiFlashInf...
UefiPayloadPkg/Include/Guid/SpiFlashInfoGuid.h
null
null
null
null
null
source
edk2
/** @file Universal Payload general definitions. Copyright (c) 2023, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once extern GUID gUniversalPayloadBaseGuid; typedef struct { UNIVERSAL_PAYLOAD_GENERIC_HEADER Header; EFI_PHYSICAL_ADDRESS ...
UefiPayloadPkg/Include/Guid/UniversalPayloadBase.h
null
null
null
null
null
source
edk2
/** @file Universal Payload serial port parent device information definitions. Copyright (c) 2024, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once extern GUID gUniversalPayloadSerialPortParentDeviceInfoGuid; // IsIsaCompatible // TRUE: the serial port de...
UefiPayloadPkg/Include/Guid/UniversalPayloadSerialPortDeviceParentInfo.h
null
null
null
null
null
source
edk2
/** @file This library will parse the coreboot table in memory and extract those required information. Copyright (c) 2014 - 2021, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <PiPei.h> #include <Guid/GraphicsInfoHob.h> #include <Guid/Memo...
UefiPayloadPkg/Include/Library/BlParseLib.h
null
null
null
null
null
source
edk2
/** @file This library will Build the FDT (flat device tree) table information. Copyright (c) 2024, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /** It will build FDT for UPL consumed. @param[in] FdtBase Address of the Fdt data. @retval...
UefiPayloadPkg/Include/Library/BuildFdtLib.h
null
null
null
null
null
source
edk2
/** @file Provides a service to retrieve a pointer to the start of HOB list. Only available to DXE module types. This library does not contain any functions or macros. It simply exports a global pointer to the start of HOB list as defined in the Platform Initialization Driver Execution Environment Core Inte...
UefiPayloadPkg/Include/Library/DxeHobListLib.h
null
null
null
null
null
source
edk2
/** @file This library will parse the FDT (flat device tree) table information. Copyright (c) 2024, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /** It will parse FDT based on DTB. @param[in] FdtBase Address of the Fdt data. @r...
UefiPayloadPkg/Include/Library/FdtParserLib.h
null
null
null
null
null
source
edk2
/** @file Flash device library class header file. Copyright (c) 2017 - 2021, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /** Read NumBytes bytes of data from the address specified by PAddress into Buffer. @param[in] PAddress The star...
UefiPayloadPkg/Include/Library/FlashDeviceLib.h
null
null
null
null
null
source
edk2
/** @file This library will provide services for handling HOB data. Copyright (c) 2024, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /** * Add HOB into HOB list @param[in] Hob The HOB to be added into the HOB list. **/ VOID AddNewHob ( IN...
UefiPayloadPkg/Include/Library/HobParserLib.h
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2010, Apple Inc. All rights reserved.<BR> Copyright (c) 2017 - 2021, Intel Corporation. All rights reserved.<BR> Copyright (c) Microsoft Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /** Add a new HOB to the HOB List. @param HobType Type ...
UefiPayloadPkg/Include/Library/PayloadEntryHelperLib.h
null
null
null
null
null
source
edk2
/** @file Bootloader Platform Support library. Platform can provide an implementation of this library class to provide hooks that may be required for some type of platform features. Copyright (c) 2016 - 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma o...
UefiPayloadPkg/Include/Library/PlatformSupportLib.h
null
null
null
null
null
source
edk2
/** @file SmmStoreLib.h Copyright (c) 2022, 9elements GmbH<BR> Copyright (c) 2025, 3mdeb Sp. z o.o.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Base.h> #include <Uefi/UefiBaseType.h> #include <Guid/SmmStoreInfoGuid.h> #define SMMSTORE_COMBUF_SIZE 16 /** Get the SmmStore ...
UefiPayloadPkg/Include/Library/SmmStoreLib.h
null
null
null
null
null
source
edk2
/** @file This library parses the coreboot table in memory to extract required information. Copyright (c) 2021, Star Labs Systems. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Guid/SmmStoreInfoGuid.h> /** Find the SmmStore HOB. @param SmmStoreInfo ...
UefiPayloadPkg/Include/Library/SmmStoreParseLib.h
null
null
null
null
null
source
edk2
/** @file PCH SPI Common Driver implements the SPI Host Controller Compatibility Interface. Copyright (c) 2017 - 2021, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /** Flash Region Type **/ typedef enum { FlashRegionDescriptor, FlashRegionBios...
UefiPayloadPkg/Include/Library/SpiFlashLib.h
null
null
null
null
null
source
edk2
/** @file This file defines the structure for the PCI Root Bridges. Copyright (c) 2024, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent @par Revision Reference: - Universal Payload Specification 0.8 (https://universalpayload.github.io/spec/) **/ #pragma once #inc...
UefiPayloadPkg/Include/UniversalPayload/DeviceTree.h
null
null
null
null
null
source
edk2
/** @file ACPI Timer implements one instance of Timer Library. Copyright (c) 2014, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiPei.h> #include <Library/TimerLib.h> #include <Library/BaseLib.h> #include <Library/IoLib.h> #include <Library/HobLib.h> #i...
UefiPayloadPkg/Library/AcpiTimerLib/AcpiTimerLib.c
null
null
null
null
null
source
edk2
/** @file UART Serial Port library functions. Copyright (c) 2022, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiDxe.h> #include <Base.h> #include <Library/PcdLib.h> #include <Library/IoLib.h> #include <Library/BaseLib.h> #include <Library/HobLib.h> #inc...
UefiPayloadPkg/Library/BaseSerialPortLibHob/BaseSerialPortLibHob.c
null
null
null
null
null
source
edk2
/** @file UART Serial Port library functions. Copyright (c) 2023, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi.h> extern BOOLEAN mBaseSerialPortLibHobAtRuntime; /** Set mSerialIoUartLibAtRuntime flag as TRUE after ExitBootServices. @param[in...
UefiPayloadPkg/Library/BaseSerialPortLibHob/DxeBaseSerialPortLibHob.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 **/ #include <PiPei.h> #include <IndustryStandard/Pci22.h> #include <Library/BaseLib.h> #include <Library/BaseMemoryLib.h> #include <Library/MemoryAllocationLib.h> #include <Library/DebugLib.h> #i...
UefiPayloadPkg/Library/BuildFdtLib/X86_BuildFdtLib.c
null
null
null
null
null
source
edk2
/** @file This library will parse the coreboot table in memory and extract those required information. Copyright (c) 2014 - 2021, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi/UefiBaseType.h> #include <Library/BaseLib.h> #include <Library/BaseMemo...
UefiPayloadPkg/Library/CbParseLib/CbParseLib.c
null
null
null
null
null
source
edk2
/** @file CBMEM console SerialPortLib instance Copyright (c) 2022, Baruch Binyamin Doron SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Base.h> #include <Coreboot.h> #include <Library/BaseMemoryLib.h> #include <Library/BlParseLib.h> #include <Library/SerialPortLib.h> // Upper nibble contains flag...
UefiPayloadPkg/Library/CbSerialPortLib/CbSerialPortLib.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 **/ #include <PiPei.h> #include <Pi/PiHob.h> #include <Library/BaseLib.h> #include <Library/BaseMemoryLib.h> #include <Library/MemoryAllocationLib.h> #include <Library/DebugLib.h> #include <Library...
UefiPayloadPkg/Library/CustomFdtNodeParserLib/CustomFdtNodeParserLib.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 **/ #include <Uefi.h> #include <PiPei.h> #include <Pi/PiHob.h> /** Check the HOB and decide if it is need inside Payload Payload maintainer may make decision which HOB is need or needn't The...
UefiPayloadPkg/Library/CustomFdtNodeParserNullLib/CustomFdtNodeParserNullLib.c
null
null
null
null
null
source
edk2
/** @file Debug Print Error Level library instance that retrieves the DebugPrintErrorLevel from bootloader. Copyright (c) 2022, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Base.h> #include <Uefi.h> #include <PiDxe.h> #include <Library/PcdLib.h> #incl...
UefiPayloadPkg/Library/DebugPrintErrorLevelLibHob/DebugPrintErrorLevelLibHob.c
null
null
null
null
null
source
edk2
/** @file HOB Library implementation for Payload Phase. Copyright (c) 2021, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiDxe.h> #include <Library/HobLib.h> #include <Library/DebugLib.h> #include <Library/BaseMemoryLib.h> #include <Library/DxeHobListLib.h...
UefiPayloadPkg/Library/DxeHobLib/HobLib.c
null
null
null
null
null
source
edk2
/** @file This library retrieve the EFI_BOOT_SERVICES pointer from EFI system table in library's constructor. Copyright (c) 2021, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi.h> VOID *gHobList = NULL; /** Local implementation of GUID compara...
UefiPayloadPkg/Library/DxeHobListLib/DxeHobListLib.c
null
null
null
null
null
source
edk2
/** @file This library retrieve the EFI_BOOT_SERVICES pointer from EFI system table in library's constructor. Copyright (c) 2021, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi.h> /** The dummy constructor for DxeHobListLib. @retval EFI_SUCC...
UefiPayloadPkg/Library/DxeHobListLibNull/DxeHobListLibNull.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 **/ #include <PiPei.h> #include <Library/BaseLib.h> #include <Library/BaseMemoryLib.h> #include <Library/MemoryAllocationLib.h> #include <Library/DebugLib.h> #include <Library/HobLib.h> #include <...
UefiPayloadPkg/Library/FdtParserLib/FdtParserLib.c
null
null
null
null
null
source
edk2
/** @file Flash Device Library based on SPI Flash library. Copyright (c) 2018 - 2021, Intel Corporation. All rights reserved. <BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiDxe.h> #include <Library/BaseMemoryLib.h> #include <Library/DebugLib.h> #include <Library/SpiFlashLib.h> /** Initializ...
UefiPayloadPkg/Library/FlashDeviceLib/FlashDeviceLib.c
null
null
null
null
null
source
edk2
/** @file Provides firmware device specific services to support updates of a firmware image stored in a firmware device. This implementation uses SmmStoreLib to update the whole flash chip. For this to work correctly Intel ME or an equivalent need to be disabled and all flash chip protections need to be lif...
UefiPayloadPkg/Library/FmpDeviceSmmLib/FmpDeviceSmmLib.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 **/ #include <PiPei.h> #include <Library/BaseLib.h> #include <Library/BaseMemoryLib.h> #include <Library/MemoryAllocationLib.h> #include <Library/DebugLib.h> #include <Library/HobLib.h> #include <...
UefiPayloadPkg/Library/HobParseLib/HobParseLib.c
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2010, Apple Inc. All rights reserved.<BR> Copyright (c) 2017 - 2021, Intel Corporation. All rights reserved.<BR> Copyright (c) Microsoft Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiPei.h> #include <Library/HobLib.h> #include <Library/DebugLib.h> #includ...
UefiPayloadPkg/Library/PayloadEntryHelperLib/PayloadEntryHelperLib.c
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2010, Apple Inc. All rights reserved.<BR> Copyright (c) 2017 - 2021, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiPei.h> #include <Library/BaseLib.h> #include <Library/BaseMemoryLib.h> #include <Library/DebugLib.h> #include <...
UefiPayloadPkg/Library/PayloadEntryHobLib/Hob.c
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR> Copyright (c) 2020, Intel Corporation. All rights reserved.<BR> Copyright (c) Microsoft Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi.h> #include <Pi/PiBootMode.h> #include <Pi/PiHob.h> #include <Librar...
UefiPayloadPkg/Library/PayloadEntryMemoryAllocationLib/MemoryAllocation.c
null
null
null
null
null
source
edk2
/** @file Header file of PciHostBridgeLib. Copyright (C) 2016, Red Hat, Inc. Copyright (c) 2016 - 2021, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <UniversalPayload/PciRootBridges.h> typedef struct { ACPI_HID_DEVICE_PATH Acpi...
UefiPayloadPkg/Library/PciHostBridgeLib/PciHostBridge.h
null
null
null
null
null
source
edk2
/** @file Library instance of PciHostBridgeLib library class for coreboot. Copyright (C) 2016, Red Hat, Inc. Copyright (c) 2016 - 2021, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiDxe.h> #include <IndustryStandard/Pci.h> #include <Protocol/PciHost...
UefiPayloadPkg/Library/PciHostBridgeLib/PciHostBridgeLib.c
null
null
null
null
null
source
edk2
/** @file Scan the entire PCI bus for root bridges to support coreboot UEFI payload. Copyright (c) 2016 - 2021, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiDxe.h> #include <IndustryStandard/Pci.h> #include <Protocol/PciHostBridgeResourceAllocation.h...
UefiPayloadPkg/Library/PciHostBridgeLib/PciHostBridgeSupport.c
null
null
null
null
null
source
edk2
/** @file PCI Segment Information Library that returns one segment whose segment base address is retrieved from AcpiBoardInfo HOB. Copyright (c) 2020, Intel Corporation. All rights reserved.<BR> Copyright (c) 2024, Rivos Inc. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #inclu...
UefiPayloadPkg/Library/PciSegmentInfoLibAcpiBoardInfo/PciSegmentInfoLibAcpiBoardInfo.c
null
null
null
null
null
source
edk2
/** @file This file include all platform action which can be customized by IBV/OEM. Copyright (c) 2015 - 2023, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "PlatformBootManager.h" #include "PlatformConsole.h" #include <Protocol/FirmwareVolume2.h> /** Si...
UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.c
null
null
null
null
null
source
edk2
/** @file Head file for BDS Platform specific code Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <PiDxe.h> #include <Protocol/LoadedImage.h> #include <Library/DebugLib.h> #include <Library/BaseMemoryLib.h> #include <L...
UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.h
null
null
null
null
null
source
edk2
/** @file This file include all platform action which can be customized by IBV/OEM. Copyright (c) 2016, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "PlatformBootManager.h" #include "PlatformConsole.h" #include <Guid/SerialPortLibVendor.h> #define PCI_DEVICE_...
UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformConsole.c
null
null
null
null
null
source
edk2
/** @file Head file for BDS Platform specific code Copyright (c) 2016, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <PiDxe.h> #include <IndustryStandard/Pci.h> #include <Library/DebugLib.h> #include <Library/BaseMemoryLib.h> #include <Library/Uefi...
UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformConsole.h
null
null
null
null
null
source
edk2
/** @file Defined the platform specific device path which will be filled to ConIn/ConOut variables. Copyright (c) 2016, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "PlatformBootManager.h" /// /// Predefined platform default console device path /// GLOBAL_...
UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformData.c
null
null
null
null
null
source
edk2
/** @file Platform Hook Library instance for UART device. Copyright (c) 2021, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Base.h> #include <PiDxe.h> #include <UniversalPayload/SerialPortInfo.h> #include <Library/PlatformHookLib.h> #include <Library/Pcd...
UefiPayloadPkg/Library/PlatformHookLib/PlatformHookLib.c
null
null
null
null
null
source
edk2
/** @file Include all platform specific features which can be customized by IBV/OEM. Copyright (c) 2016, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi.h> #include <Library/BaseLib.h> #include <Library/UefiLib.h> #include <Library/PlatformSupportLib.h> ...
UefiPayloadPkg/Library/PlatformSupportLibNull/PlatformSupportLibNull.c
null
null
null
null
null
source
edk2
/** @file Reset System Library functions for bootloader Copyright (c) 2014 - 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiDxe.h> #include <Library/BaseLib.h> #include <Library/DebugLib.h> #include <Library/IoLib.h> #include <Library/HobLib.h> #i...
UefiPayloadPkg/Library/ResetSystemLib/ResetSystemLib.c
null
null
null
null
null
source
edk2
/** @file This library will parse the Slim Bootloader to get required information. Copyright (c) 2014 - 2021, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiDxe.h> #include <Library/BaseLib.h> #include <Library/BaseMemoryLib.h> #include <Library/DebugLi...
UefiPayloadPkg/Library/SblParseLib/SblParseLib.c
null
null
null
null
null
source
edk2
/** @file SmmStore.c Copyright (c) 2022, 9elements GmbH<BR> Copyright (c) 2025, 3mdeb Sp. z o.o.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiDxe.h> #include <Library/DebugLib.h> #include <Library/BaseLib.h> #include <Library/BaseMemoryLib.h> #include <Library/DxeServicesTableLib.h> #incl...
UefiPayloadPkg/Library/SmmStoreLib/SmmStore.c
null
null
null
null
null
source
edk2
/** @file SmmStore.h Copyright (c) 2022, 9elements GmbH<BR> Copyright (c) 2025, 3mdeb Sp. z o.o.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #define SMMSTORE_RET_SUCCESS 0 #define SMMSTORE_RET_FAILURE 1 #define SMMSTORE_RET_UNSUPPORTED 2 /* Version 2 only */ #define SMMSTOR...
UefiPayloadPkg/Library/SmmStoreLib/SmmStore.h
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2017-2021, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "SpiCommon.h" /** Acquire SPI MMIO BAR. @param[in] PchSpiBase PCH SPI PCI Base Address @retval Return SPI BAR Address **/ UINT32 Acqu...
UefiPayloadPkg/Library/SpiFlashLib/PchSpi.c
null
null
null
null
null
source
edk2
/** @file Register names for SPI device. Copyright (c) 2017 - 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #define R_SPI_BASE 0x10 ///< 32-bit Memory Base Address Register #define B_SPI_BAR0_MASK ...
UefiPayloadPkg/Library/SpiFlashLib/RegsSpi.h
null
null
null
null
null
source
edk2
/** @file Header file for the SPI flash module. Copyright (c) 2017 - 2021, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <PiDxe.h> #include <Uefi/UefiBaseType.h> #include <IndustryStandard/Pci30.h> #include <Library/IoLib.h> #include <Librar...
UefiPayloadPkg/Library/SpiFlashLib/SpiCommon.h
null
null
null
null
null
source
edk2
/** @file Generic driver using Hardware Sequencing registers. Copyright (c) 2017-2021, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "SpiCommon.h" SPI_INSTANCE *mSpiInstance = NULL; /** Get SPI Instance from library global data.. @retval SpiInstanc...
UefiPayloadPkg/Library/SpiFlashLib/SpiFlashLib.c
null
null
null
null
null
source
edk2
/** @file ELF library Copyright (c) 2018 - 2021, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <PiPei.h> #define ELF_CLASS32 1 #define ELF_CLASS64 2 #define ELF_PT_LOAD 1 typedef struct { RETURN_STATUS ParseStatus; /...
UefiPayloadPkg/PayloadLoaderPeim/ElfLib.h
null
null
null
null
null
source
edk2
/** @file FIT Load Image Support Copyright (c) 2023, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <PiPei.h> #include <Library/DebugLib.h> #include <Library/FdtLib.h> typedef struct { UINT64 Offset; UINT64 RelocateType; } FIT_RELOCATE_I...
UefiPayloadPkg/PayloadLoaderPeim/FitLib.h
null
null
null
null
null
source
edk2
/** @file FIT Load Image Support Copyright (c) 2023, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiPei.h> #include <UniversalPayload/UniversalPayload.h> #include <UniversalPayload/DeviceTree.h> #include <Guid/UniversalPayloadBase.h> #include <UniversalPayloa...
UefiPayloadPkg/PayloadLoaderPeim/FitPayloadLoaderPeim.c
null
null
null
null
null
source
edk2
/** @file ELF Load Image Support Copyright (c) 2021, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiPei.h> #include <UniversalPayload/UniversalPayload.h> #include <UniversalPayload/ExtraData.h> #include <Ppi/LoadFile.h> #include <Library/DebugLib.h> #incl...
UefiPayloadPkg/PayloadLoaderPeim/PayloadLoaderPeim.c
null
null
null
null
null
source
edk2
/** @file ELF library Copyright (c) 2019 - 2021, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "ElfLibInternal.h" /** Return the section header specified by Index. @param ImageBase The image base. @param Index The section index. @...
UefiPayloadPkg/PayloadLoaderPeim/ElfLib/Elf32Lib.c
null
null
null
null
null
source
edk2
/** @file Ported ELF include files from FreeBSD Copyright (c) 2009 - 2010, Apple Inc. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ /*- * Copyright (c) 1996-1998 John D. Polstra. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modificati...
UefiPayloadPkg/PayloadLoaderPeim/ElfLib/Elf64.h
null
null
null
null
null
source
edk2
/** @file ELF library Copyright (c) 2019 - 2021, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "ElfLibInternal.h" /** Return the section header specified by Index. @param ImageBase The image base. @param Index The section index. @...
UefiPayloadPkg/PayloadLoaderPeim/ElfLib/Elf64Lib.c
null
null
null
null
null
source
edk2
/** @file Ported ELF include files from FreeBSD Copyright (c) 2009 - 2010, Apple Inc. All rights reserved.<BR> Portions Copyright (c) 2011 - 2013, ARM Ltd. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ /*- * Copyright (c) 1998 John D. Polstra. * All rights reserved. * * Redistribution...
UefiPayloadPkg/PayloadLoaderPeim/ElfLib/ElfCommon.h
null
null
null
null
null
source
edk2
/** @file ELF library Copyright (c) 2019 - 2021, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "ElfLibInternal.h" /** Check if the ELF image is valid. @param[in] ImageBase Memory address of an image. @retval TRUE if valid. **/ BOOLEAN...
UefiPayloadPkg/PayloadLoaderPeim/ElfLib/ElfLib.c
null
null
null
null
null
source
edk2
/** @file ELF library Copyright (c) 2019 - 2021, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Library/BaseLib.h> #include <Library/DebugLib.h> #include <Library/BaseMemoryLib.h> #include "ElfLib.h" #include "ElfCommon.h" #include "Elf32.h"...
UefiPayloadPkg/PayloadLoaderPeim/ElfLib/ElfLibInternal.h
null
null
null
null
null
source
edk2
/** @file FIT Load Image Support Copyright (c) 2023, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "FitLib.h" PROPERTY_DATA PropertyData32List[] = { { "data-offset", PAYLOAD_ENTRY_OFFSET_OFFSET }, { "data-size", PAYLOAD_ENTRY_SIZE_OFFSET }, { "rel...
UefiPayloadPkg/PayloadLoaderPeim/FitLib/FitLib.c
null
null
null
null
null
source
edk2
/** @file SMM SwDispatch2 Protocol. Copyright (c) 2021, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "PchSmiDispatchSmm.h" typedef struct { UINT8 EosBitOffset; UINT8 ApmBitOffset; UINT32 SmiEosAddr; UINT32 SmiApmStsAddr; } SMM_PC...
UefiPayloadPkg/PchSmiDispatchSmm/PchSmiDispatchSmm.c
null
null
null
null
null
source
edk2
/** @file The header file for SMM SwDispatch2 module. Copyright (c) 2021, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <PiDxe.h> #include <Protocol/SmmSwDispatch2.h> #include <Protocol/SmmCpu.h> #include <Library/UefiDriverEntryPoint.h> #in...
UefiPayloadPkg/PchSmiDispatchSmm/PchSmiDispatchSmm.h
null
null
null
null
null
source
edk2
/** @file Implementation of the gEfiPciPlatformProtocol to support loading PCI Option ROMs when full PCI enumeration is skipped. Copyright (c) 2025, 9elements GmbH. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "PciPlatformDxe.h" #include <Bus/Pci/PciBusDxe/PciBus.h> #includ...
UefiPayloadPkg/PciPlatformDxe/PciPlatformDxe.c
null
null
null
null
null
source
edk2
/** @file Header file for a gEfiPciPlatformProtocol driver. Copyright (c) 2025, 9elements GmbH. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <PiDxe.h> #include <IndustryStandard/Pci.h> #include <IndustryStandard/Acpi.h> #include <IndustryStandard/Pci22.h> #incl...
UefiPayloadPkg/PciPlatformDxe/PciPlatformDxe.h
null
null
null
null
null
source
edk2
# UefiPayloadPkg - Platform CI This ReadMe.md describes the Azure DevOps based Platform CI for UefiPayloadPkg and how to use the same Pytools based build infrastructure locally. ## Supported Configuration Details This solution for building UefiPayloadPkg has only been validated with Windows 11 with VS2019 + CLANG/LL...
UefiPayloadPkg/PlatformCI/ReadMe.md
null
null
null
null
null
source
edk2
/** @file This driver publishes the SMM Access 2 Protocol. Copyright (c) 2021, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "SmmAccessDxe.h" SMM_ACCESS_PRIVATE_DATA mSmmAccess; /** Update region state from SMRAM description @param[in] OrLogic ...
UefiPayloadPkg/SmmAccessDxe/SmmAccessDxe.c
null
null
null
null
null
source
edk2
/** @file The header file of SMM access DXE. Copyright (c) 2014 - 2021, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <PiDxe.h> #include <Protocol/SmmAccess2.h> #include <Library/HobLib.h> #include <Library/BaseLib.h> #include <Library/UefiBootS...
UefiPayloadPkg/SmmAccessDxe/SmmAccessDxe.h
null
null
null
null
null
source
edk2
/** @file This module produces the SMM Control2 Protocol Copyright (c) 2021, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiDxe.h> #include <Protocol/SmmControl2.h> #include <Library/DebugLib.h> #include <Library/UefiBootServicesTableLib.h> #include <Li...
UefiPayloadPkg/SmmControlRuntimeDxe/SmmControlRuntimeDxe.c
null
null
null
null
null
source
edk2
/** @file SmmStoreFvbRuntime.c Copyright (c) 2022, 9elements GmbH<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Library/UefiLib.h> #include <Library/BaseMemoryLib.h> #include <Library/MemoryAllocationLib.h> #include <Library/DxeServicesTableLib.h> #include <Library/DevicePathLib.h> #include <L...
UefiPayloadPkg/SmmStoreFvb/SmmStoreFvbRuntime.c
null
null
null
null
null
source
edk2
/** @file SmmStoreFvbRuntime.h Copyright (c) 2022, 9elements GmbH<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Base.h> #include <PiDxe.h> #include <Guid/EventGroup.h> #include <Protocol/FirmwareVolumeBlock.h> #include <Library/DebugLib.h> #include <Library/IoLib.h> #include <...
UefiPayloadPkg/SmmStoreFvb/SmmStoreFvbRuntime.h
null
null
null
null
null
source
edk2
/** @file SmmStoreFvbRuntimeDxe.c Copyright (c) 2022, 9elements GmbH<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiDxe.h> #include <Library/PcdLib.h> #include <Library/BaseLib.h> #include <Library/HobLib.h> #include <Library/UefiLib.h> #include <Library/BaseMemoryLib.h> #include <Library/Me...
UefiPayloadPkg/SmmStoreFvb/SmmStoreFvbRuntimeDxe.c
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2021, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "UefiPayloadEntry.h" /** Find the board related info from ACPI table @param AcpiTableBase ACPI table start address in memory @param AcpiBoardInfo Point...
UefiPayloadPkg/UefiPayloadEntry/AcpiTable.c
null
null
null
null
null