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 Implementation functions and structures for var check services. Copyright (c) 2015 - 2021, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Library/VarCheckLib.h> #include <Library/BaseLib.h> #include <Library/BaseMemoryLib.h> #include <Library/DebugL...
MdeModulePkg/Library/VarCheckLib/VarCheckLib.c
null
null
null
null
null
source
edk2
/** @file Var Check PCD handler. Copyright (c) 2015 - 2017, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Library/VarCheckLib.h> #include <Library/BaseLib.h> #include <Library/DebugLib.h> #include <Library/BaseMemoryLib.h> #include <Library/MemoryAllocationL...
MdeModulePkg/Library/VarCheckPcdLib/VarCheckPcdLibNullClass.c
null
null
null
null
null
source
edk2
/** @file Internal structure for Var Check Pcd. Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once // // Alignment for PCD Variable and check data header. // #define HEADER_ALIGNMENT 4 #define HEADER_ALIGN(Header) (((UINTN) (Heade...
MdeModulePkg/Library/VarCheckPcdLib/VarCheckPcdStructure.h
null
null
null
null
null
source
edk2
/** @file -- VarCheckPolicyLib.c This is a NULL library instance that leverages the VarCheck interface and the business logic behind the VariablePolicy code to make its decisions. Copyright (c) 2024, Intel Corporation. All rights reserved.<BR> Copyright (c) Microsoft Corporation. SPDX-License-Identifier: BSD-2-Clause-...
MdeModulePkg/Library/VarCheckPolicyLib/VarCheckPolicyLib.c
null
null
null
null
null
source
edk2
/** @file -- VarCheckPolicyLib.h This internal header file defines the common interface of constructor for VarCheckPolicyLib. Copyright (c) 2024, Intel Corporation. All rights reserved.<BR> Copyright (c) Microsoft Corporation. All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /** ...
MdeModulePkg/Library/VarCheckPolicyLib/VarCheckPolicyLib.h
null
null
null
null
null
source
edk2
/** @file -- VarCheckPolicyLibStandaloneMm.c This is an instance of a VarCheck lib constructor for Standalone MM. Copyright (c) 2024, Intel Corporation. All rights reserved.<BR> Copyright (c) Microsoft Corporation. All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Library/StandaloneMmMe...
MdeModulePkg/Library/VarCheckPolicyLib/VarCheckPolicyLibStandaloneMm.c
null
null
null
null
null
source
edk2
/** @file -- VarCheckPolicyLibTraditional.c This is an instance of a VarCheck lib constructor for traditional SMM. Copyright (c) 2024, Intel Corporation. All rights reserved.<BR> Copyright (c) Microsoft Corporation. All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Library/SmmMemLib.h> ...
MdeModulePkg/Library/VarCheckPolicyLib/VarCheckPolicyLibTraditional.c
null
null
null
null
null
source
edk2
/** @file Implementation functions and structures for var check uefi library. Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi/UefiBaseType.h> #include <Library/VarCheckLib.h> #include <Library/BaseLib.h> #include <Library/BaseM...
MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLibNullClass.c
null
null
null
null
null
source
edk2
/** @file -- VariablePolicyHelperLib.c This library contains helper functions for marshalling and registering new policies with the VariablePolicy infrastructure. This library is currently written against VariablePolicy revision 0x00010000. Copyright (c) Microsoft Corporation. SPDX-License-Identifier: BSD-2-Clause-Pa...
MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.c
null
null
null
null
null
source
edk2
--- title: UEFI Variable Policy Whitepaper version: 1.0 copyright: Copyright (c) Microsoft Corporation. --- # UEFI Variable Policy ## Summary UEFI Variable Policy spec aims to describe the DXE protocol interface which allows enforcing certain rules on certain UEFI variables. The protocol allows communicatio...
MdeModulePkg/Library/VariablePolicyLib/ReadMe.md
null
null
null
null
null
source
edk2
/** @file -- VariablePolicyExtraInitNull.c This file contains extra init and deinit routines that don't do anything extra. Copyright (c) Microsoft Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Library/UefiRuntimeServicesTableLib.h> /** An extra init hook that enables the RuntimeDxe libra...
MdeModulePkg/Library/VariablePolicyLib/VariablePolicyExtraInitNull.c
null
null
null
null
null
source
edk2
/** @file -- VariablePolicyExtraInitRuntimeDxe.c This file contains extra init and deinit routines that register and unregister VariableAddressChange callbacks. Copyright (c) Microsoft Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Library/UefiBootServicesTableLib.h> #include <Library/UefiRu...
MdeModulePkg/Library/VariablePolicyLib/VariablePolicyExtraInitRuntimeDxe.c
null
null
null
null
null
source
edk2
/** @file -- VariablePolicyLib.c Business logic for Variable Policy enforcement. Copyright (c) Microsoft Corporation. Copyright (C) 2025 Advanced Micro Devices, Inc. All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi.h> #include <Library/BaseLib.h> #include <Library/SafeIntLib.h> ...
MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.c
null
null
null
null
null
source
edk2
/** @file Logo DXE Driver, install Edkii Platform Logo protocol. Copyright (c) 2016 - 2017, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi.h> #include <Protocol/HiiDatabase.h> #include <Protocol/GraphicsOutput.h> #include <Protocol/HiiImageEx.h> #include ...
MdeModulePkg/Logo/Logo.c
null
null
null
null
null
source
edk2
/** @file MockHiiLib.h Google Test mocks for HiiLib Copyright (c) Microsoft Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Library/GoogleTestLib.h> #include <Library/FunctionMockLib.h> extern "C" { #include <Uefi.h> #include <Library/HiiLib.h> } struct MockHiiLib { ...
MdeModulePkg/Test/Mock/Include/GoogleTest/Library/MockHiiLib.h
null
null
null
null
null
source
edk2
/** @file Google Test mocks for PciHostBridgeLib Copyright (c) 2023, Intel Corporation. All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Library/GoogleTestLib.h> #include <Library/FunctionMockLib.h> extern "C" { #include <Uefi.h> #include <Library/PciHostBridgeLi...
MdeModulePkg/Test/Mock/Include/GoogleTest/Library/MockPciHostBridgeLib.h
null
null
null
null
null
source
edk2
/** @file Google Test mocks for DevicePathLib Copyright (c) 2025, Yandex. All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Library/GoogleTestLib.h> #include <Library/FunctionMockLib.h> extern "C" { #include <Uefi.h> #include <Library/SecurityManagementLib.h> } s...
MdeModulePkg/Test/Mock/Include/GoogleTest/Library/MockSecurityManagementLib.h
null
null
null
null
null
source
edk2
/** @file MockVariablePolicyHelper.h Google Test mocks for VariablePolicyHelper Copyright (c) Microsoft Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Library/GoogleTestLib.h> #include <Library/FunctionMockLib.h> extern "C" { #include <Uefi.h> #include <Protocol/Variab...
MdeModulePkg/Test/Mock/Include/GoogleTest/Library/MockVariablePolicyHelperLib.h
null
null
null
null
null
source
edk2
/** @file MockHiiLib.cpp Google Test mocks for HiiLib Copyright (c) Microsoft Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <GoogleTest/Library/MockHiiLib.h> // // Global Variables that are not const // MOCK_INTERFACE_DEFINITION (MockHiiLib); MOCK_FUNCTION_DEFINITION (MockHiiLib, Hii...
MdeModulePkg/Test/Mock/Library/GoogleTest/MockHiiLib/MockHiiLib.cpp
null
null
null
null
null
source
edk2
/** @file Mock instance of the PCI Host Bridge Library. Copyright (c) 2023, Intel Corporation. All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <GoogleTest/Library/MockPciHostBridgeLib.h> MOCK_INTERFACE_DEFINITION (MockPciHostBridgeLib); MOCK_FUNCTION_DEFINITION (MockPciHostBridg...
MdeModulePkg/Test/Mock/Library/GoogleTest/MockPciHostBridgeLib/MockPciHostBridgeLib.cpp
null
null
null
null
null
source
edk2
/** @file Google Test mocks for SecurityManagementLib Copyright (c) 2025, Yandex. All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <GoogleTest/Library/MockSecurityManagementLib.h> MOCK_INTERFACE_DEFINITION (MockSecurityManagementLib); MOCK_FUNCTION_DEFINITION (MockSecurityManagem...
MdeModulePkg/Test/Mock/Library/GoogleTest/MockSecurityManagementLib/MockSecurityManagementLib.cpp
null
null
null
null
null
source
edk2
/** @file MockVariablePolicyHelperLib.cpp Google Test mocks for VariablePolicyHelperLib Copyright (c) Microsoft Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <GoogleTest/Library/MockVariablePolicyHelperLib.h> MOCK_INTERFACE_DEFINITION (MockVariablePolicyHelperLib); MOCK_FUNCTION_DEFINI...
MdeModulePkg/Test/Mock/Library/GoogleTest/MockVariablePolicyHelperLib/MockVariablePolicyHelperLib.cpp
null
null
null
null
null
source
edk2
/** @file Sample ACPI Platform Driver Copyright (c) 2008 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiDxe.h> #include <Protocol/AcpiTable.h> #include <Protocol/FirmwareVolume2.h> #include <Library/BaseLib.h> #include <Library/UefiBootService...
MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatform.c
null
null
null
null
null
source
edk2
/** @file ACPI Sdt Protocol Driver Copyright (c) 2010 - 2021, Intel Corporation. All rights reserved. <BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ // // Includes // #include "AcpiTable.h" GLOBAL_REMOVE_IF_UNREFERENCED EFI_ACPI_SDT_PROTOCOL mAcpiSdtProtocolTemplate = { EFI_ACPI_TABLE_VERSION_NONE, ...
MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiSdt.c
null
null
null
null
null
source
edk2
/** @file ACPI Sdt Protocol Driver Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved. <BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once // // Privacy data structure // // // ACPI Notify Linked List Signature. // #define EFI_ACPI_NOTIFY_LIST_SIGNATURE SIGNATURE_32 ('E', 'A', ...
MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiSdt.h
null
null
null
null
null
source
edk2
/** @file ACPI Table Protocol Driver Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ // // Includes // #include "AcpiTable.h" // // Handle to install ACPI Table Protocol // EFI_HANDLE mHandle ...
MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTable.c
null
null
null
null
null
source
edk2
/** @file ACPI Table Protocol Driver Copyright (c) 2006 - 2021, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <PiDxe.h> #include <Protocol/AcpiTable.h> #include <Guid/Acpi.h> #include <Protocol/AcpiSystemDescriptionTable.h> #include <Libra...
MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTable.h
null
null
null
null
null
source
edk2
/** @file ACPI Table Protocol Implementation Copyright (c) 2006 - 2025, Intel Corporation. All rights reserved.<BR> Copyright (c) 2016, Linaro Ltd. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ // // Includes // #include "AcpiTable.h" // // The maximum number of tables that pre-al...
MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableProtocol.c
null
null
null
null
null
source
edk2
/** @file ACPI Sdt Protocol Driver Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved. <BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "AcpiTable.h" GLOBAL_REMOVE_IF_UNREFERENCED AML_BYTE_ENCODING mAmlByteEncoding[] = { // OpCode ...
MdeModulePkg/Universal/Acpi/AcpiTableDxe/Aml.c
null
null
null
null
null
source
edk2
/** @file ACPI Sdt Protocol Driver Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved. <BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "AcpiTable.h" /** Return the child objects buffer from AML Handle's buffer. @param[in] AmlParentHandle Parent handle. @param[in] ...
MdeModulePkg/Universal/Acpi/AcpiTableDxe/AmlChild.c
null
null
null
null
null
source
edk2
/** @file ACPI Sdt Protocol Driver Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved. <BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "AcpiTable.h" /** Construct node list according to the AML handle. @param[in] AmlHandle AML handle. @param[in] AmlRootNod...
MdeModulePkg/Universal/Acpi/AcpiTableDxe/AmlNamespace.c
null
null
null
null
null
source
edk2
/** @file ACPI Sdt Protocol Driver Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved. <BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "AcpiTable.h" /** Retrieve option term according to AmlByteEncoding and Buffer. @param[in] AmlByteEncoding AML Byte Encoding. @par...
MdeModulePkg/Universal/Acpi/AcpiTableDxe/AmlOption.c
null
null
null
null
null
source
edk2
/** @file ACPI Sdt Protocol Driver Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved. <BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "AcpiTable.h" /** Check if it is AML Root name @param[in] Buffer AML path. @retval TRUE AML path is root. @retval FALSE...
MdeModulePkg/Universal/Acpi/AcpiTableDxe/AmlString.c
null
null
null
null
null
source
edk2
/** @file This module install ACPI Boot Graphics Resource Table (BGRT). Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR> Copyright (c) 2016, Microsoft Corporation<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi.h> #include <IndustryStandard/Acpi.h> #include <Protoco...
MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.c
null
null
null
null
null
source
edk2
/** @file This is the code for Boot Script Executer module. This driver is dispatched by Dxe core and the driver will reload itself to ACPI reserved memory in the entry point. The functionality is to interpret and restore the S3 boot script Copyright (c) 2006 - 2022, Intel Corporation. All rights reserved.<BR> ...
MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/ScriptExecute.c
null
null
null
null
null
source
edk2
/** @file The header file for Boot Script Executer module. This driver is dispatched by Dxe core and the driver will reload itself to ACPI reserved memory in the entry point. The functionality is to interpret and restore the S3 boot script Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> C...
MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/ScriptExecute.h
null
null
null
null
null
source
edk2
/** @file Set a IDT entry for debug purpose Set a IDT entry for interrupt vector 3 for debug purpose for IA32 platform Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "ScriptExecute.h" /** Set a IDT entry for interrupt vector 3 ...
MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/IA32/SetIdtEntry.c
null
null
null
null
null
source
edk2
/** @file Set a IDT entry for debug purpose Set a IDT entry for interrupt vector 3 for debug purpose for x64 platform Copyright (c) 2006 - 2022, Intel Corporation. All rights reserved.<BR> Copyright (c) 2017, AMD Incorporated. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "...
MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/X64/SetIdtEntry.c
null
null
null
null
null
source
edk2
/** @file This module install ACPI Firmware Performance Data Table (FPDT). This module register report status code listener to collect performance data for Firmware Basic Boot Performance Record and other boot performance records, and install FPDT to ACPI table. Copyright (c) 2011 - 2021, Intel Corporation....
MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableDxe/FirmwarePerformanceDxe.c
null
null
null
null
null
source
edk2
/** @file This module updates S3 Resume Performance Record in ACPI Firmware Performance Data Table in S3 resume boot mode. This module register report status code listener to collect performance data for S3 Resume Performance Record on S3 resume boot path. Copyright (c) 2011 - 2018, Intel Corporation. All r...
MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTablePei/FirmwarePerformancePei.c
null
null
null
null
null
source
edk2
/** @file This module collects performance data for MM driver boot records and S3 Suspend Performance Record. This module registers report status code listener to collect performance data for MM driver boot records and S3 Suspend Performance Record. Caution: This module requires additional review when modifie...
MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/FirmwarePerformanceCommon.c
null
null
null
null
null
source
edk2
/** @file This module collects performance data for SMM driver boot records and S3 Suspend Performance Record. This module registers report status code listener to collect performance data for SMM driver boot records and S3 Suspend Performance Record. Caution: This module requires additional review when modif...
MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/FirmwarePerformanceCommon.h
null
null
null
null
null
source
edk2
/** @file This module collects performance data for MM driver boot records and S3 Suspend Performance Record. This module registers report status code listener to collect performance data for MM driver boot records and S3 Suspend Performance Record. Caution: This module requires additional review when modifie...
MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/FirmwarePerformanceStandaloneMm.c
null
null
null
null
null
source
edk2
/** @file This module collects performance data for MM driver boot records and S3 Suspend Performance Record. This module registers report status code listener to collect performance data for MM driver boot records and S3 Suspend Performance Record. Caution: This module requires additional review when modifie...
MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/FirmwarePerformanceTraditional.c
null
null
null
null
null
source
edk2
/** @file This is the implementation to save ACPI S3 Context. Copyright (c) 2006 - 2022, 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/UefiBootServicesTableLib.h> #in...
MdeModulePkg/Universal/Acpi/S3SaveStateDxe/AcpiS3ContextSave.c
null
null
null
null
null
source
edk2
/** @file Internal header file for S3 Boot Script Saver state driver. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <PiDxe.h> #include <Protocol/S3SaveState.h> #include <Library/BaseLib.h> #include <Library/Debu...
MdeModulePkg/Universal/Acpi/S3SaveStateDxe/InternalS3SaveState.h
null
null
null
null
null
source
edk2
/** @file Implementation for S3 Boot Script Saver state driver. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "InternalS3SaveState.h" EFI_HANDLE mHandle = NULL; EFI_S3_SAVE_STATE_PROTOCOL mS3SaveState = {...
MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveState.c
null
null
null
null
null
source
edk2
/** @file Internal header file for SMM S3 Boot Script Saver state driver. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <PiDxe.h> #include <Protocol/S3SmmSaveState.h> #include <Library/BaseLib.h> #include <Libra...
MdeModulePkg/Universal/Acpi/SmmS3SaveState/InternalSmmSaveState.h
null
null
null
null
null
source
edk2
/** @file Implementation for S3 SMM Boot Script Saver state driver. Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "InternalSmmSaveState.h" EFI_S3_SMM_SAVE_STATE_PROTOCOL mS3SmmSaveState = { BootScriptWrite, BootScriptInser...
MdeModulePkg/Universal/Acpi/SmmS3SaveState/SmmS3SaveState.c
null
null
null
null
null
source
edk2
/** @file Head file for BDS Architectural Protocol implementation Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Uefi.h> #include <Guid/GlobalVariable.h> #include <Guid/ConnectConInEvent.h> #include <Guid/StatusCodeDat...
MdeModulePkg/Universal/BdsDxe/Bds.h
null
null
null
null
null
source
edk2
/** @file This module produce main entry for BDS phase - BdsEntry. When this module was dispatched by DxeCore, gEfiBdsArchProtocolGuid will be installed which contains interface of BdsEntry. After DxeCore finish DXE phase, gEfiBdsArchProtocolGuid->BdsEntry will be invoked to enter BDS phase. Copyright (c) 20...
MdeModulePkg/Universal/BdsDxe/BdsEntry.c
null
null
null
null
null
source
edk2
/** @file Set the level of support for Hardware Error Record Persistence that is implemented by the platform. Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "HwErrRecSupport.h" /** Set the HwErrRecSupport variable contains a bin...
MdeModulePkg/Universal/BdsDxe/HwErrRecSupport.c
null
null
null
null
null
source
edk2
/** @file Set the level of support for Hardware Error Record Persistence that is implemented by the platform. Copyright (c) 2007 - 2015, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include "Bds.h" /** Set the HwErrRecSupport variable contains a b...
MdeModulePkg/Universal/BdsDxe/HwErrRecSupport.h
null
null
null
null
null
source
edk2
/** @file Language settings Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Bds.h" #define ISO_639_2_ENTRY_SIZE 3 /** Check if lang is in supported language codes according to language string. This code is used to check if lan...
MdeModulePkg/Universal/BdsDxe/Language.c
null
null
null
null
null
source
edk2
/** @file Language setting Copyright (c) 2004 - 2015, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /** Determine the current language that will be used based on language related EFI Variables. @param LangCodesSettingRequired If required to set La...
MdeModulePkg/Universal/BdsDxe/Language.h
null
null
null
null
null
source
edk2
/** @file This module produces Boot Manager Policy protocol. Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi.h> #include <Protocol/BootManagerPolicy.h> #include <Protocol/ManagedNetwork.h> #include <Library/BaseMemoryLib.h> #inc...
MdeModulePkg/Universal/BootManagerPolicyDxe/BootManagerPolicyDxe.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-on-Disk Temp Relocation image. This external input must be validated carefully to avoid security issue like buffer overflow, integer overflow. RetrieveRelocatedCapsule()...
MdeModulePkg/Universal/CapsuleOnDiskLoadPei/CapsuleOnDiskLoadPei.c
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <PiPei.h> #include <Uefi/UefiSpec.h> #include <Ppi/Capsule.h> #include <Ppi/LoadFile.h> #include <Ppi/ReadOnlyVariable2.h> #include <Guid/CapsuleVendor.h> #inclu...
MdeModulePkg/Universal/CapsulePei/Capsule.h
null
null
null
null
null
source
edk2
/** @file Capsule update PEIM for UEFI2.0 Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR> Copyright (c) 2017, AMD Incorporated. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Capsule.h" #define DEFAULT_SG_LIST_HEADS (20) #ifdef MDE_CPU_IA32 // // Glob...
MdeModulePkg/Universal/CapsulePei/UefiCapsule.c
null
null
null
null
null
source
edk2
/** @file The logic to process capsule. Caution: This module requires additional review when modified. This driver will have external input - capsule image. This external input must be validated carefully to avoid security issue like buffer overflow, integer overflow. CapsuleDataCoalesce() will do basic v...
MdeModulePkg/Universal/CapsulePei/Common/CapsuleCoalesce.c
null
null
null
null
null
source
edk2
/** @file Common header file. Copyright (c) 2011 - 2016, Intel Corporation. All rights reserved.<BR> Copyright (c) 2017, AMD Incorporated. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once // // 8 extra pages for PF handler. // #define EXTRA_PAGE_TABLE_PAGES 8 #define PAGIN...
MdeModulePkg/Universal/CapsulePei/Common/CommonHeader.h
null
null
null
null
null
source
edk2
/** @file The X64 entrypoint is used to process capsule in long mode. Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR> Copyright (c) 2017, AMD Incorporated. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Library/DebugLib.h> #include <Library/BaseMemoryLib...
MdeModulePkg/Universal/CapsulePei/X64/X64Entry.c
null
null
null
null
null
source
edk2
/** @file Flush the cache is required for most architectures while do capsule update. It is not support at Runtime. Copyright (c) 2018, Linaro, Ltd. All rights reserved.<BR> Copyright (c) 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "CapsuleSe...
MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleCache.c
null
null
null
null
null
source
edk2
/** @file Null function version of cache function. Copyright (c) 2018, Linaro, Ltd. All rights reserved.<BR> Copyright (c) 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "CapsuleService.h" #include <Library/CacheMaintenanceLib.h> /** Writes Ba...
MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleCacheNull.c
null
null
null
null
null
source
edk2
/** @file Default implementation of architecture specific routines related to PersistAcrossReset capsules Copyright (c) 2018, Linaro, Ltd. All rights reserved.<BR> Copyright (c) 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "CapsuleService.h" ...
MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleReset.c
null
null
null
null
null
source
edk2
/** @file Capsule Runtime Driver produces two UEFI capsule runtime services. (UpdateCapsule, QueryCapsuleCapabilities) It installs the Capsule Architectural Protocol defined in PI1.0a to signify the capsule runtime services are ready. Copyright (c) 2006 - 2020, Intel Corporation. All rights reserved.<BR> SPDX-...
MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleService.c
null
null
null
null
null
source
edk2
/** @file Capsule Runtime Driver produces two UEFI capsule runtime services. (UpdateCapsule, QueryCapsuleCapabilities) It installs the Capsule Architectural Protocol defined in PI1.0a to signify the capsule runtime services are ready. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> C...
MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleService.h
null
null
null
null
null
source
edk2
/** @file Create the NULL function to pass build in IA32/IPF/EBC. Copyright (c) 2011, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi.h> /** Only when PEI is IA32 and DXE is X64, we need transfer to long mode in PEI in order to process capsule data a...
MdeModulePkg/Universal/CapsuleRuntimeDxe/SaveLongModeContext.c
null
null
null
null
null
source
edk2
/** @file ARM implementation of architecture specific routines related to PersistAcrossReset capsules Copyright (c) 2018, Linaro, Ltd. All rights reserved.<BR> Copyright (c) 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "CapsuleService.h" /** ...
MdeModulePkg/Universal/CapsuleRuntimeDxe/Arm/CapsuleReset.c
null
null
null
null
null
source
edk2
/** @file Create the variable to save the base address of page table and stack for transferring into long mode in IA32 capsule PEI. Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi.h> #include <Protocol/Capsule.h> #include <Pr...
MdeModulePkg/Universal/CapsuleRuntimeDxe/X64/SaveLongModeContext.c
null
null
null
null
null
source
edk2
/** @file UEFI Component Name(2) protocol implementation for ConPlatform driver. Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "ConPlatform.h" // // EFI Component Name Protocol // GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PR...
MdeModulePkg/Universal/Console/ConPlatformDxe/ComponentName.c
null
null
null
null
null
source
edk2
/** @file Console Platform DXE Driver, install Console Device Guids and update Console Environment Variables. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "ConPlatform.h" EFI_DRIVER_BINDING_PROTOCOL gConPlatformTextInDriverBind...
MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatform.c
null
null
null
null
null
source
edk2
/** @file Header file for Console Platfrom DXE Driver. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Uefi.h> #include <Protocol/SimpleTextOut.h> #include <Protocol/DevicePath.h> #include <Protocol/SimpleTextIn.h> #in...
MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatform.h
null
null
null
null
null
source
edk2
/** @file UEFI Component Name(2) protocol implementation for ConSplitter driver. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "ConSplitter.h" // // EFI Component Name Protocol // GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PR...
MdeModulePkg/Universal/Console/ConSplitterDxe/ComponentName.c
null
null
null
null
null
source
edk2
/** @file Console Splitter Driver. Any Handle that attached console I/O protocols (Console In device, Console Out device, Console Error device, Simple Pointer protocol, Absolute Pointer protocol) can be bound by this driver. So far it works like any other driver by opening a SimpleTextIn and/or SimpleTextOut...
MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.c
null
null
null
null
null
source
edk2
/** @file Private data structures for the Console Splitter driver Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Uefi.h> #include <PiDxe.h> #include <Protocol/DevicePath.h> #include <Protocol/ComponentName.h> #include...
MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.h
null
null
null
null
null
source
edk2
/** @file Support for Graphics output spliter. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "ConSplitter.h" CHAR16 mCrLfString[3] = { CHAR_CARRIAGE_RETURN, CHAR_LINEFEED, CHAR_NULL }; /** Returns information for an available ...
MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterGraphics.c
null
null
null
null
null
source
edk2
/** @file UEFI Component Name(2) protocol implementation for GraphicsConsole driver. Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "GraphicsConsole.h" // // EFI Component Name Protocol // GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT...
MdeModulePkg/Universal/Console/GraphicsConsoleDxe/ComponentName.c
null
null
null
null
null
source
edk2
/** @file This is the main routine for initializing the Graphics Console support routines. Copyright (c) 2006 - 2022, Intel Corporation. All rights reserved.<BR> Copyright (c) 2025, Loongson Technology Corporation Limited. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Graphics...
MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsole.c
null
null
null
null
null
source
edk2
/** @file Header file for GraphicsConsole driver. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Uefi.h> #include <Protocol/SimpleTextOut.h> #include <Protocol/GraphicsOutput.h> #include <Protocol/DevicePath.h> #includ...
MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsole.h
null
null
null
null
null
source
edk2
/** @file Narrow font Data definition for GraphicsConsole driver. Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "GraphicsConsole.h" EFI_NARROW_GLYPH gUsStdNarrowGlyphData[] = { // // Unicode glyphs from 0x20 to 0x7e are the sa...
MdeModulePkg/Universal/Console/GraphicsConsoleDxe/LaffStd.c
null
null
null
null
null
source
edk2
/** @file UEFI Component Name(2) protocol implementation for the generic GOP driver. Copyright (c) 2016, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiDxe.h> #include <Library/UefiLib.h> extern EFI_COMPONENT_NAME_PROTOCOL mGraphicsOutputComponentName; ...
MdeModulePkg/Universal/Console/GraphicsOutputDxe/ComponentName.c
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...
MdeModulePkg/Universal/Console/GraphicsOutputDxe/GraphicsOutput.c
null
null
null
null
null
source
edk2
/** @file Header file for a generic GOP driver. 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 <IndustryStandard/Acpi.h> #include <Guid/GraphicsInfoHob.h> #include <Protoc...
MdeModulePkg/Universal/Console/GraphicsOutputDxe/GraphicsOutput.h
null
null
null
null
null
source
edk2
/** @file Implementation of translation upon PC ANSI. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> Copyright (c) 2025, Loongson Technology Corporation Limited. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Terminal.h" /** Translate all raw data in ...
MdeModulePkg/Universal/Console/TerminalDxe/Ansi.c
null
null
null
null
null
source
edk2
/** @file UEFI Component Name(2) protocol implementation for Terminal driver. Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Terminal.h" // // EFI Component Name Protocol // GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL...
MdeModulePkg/Universal/Console/TerminalDxe/ComponentName.c
null
null
null
null
null
source
edk2
/** @file Produces Simple Text Input Protocol, Simple Text Input Extended Protocol and Simple Text Output Protocol upon Serial IO Protocol. Copyright (C) 2025 Advanced Micro Devices, Inc. All rights reserved.<BR> Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-...
MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c
null
null
null
null
null
source
edk2
/** @file Header file for Terminal driver. Copyright (C) 2025 Advanced Micro Devices, Inc. All rights reserved.<BR> Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR> Copyright (C) 2016 Silicon Graphics, Inc. All rights reserved.<BR> Copyright (c) 2025, Loongson Technology Corporation Limited. Al...
MdeModulePkg/Universal/Console/TerminalDxe/Terminal.h
null
null
null
null
null
source
edk2
/** @file Implementation for EFI_SIMPLE_TEXT_INPUT_PROTOCOL protocol. (C) Copyright 2014 Hewlett-Packard Development Company, L.P.<BR> Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR> Copyright (C) 2016 Silicon Graphics, Inc. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent...
MdeModulePkg/Universal/Console/TerminalDxe/TerminalConIn.c
null
null
null
null
null
source
edk2
/** @file Implementation for EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL protocol. Copyright (C) 2025 Advanced Micro Devices, Inc. All rights reserved.<BR> Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> Copyright (C) 2016 Silicon Graphics, Inc. All rights reserved.<BR> Copyright (c) 2025, Loongson Techno...
MdeModulePkg/Universal/Console/TerminalDxe/TerminalConOut.c
null
null
null
null
null
source
edk2
/** @file Implementation of translation upon VT-UTF8. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Terminal.h" /** Translate all VT-UTF8 characters in the Raw FIFI into unicode characters, and insert them into Unicode FIFO. ...
MdeModulePkg/Universal/Console/TerminalDxe/Vtutf8.c
null
null
null
null
null
source
edk2
/** @file UEFI Component Name(2) protocol implementation for DebugPort driver. Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "DebugPort.h" // // EFI Component Name Protocol // GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOC...
MdeModulePkg/Universal/DebugPortDxe/ComponentName.c
null
null
null
null
null
source
edk2
/** @file Top level C file for debugport driver. Contains initialization function. This driver layers on top of SerialIo. ALL CODE IN THE SERIALIO STACK MUST BE RE-ENTRANT AND CALLABLE FROM INTERRUPT CONTEXT Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-...
MdeModulePkg/Universal/DebugPortDxe/DebugPort.c
null
null
null
null
null
source
edk2
/** @file Definitions and prototypes for DebugPort driver. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Uefi.h> #include <Protocol/DevicePath.h> #include <Protocol/ComponentName.h> #include <Protocol/DriverBinding.h...
MdeModulePkg/Universal/DebugPortDxe/DebugPort.h
null
null
null
null
null
source
edk2
/** @file Header file of Debug services instances. Copyright (c) 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Ppi/Debug.h> /** Print a debug message to debug output device if the specified error level is enabled. @param[in] ...
MdeModulePkg/Universal/DebugServicePei/DebugService.h
null
null
null
null
null
source
edk2
/** @file This driver installs gEdkiiDebugPpiGuid PPI to provide debug services for PEIMs. Copyright (c) 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi/UefiBaseType.h> #include <Library/PeimEntryPoint.h> #include <Library/PeiServicesLib.h> #...
MdeModulePkg/Universal/DebugServicePei/DebugServicePei.c
null
null
null
null
null
source
edk2
/** @file Top level C file for debug support driver. Contains initialization function. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "PlDebugSupport.h" EFI_DEBUG_SUPPORT_PROTOCOL mDebugSupportProtocolInterface = { EFI_ISA, Ge...
MdeModulePkg/Universal/DebugSupportDxe/DebugSupport.c
null
null
null
null
null
source
edk2
/** @file Generic debug support macros, typedefs and prototypes for IA32/x64. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Uefi.h> #include <Protocol/DebugSupport.h> #include <Protocol/LoadedImage.h> #include <Libr...
MdeModulePkg/Universal/DebugSupportDxe/Ia32/DebugSupport.h
null
null
null
null
null
source
edk2
/** @file IA32/x64 generic functions to support Debug Support protocol. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "DebugSupport.h" // // This the global main table to keep track of the interrupts // IDT_ENTRY *IdtEntryTable = ...
MdeModulePkg/Universal/DebugSupportDxe/Ia32/PlDebugSupport.c
null
null
null
null
null
source
edk2
/** @file IA32 specific debug support macros, typedefs and prototypes. 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 IsaIa32
MdeModulePkg/Universal/DebugSupportDxe/Ia32/PlDebugSupport.h
null
null
null
null
null