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 RNG Driver to produce the UEFI Random Number Generator protocol. The driver uses CPU RNG instructions to produce high-quality, high-performance entropy and random number. RNG Algorithms defined in UEFI 2.4: - EFI_RNG_ALGORITHM_SP800_90_CTR_256_GUID - EFI_RNG_ALGORITHM_RAW - EFI_RNG_ALGORITH...
SecurityPkg/RandomNumberGenerator/RngDxe/RngDxe.c
null
null
null
null
null
source
edk2
/** @file Function prototypes for UEFI Random Number Generator protocol support. Copyright (c) 2021, NUVIA Inc. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Protocol/Rng.h> // // Array containing the validated Rng algorithm. // The entry with the lowest in...
SecurityPkg/RandomNumberGenerator/RngDxe/RngDxeInternals.h
null
null
null
null
null
source
edk2
/** @file Aarch64 specific code. Copyright (c) 2022, Arm Limited. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Library/BaseLib.h> #include <Library/BaseMemoryLib.h> #include <Library/DebugLib.h> #include <Library/MemoryAllocationLib.h> #include <Library/ArmTrngLib.h> #incl...
SecurityPkg/RandomNumberGenerator/RngDxe/AArch64/AArch64Algo.c
null
null
null
null
null
source
edk2
/** @file Core Primitive Implementation of the Advanced Encryption Standard (AES) algorithm. Refer to FIPS PUB 197 ("Advanced Encryption Standard (AES)") for detailed algorithm description of AES. Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent ...
SecurityPkg/RandomNumberGenerator/RngDxe/Rand/AesCore.c
null
null
null
null
null
source
edk2
/** @file Function prototype for AES Block Cipher support. Copyright (c) 2013, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /** Encrypts one single block data (128 bits) with AES algorithm. @param[in] Key AES symmetric key buffer. ...
SecurityPkg/RandomNumberGenerator/RngDxe/Rand/AesCore.h
null
null
null
null
null
source
edk2
/** @file Support routines for RDRAND instruction access, which will leverage Intel Secure Key technology to provide high-quality random numbers for use in applications, or entropy for seeding other random number generators. Refer to http://software.intel.com/en-us/articles/intel-digital-random-number -genera...
SecurityPkg/RandomNumberGenerator/RngDxe/Rand/RdRand.c
null
null
null
null
null
source
edk2
/** @file RNG Driver to produce the UEFI Random Number Generator protocol. The driver will use the new RDRAND instruction to produce high-quality, high-performance entropy and random number. RNG Algorithms defined in UEFI 2.4: - EFI_RNG_ALGORITHM_SP800_90_CTR_256_GUID - Supported (RDRAND implements a...
SecurityPkg/RandomNumberGenerator/RngDxe/Rand/RngDxe.c
null
null
null
null
null
source
edk2
/** @file RNG Driver to produce the Random Number Generator PPI. The driver uses a platform provided RNG service to produce random numbers. Copyright (c) Microsoft Corporation. Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.<BR> (C) Copyright 2015 Hewlett Packard Enterprise Development LP...
SecurityPkg/RandomNumberGenerator/RngPei/RngPei.c
null
null
null
null
null
source
edk2
/** @file TCG MOR (Memory Overwrite Request) Control Driver. This driver initialize MemoryOverwriteRequestControl variable. It will clear MOR_CLEAR_MEMORY_BIT bit if it is set. It will also do TPer Reset for those encrypted drives through EFI_STORAGE_SECURITY_COMMAND_PROTOCOL at EndOfDxe. Copyright (c) 2009 -...
SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.c
null
null
null
null
null
source
edk2
/** @file The header file for TcgMor. Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <PiDxe.h> #include <Guid/MemoryOverwriteControl.h> #include <Library/UefiDriverEntryPoint.h> #include <Library/UefiBootServicesTable...
SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.h
null
null
null
null
null
source
edk2
/** @file TCG MOR (Memory Overwrite Request) Lock Control Driver. This driver initializes MemoryOverwriteRequestControlLock variable. This module will add Variable Hook and allow MemoryOverwriteRequestControlLock variable set only once. Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR> SPDX...
SecurityPkg/Tcg/MemoryOverwriteRequestControlLock/TcgMorLock.c
null
null
null
null
null
source
edk2
/** @file TCG MOR (Memory Overwrite Request) Lock Control Driver header file. Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /** This service is a wrapper for the UEFI Runtime Service GetVariable(). @param VariableName th...
SecurityPkg/Tcg/MemoryOverwriteRequestControlLock/TcgMorLock.h
null
null
null
null
null
source
edk2
/** @file TCG MOR (Memory Overwrite Request) Lock Control Driver SMM wrapper. Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiSmm.h> #include <Library/SmmServicesTableLib.h> #include <Library/DebugLib.h> #include <Protocol/SmmVarC...
SecurityPkg/Tcg/MemoryOverwriteRequestControlLock/TcgMorLockSmm.c
null
null
null
null
null
source
edk2
/** @file UEFI Component Name(2) protocol implementation for Opal driver. Copyright (c) 2016, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "OpalDriver.h" // // EFI Component Name Protocol // GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL gOpalCo...
SecurityPkg/Tcg/Opal/OpalPassword/ComponentName.c
null
null
null
null
null
source
edk2
/** @file Entrypoint of Opal UEFI Driver and contains all the logic to register for new Opal device instances. Copyright (C) 2025 Advanced Micro Devices, Inc. All rights reserved.<BR> Copyright (c) 2016 - 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ // This U...
SecurityPkg/Tcg/Opal/OpalPassword/OpalDriver.c
null
null
null
null
null
source
edk2
/** @file Values defined and used by the Opal UEFI Driver. Copyright (c) 2016 - 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <PiDxe.h> #include <IndustryStandard/Pci.h> #include <Protocol/PciIo.h> #include <Protocol/SmmCommunication.h> ...
SecurityPkg/Tcg/Opal/OpalPassword/OpalDriver.h
null
null
null
null
null
source
edk2
/** @file Implementation of the HII for the Opal UEFI Driver. Copyright (c) 2016 - 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "OpalHii.h" // // Character definitions // #define UPPER_LOWER_CASE_OFFSET 0x20 // // This is the generated IFR binary Dat...
SecurityPkg/Tcg/Opal/OpalPassword/OpalHii.c
null
null
null
null
null
source
edk2
/** @file Public Header file of HII library used by Opal UEFI Driver. Defines required callbacks of Opal HII library. Copyright (c) 2016 - 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Protocol/HiiConfigAccess.h> #include "OpalDriver.h...
SecurityPkg/Tcg/Opal/OpalPassword/OpalHii.h
null
null
null
null
null
source
edk2
/** @file Callbacks required by the HII of the Opal UEFI Driver to help display Opal device information. Copyright (c) 2016 - 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "OpalHii.h" /** Get the driver image handle. @retval the driver image ha...
SecurityPkg/Tcg/Opal/OpalPassword/OpalHiiCallbacks.c
null
null
null
null
null
source
edk2
/** @file Defines Opal HII form ids, structures and values. Copyright (c) 2016 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once // ID's for various forms that will be used by HII #define FORMID_VALUE_MAIN_MENU 0x01 #define FORMID_VALUE_DI...
SecurityPkg/Tcg/Opal/OpalPassword/OpalHiiFormValues.h
null
null
null
null
null
source
edk2
/** @file Opal Password common header file. Copyright (c) 2018 - 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #define OPAL_MAX_PASSWORD_SIZE 32 #define OPAL_DEVICE_TYPE_UNKNOWN 0x0 #define OPAL_DEVICE_TYPE_ATA 0x1 #define OPAL_DEVICE_TYPE_...
SecurityPkg/Tcg/Opal/OpalPassword/OpalPasswordCommon.h
null
null
null
null
null
source
edk2
/** @file Opal Password PEI driver which is used to unlock Opal Password for S3. Copyright (c) 2016 - 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "OpalPasswordPei.h" EFI_GUID mOpalDeviceLockBoxGuid = OPAL_DEVICE_LOCKBOX_GUID; /** Send a security ...
SecurityPkg/Tcg/Opal/OpalPassword/OpalPasswordPei.c
null
null
null
null
null
source
edk2
/** @file Opal Password PEI driver which is used to unlock Opal Password for S3. Copyright (c) 2016 - 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <PiPei.h> #include <Library/DebugLib.h> #include <Library/IoLib.h> #include <Library/PciLi...
SecurityPkg/Tcg/Opal/OpalPassword/OpalPasswordPei.h
null
null
null
null
null
source
edk2
/** @file This driver produces PEI_LOCK_PHYSICAL_PRESENCE_PPI to indicate whether TPM need be locked or not. It can be replaced by a platform specific driver. Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiPei.h> #include <Ppi...
SecurityPkg/Tcg/PhysicalPresencePei/PhysicalPresencePei.c
null
null
null
null
null
source
edk2
/** @file This driver implements TPM 2.0 definition block in ACPI table and populates registered SMI callback functions for Tcg2 physical presence and MemoryClear to handle the requests for ACPI method. It needs to be used together with Tcg2 MM drivers to exchange information on registered SwSmiValue and allo...
SecurityPkg/Tcg/Tcg2Acpi/Tcg2Acpi.c
null
null
null
null
null
source
edk2
/** @file This driver implements TPM 2.0 definition block in ACPI table and populates registered MMI callback functions for Tcg2 physical presence to handle the requests for ACPI method. It needs to be used together with Tcg2 MM drivers to handle the physical presence requests. Note: The use of this driver i...
SecurityPkg/Tcg/Tcg2AcpiFfa/Tcg2AcpiFfa.c
null
null
null
null
null
source
edk2
/** @file The module entry point for Tcg2 configuration module. Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Tcg2ConfigImpl.h" extern TPM_INSTANCE_ID mTpmInstanceId[TPM_DEVICE_MAX + 1]; /** Update default PCR banks data. @...
SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDriver.c
null
null
null
null
null
source
edk2
/** @file Set TPM device type This module initializes the TPM device type based on a CRB over FF-A interface Copyright (C) 2025, Arm Ltd. SPDX-License-Identifier: BSD-2-Clause-Patent @par Reference(s): - https://developer.arm.com/documentation/den0138/latest/ **/ #include <PiPei.h> #include <Guid/...
SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigFfaPeim.c
null
null
null
null
null
source
edk2
/** @file HII Config Access protocol implementation of TCG2 configuration module. NOTE: This module is only for reference only, each platform should have its own setup page. Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR> (C) Copyright 2018 Hewlett Packard Enterprise Development LP<BR> SPDX-...
SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigImpl.c
null
null
null
null
null
source
edk2
/** @file The header file of HII Config Access protocol implementation of TCG2 configuration module. Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Uefi.h> #include <IndustryStandard/Tpm2Acpi.h> #include <Protocol/...
SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigImpl.h
null
null
null
null
null
source
edk2
/** @file Header file for NV data structure definition. Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Guid/HiiPlatformSetupFormset.h> #include <Guid/Tcg2ConfigHii.h> #include <IndustryStandard/TcgPhysicalPresence.h> ...
SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigNvData.h
null
null
null
null
null
source
edk2
/** @file The module entry point for Tcg2 configuration module. Copyright (c) 2015 - 2024, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiPei.h> #include <Guid/TpmInstance.h> #include <Guid/Tcg2AcpiCommunicateBuffer.h> #include <Guid/TpmNvsMm.h> #include ...
SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigPeim.c
null
null
null
null
null
source
edk2
/** @file The internal header file defines the common structures for PEI and DXE modules. Copyright (c) 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #define EFI_TCG2_EVENT_LOG_FORMAT_DEFAULT EFI_TCG2_EVENT_LOG_FORMAT_TCG_1_2 #define EFI_TCG2_EVEN...
SecurityPkg/Tcg/Tcg2Config/Tcg2Internal.h
null
null
null
null
null
source
edk2
/** @file TPM1.2/dTPM2.0 auto detection. Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiPei.h> #include <Ppi/ReadOnlyVariable2.h> #include <Library/BaseLib.h> #include <Library/BaseMemoryLib.h> #include <Library/DebugLib.h> #incl...
SecurityPkg/Tcg/Tcg2Config/TpmDetection.c
null
null
null
null
null
source
edk2
/** @file This module implements measuring PeCoff image for Tcg2 Protocol. Caution: This file requires additional review when modified. This driver will have external input - PE/COFF image. This external input must be validated carefully to avoid security issue like buffer overflow, integer overflow. Copyri...
SecurityPkg/Tcg/Tcg2Dxe/MeasureBootPeCoff.c
null
null
null
null
null
source
edk2
/** @file This module implements Tcg2 Protocol. Copyright (c) 2015 - 2024, Intel Corporation. All rights reserved.<BR> (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiDxe.h> #include <IndustryStandard/Acpi.h> #include <IndustryStandard/P...
SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c
null
null
null
null
null
source
edk2
/** @file Initialize TPM2 device and measure FVs before handing off control to DXE. Copyright (c) 2015 - 2021, Intel Corporation. All rights reserved.<BR> Copyright (c) 2017, Microsoft Corporation. All rights reserved. <BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiPei.h> #include <IndustrySta...
SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.c
null
null
null
null
null
source
edk2
/** @file Platform specific TPM2 component for configuring the Platform Hierarchy. Copyright (c) 2017 - 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiDxe.h> #include <Library/DebugLib.h> #include <Library/UefiBootServicesTableLib.h> #include <Li...
SecurityPkg/Tcg/Tcg2PlatformDxe/Tcg2PlatformDxe.c
null
null
null
null
null
source
edk2
/** @file Configure TPM 2 platform hierarchy on TPM state resume failure on S3 resume Copyright (c) 2017, Intel Corporation. All rights reserved.<BR> Copyright (c) Microsoft Corporation.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiPei.h> #include <Library/PeiServicesLib.h> #include <Library/De...
SecurityPkg/Tcg/Tcg2PlatformPei/Tcg2PlatformPei.c
null
null
null
null
null
source
edk2
/** @file Runtime DXE part corresponding to StandaloneMM Tcg2 module. This module installs gTcg2MmSwSmiRegisteredGuid to notify readiness of StandaloneMM Tcg2 module. Copyright (c) 2019 - 2021, Arm Ltd. All rights reserved. Copyright (c) Microsoft Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #in...
SecurityPkg/Tcg/Tcg2Smm/Tcg2MmDependencyDxe.c
null
null
null
null
null
source
edk2
/** @file It updates TPM2 items in ACPI table and registers SMI2 callback functions for Tcg2 physical presence, ClearMemory, and sample for dTPM StartMethod. Caution: This module requires additional review when modified. This driver will have external input - variable and ACPINvs data in SMM mode. This ext...
SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.c
null
null
null
null
null
source
edk2
/** @file The header file for Tcg2 SMM driver. Copyright (c) 2015 - 2024, Intel Corporation. All rights reserved.<BR> Copyright (c) Microsoft Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <PiMm.h> #include <Guid/MemoryOverwriteControl.h> #include <Guid/TpmInstance.h> #includ...
SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.h
null
null
null
null
null
source
edk2
/** @file TCG2 Standalone MM driver that updates TPM2 items in ACPI table and registers SMI2 callback functions for Tcg2 physical presence, ClearMemory, and sample for dTPM StartMethod. Caution: This module requires additional review when modified. This driver will have external input - variable and ACPINvs ...
SecurityPkg/Tcg/Tcg2Smm/Tcg2StandaloneMm.c
null
null
null
null
null
source
edk2
/** @file TCG2 SMM driver that updates TPM2 items in ACPI table and registers SMI2 callback functions for Tcg2 physical presence, ClearMemory, and sample for dTPM StartMethod. Caution: This module requires additional review when modified. This driver will have external input - variable and ACPINvs data in SM...
SecurityPkg/Tcg/Tcg2Smm/Tcg2TraditionalMm.c
null
null
null
null
null
source
edk2
/** @file TCG2 Standalone MM driver that updates TPM2 items in ACPI table and registers SMI2 callback functions for Tcg2 physical presence, ClearMemory, and sample for dTPM StartMethod. Caution: This module requires additional review when modified. This driver will have external input - variable and ACPINvs ...
SecurityPkg/Tcg/Tcg2StandaloneMmArm/Tcg2StandaloneMmArm.c
null
null
null
null
null
source
edk2
/** @file The module entry point for Tcg configuration module. Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "TcgConfigImpl.h" #include <Guid/TpmInstance.h> /** The entry point for Tcg configuration driver. @param[in] ImageHa...
SecurityPkg/Tcg/TcgConfigDxe/TcgConfigDriver.c
null
null
null
null
null
source
edk2
/** @file HII Config Access protocol implementation of TCG configuration module. Copyright (c) 2011 - 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "TcgConfigImpl.h" CHAR16 mTcgStorageName[] = L"TCG_CONFIGURATION"; TCG_CONFIG_PRIVATE_DATA mTcgConfig...
SecurityPkg/Tcg/TcgConfigDxe/TcgConfigImpl.c
null
null
null
null
null
source
edk2
/** @file The header file of HII Config Access protocol implementation of TCG configuration module. Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Uefi.h> #include <Protocol/HiiConfigAccess.h> #include <Protocol/Hii...
SecurityPkg/Tcg/TcgConfigDxe/TcgConfigImpl.h
null
null
null
null
null
source
edk2
/** @file Header file for NV data structure definition. Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Guid/HiiPlatformSetupFormset.h> #include <Guid/PhysicalPresenceData.h> #include <Guid/TcgConfigHii.h> #define TCG_...
SecurityPkg/Tcg/TcgConfigDxe/TcgConfigNvData.h
null
null
null
null
null
source
edk2
/** @file This module implements TCG EFI Protocol. Caution: This module requires additional review when modified. This driver will have external input - TcgDxePassThroughToTpm This external input must be validated carefully to avoid security issue like buffer overflow, integer overflow. TcgDxePassThroughToTpm() wil...
SecurityPkg/Tcg/TcgDxe/TcgDxe.c
null
null
null
null
null
source
edk2
/** @file Initialize TPM device and measure FVs before handing off control to DXE. Copyright (c) 2005 - 2020, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <PiPei.h> #include <IndustryStandard/Tpm12.h> #include <IndustryStandard/UefiTcgPlatform.h> #include <...
SecurityPkg/Tcg/TcgPei/TcgPei.c
null
null
null
null
null
source
edk2
/** @file It updates TPM items in ACPI table and registers SMI callback functions for physical presence and ClearMemory. Caution: This module requires additional review when modified. This driver will have external input - variable and ACPINvs data in SMM mode. This external input must be validated carefully...
SecurityPkg/Tcg/TcgSmm/TcgSmm.c
null
null
null
null
null
source
edk2
/** @file The header file for TCG SMM driver. Copyright (c) 2012 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <PiDxe.h> #include <IndustryStandard/Acpi.h> #include <IndustryStandard/UefiTcgPlatform.h> #include <Guid/PhysicalPresenceDat...
SecurityPkg/Tcg/TcgSmm/TcgSmm.h
null
null
null
null
null
source
edk2
/** @file Google Test mocks for PlatformPKProtectionLib Copyright (c) 2022, 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/Platform...
SecurityPkg/Test/Mock/Include/GoogleTest/Library/MockPlatformPKProtectionLib.h
null
null
null
null
null
source
edk2
/** @file Google Test mocks for PlatformPKProtectionLib Copyright (c) 2022, Intel Corporation. All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <GoogleTest/Library/MockPlatformPKProtectionLib.h> MOCK_INTERFACE_DEFINITION (MockPlatformPKProtectionLib); MOCK_FUNCTION_DEFINITION (Moc...
SecurityPkg/Test/Mock/Library/GoogleTest/MockPlatformPKProtectionLib/MockPlatformPKProtectionLib.cpp
null
null
null
null
null
source
edk2
/** @file Internal function defines the default device path string for SecureBoot configuration module. Copyright (c) 2012 - 2013, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "SecureBootConfigImpl.h" /** This function converts an input device structure t...
SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDevicePath.c
null
null
null
null
null
source
edk2
/** @file The module entry point for SecureBoot configuration module. Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "SecureBootConfigImpl.h" /** The entry point for SecureBoot configuration driver. @param[in] ImageHandle ...
SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDriver.c
null
null
null
null
null
source
edk2
/** @file Internal file explorer functions for SecureBoot configuration module. Copyright (c) 2012 - 2016, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "SecureBootConfigImpl.h" VOID *mStartOpCodeHandle = NULL; VOID *mEndOpCodeH...
SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigFileExplorer.c
null
null
null
null
null
source
edk2
/** @file HII Config Access protocol implementation of SecureBoot configuration module. Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved.<BR> Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR> (C) Copyright 2018 Hewlett Packard Enterprise Development LP<BR> SPDX-License-Identif...
SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c
null
null
null
null
null
source
edk2
/** @file The header file of HII Config Access protocol implementation of SecureBoot configuration module. Copyright (c) 2011 - 2017, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Uefi.h> #include <Protocol/HiiConfigAccess.h> #include <Proto...
SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.h
null
null
null
null
null
source
edk2
/** @file Helper functions for SecureBoot configuration module. Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "SecureBootConfigImpl.h" /** Read file content into BufferPtr, the size of the allocate buffer is *FileSize plus Addi...
SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigMisc.c
null
null
null
null
null
source
edk2
/** @file Header file for NV data structure definition. Copyright (c) 2011 - 2017, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Guid/HiiPlatformSetupFormset.h> #include <Guid/SecureBootConfigHii.h> // // Used by VFR for form or button identif...
SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigNvData.h
null
null
null
null
null
source
edk2
/** @file This driver init default Secure Boot variables Copyright (c) 2021, ARM Ltd. All rights reserved.<BR> Copyright (c) 2021, Semihalf All rights reserved.<BR> Copyright (c) 2021, Ampere Computing LLC. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Guid/AuthenticatedVariabl...
SecurityPkg/VariableAuthenticated/SecureBootDefaultKeysDxe/SecureBootDefaultKeysDxe.c
null
null
null
null
null
source
edk2
/** @file Main file for AcpiViewApp application Copyright (c) 2020, ARM Limited. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Library/BaseLib.h> #include <Library/UefiBootServicesTableLib.h> #include <Library/UefiLib.h> #include <Library/ShellLib.h> #include <Library/AcpiV...
ShellPkg/Application/AcpiViewApp/AcpiViewApp.c
null
null
null
null
null
source
edk2
/** @file Provides interface to shell console logger. (C) Copyright 2013 Hewlett-Packard Development Company, L.P.<BR> Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR> (C) Copyright 2016 Hewlett-Packard Development Company, L.P.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #inc...
ShellPkg/Application/Shell/ConsoleLogger.c
null
null
null
null
null
source
edk2
/** @file Provides interface to shell console logger. Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include "Shell.h" #define CONSOLE_LOGGER_PRIVATE_DATA_SIGNATURE SIGNATURE_32 ('c', 'o', 'P', 'D') typedef struct _CONSOL...
ShellPkg/Application/Shell/ConsoleLogger.h
null
null
null
null
null
source
edk2
/** @file Function definitions for shell simple text in and out on top of file handles. (C) Copyright 2013 Hewlett-Packard Development Company, L.P.<BR> Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Shell.h" extern BOOLEAN ...
ShellPkg/Application/Shell/ConsoleWrappers.c
null
null
null
null
null
source
edk2
/** @file Function definitions for shell simple text in and out on top of file handles. (C) Copyright 2013 Hewlett-Packard Development Company, L.P.<BR> Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /** Function to crea...
ShellPkg/Application/Shell/ConsoleWrappers.h
null
null
null
null
null
source
edk2
/** @file internal worker functions for FileHandleWrappers to use Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /** Move the cursor position one character backward. @param[in] LineLength Length of a line. Get it ...
ShellPkg/Application/Shell/FileHandleInternal.h
null
null
null
null
null
source
edk2
/** @file EFI_FILE_PROTOCOL wrappers for other items (Like Environment Variables, StdIn, StdOut, StdErr, etc...). Copyright 2016 Dell Inc. Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR> (C) Copyright 2013 Hewlett-Packard Development Company, L.P.<BR> SPDX-License-Identifier: BSD-2-C...
ShellPkg/Application/Shell/FileHandleWrappers.c
null
null
null
null
null
source
edk2
/** @file EFI_FILE_PROTOCOL wrappers for other items (Like Environment Variables, StdIn, StdOut, StdErr, etc...) Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once typedef struct { LIST_ENTRY Link; CHAR16 *Buffer; ...
ShellPkg/Application/Shell/FileHandleWrappers.h
null
null
null
null
null
source
edk2
/** @file This is THE shell (application) Copyright (c) 2009 - 2019, Intel Corporation. All rights reserved.<BR> (C) Copyright 2013-2014 Hewlett-Packard Development Company, L.P.<BR> Copyright 2015-2018 Dell Technologies.<BR> Copyright (C) 2023, Apple Inc. All rights reserved.<BR> SPDX-License-Identifier:...
ShellPkg/Application/Shell/Shell.c
null
null
null
null
null
source
edk2
/** @file function definitions for internal to shell functions. (C) Copyright 2014 Hewlett-Packard Development Company, L.P.<BR> Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Uefi.h> #include <Guid/ShellVariabl...
ShellPkg/Application/Shell/Shell.h
null
null
null
null
null
source
edk2
/** @file function declarations for shell environment functions. Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Shell.h" #define INIT_NAME_BUFFER_SIZE 128 #define INIT_DATA_BUFFER_SIZE 1024 // // The list is used to cache th...
ShellPkg/Application/Shell/ShellEnvVar.c
null
null
null
null
null
source
edk2
/** @file function definitions for shell environment functions. the following includes are required: //#include <Guid/ShellVariableGuid.h> //#include <Library/UefiRuntimeServicesTableLib.h> Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **...
ShellPkg/Application/Shell/ShellEnvVar.h
null
null
null
null
null
source
edk2
/** @file Provides interface to shell MAN file parser. Copyright (c) 2009 - 2019, Intel Corporation. All rights reserved.<BR> Copyright 2015 Dell Inc. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Shell.h" #define SHELL_MAN_HII_GUID \ { \ 0xf62ccd0c, 0x2449, 0x453c, { 0x8a, 0xcb, 0x8c, 0xc5, ...
ShellPkg/Application/Shell/ShellManParser.c
null
null
null
null
null
source
edk2
/** @file Provides interface to shell MAN file parser. Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /** This function returns the help information for the specified command. The help text will be parsed from a UEFI She...
ShellPkg/Application/Shell/ShellManParser.h
null
null
null
null
null
source
edk2
/** @file Member functions of EFI_SHELL_PARAMETERS_PROTOCOL and functions for creation, manipulation, and initialization of EFI_SHELL_PARAMETERS_PROTOCOL. (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR> Copyright (C) 2014, Red Hat, Inc. (C) Copyright 2013 Hewlett-Packard Development Company,...
ShellPkg/Application/Shell/ShellParametersProtocol.c
null
null
null
null
null
source
edk2
/** @file Member functions of EFI_SHELL_PARAMETERS_PROTOCOL and functions for creation, manipulation, and initialization of EFI_SHELL_PARAMETERS_PROTOCOL. Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include "Shell.h" ...
ShellPkg/Application/Shell/ShellParametersProtocol.h
null
null
null
null
null
source
edk2
/** @file Member functions of EFI_SHELL_PROTOCOL and functions for creation, manipulation, and initialization of EFI_SHELL_PROTOCOL. (C) Copyright 2014 Hewlett-Packard Development Company, L.P.<BR> (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR> Copyright (c) 2009 - 2018, Intel Corporation. ...
ShellPkg/Application/Shell/ShellProtocol.c
null
null
null
null
null
source
edk2
/** @file Member functions of EFI_SHELL_PROTOCOL and functions for creation, manipulation, and initialization of EFI_SHELL_PROTOCOL. (C) Copyright 2014 Hewlett-Packard Development Company, L.P.<BR> Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Pa...
ShellPkg/Application/Shell/ShellProtocol.h
null
null
null
null
null
source
edk2
TestArgv.nsh is a very simple shell script to test how the interpreter parses the parameters. It uses ShellCTestApp.efi to dump the parameters passed from the interpreter. TestArgv.log is the desired output created using "TestArgv.nsh > TestArgv.log".
ShellPkg/Application/ShellCTestApp/README.txt
null
null
null
null
null
source
edk2
/** @file This is a test application that demonstrates how to use the C-style entry point for a shell application. Copyright (c) 2009 - 2015, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi.h> #include <Library/UefiLib.h> #include <Library/DebugLib....
ShellPkg/Application/ShellCTestApp/ShellCTestApp.c
null
null
null
null
null
source
edk2
/** @file This is a simple shell application Copyright (c) 2008 - 2010, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi.h> #include <Library/UefiApplicationEntryPoint.h> #include <Library/UefiLib.h> /** as the real entry point for the application. ...
ShellPkg/Application/ShellExecTestApp/SA.c
null
null
null
null
null
source
edk2
/** @file This is a test application that demonstrates how to use the sorting functions. Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi.h> #include <Library/UefiLib.h> #include <Library/DebugLib.h> #include <Library/ShellCE...
ShellPkg/Application/ShellSortTestApp/ShellSortTestApp.c
null
null
null
null
null
source
edk2
/** @file Shell command for Displaying Performance Metrics. The Dp command reads performance data and presents it in several different formats depending upon the needs of the user. Both Trace and Measured Profiling information is processed and presented. Dp uses the "PerformanceLib" to read the measurement...
ShellPkg/DynamicCommand/DpDynamicCommand/Dp.c
null
null
null
null
null
source
edk2
/** @file Header file for 'dp' command functions. Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Uefi.h> #include <Guid/Performance.h> #include <Guid/ExtendedFirmwarePerformance.h> #include <Guid/FirmwarePerformance.h...
ShellPkg/DynamicCommand/DpDynamicCommand/Dp.h
null
null
null
null
null
source
edk2
/** @file Entrypoint of "dp" shell standalone application. Copyright (c) 2017, Intel Corporation. All rights reserved. <BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Dp.h" // // String token ID of help message text. // Shell supports to find help message in the resource section of an applicat...
ShellPkg/DynamicCommand/DpDynamicCommand/DpApp.c
null
null
null
null
null
source
edk2
/** @file Produce "dp" shell dynamic command. Copyright (c) 2017, Intel Corporation. All rights reserved. <BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Dp.h" #include <Protocol/ShellDynamicCommand.h> /** This is the shell command handler function pointer callback type. This function han...
ShellPkg/DynamicCommand/DpDynamicCommand/DpDynamicCommand.c
null
null
null
null
null
source
edk2
/** @file Declarations of objects defined internally to the Dp Application. Declarations of data and functions which are private to the Dp application. This file should never be referenced by anything other than components of the Dp application. In addition to global data, function declarations for DpUtilit...
ShellPkg/DynamicCommand/DpDynamicCommand/DpInternal.h
null
null
null
null
null
source
edk2
/** @file Trace reporting for the Dp utility. Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved. (C) Copyright 2015-2016 Hewlett Packard Enterprise Development LP<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Library/BaseLib.h> #include <Library/BaseMemoryLib.h> #include <Libr...
ShellPkg/DynamicCommand/DpDynamicCommand/DpTrace.c
null
null
null
null
null
source
edk2
/** @file Utility functions used by the Dp application. Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved. (C) Copyright 2015-2016 Hewlett Packard Enterprise Development LP<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Library/BaseLib.h> #include <Library/BaseMemoryLib.h> #inc...
ShellPkg/DynamicCommand/DpDynamicCommand/DpUtilities.c
null
null
null
null
null
source
edk2
/** @file Definitions of ASCII string literals used by DP. Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Guid/ExtendedFirmwarePerformance.h> // ASCII String literals which probably don't need translation CHAR8 const ALit_TimerL...
ShellPkg/DynamicCommand/DpDynamicCommand/Literals.c
null
null
null
null
null
source
edk2
/** @file Declarations of ASCII string literals used by DP. Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once // ASCII String literals which probably don't need translation extern CHAR8 const ALit_TimerLibError[]; extern CHAR8 ...
ShellPkg/DynamicCommand/DpDynamicCommand/Literals.h
null
null
null
null
null
source
edk2
/** @file The implementation for the 'http' Shell command. Copyright (c) 2015, ARM Ltd. All rights reserved.<BR> Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved. <BR> (C) Copyright 2015 Hewlett Packard Enterprise Development LP<BR> Copyright (c) 2020, Broadcom. All rights reserved. <BR> ...
ShellPkg/DynamicCommand/HttpDynamicCommand/Http.c
null
null
null
null
null
source
edk2
/** @file Header file for 'http' command functions. Copyright (c) 2010 - 2017, Intel Corporation. All rights reserved. <BR> Copyright (c) 2015, ARM Ltd. All rights reserved.<BR> Copyright (c) 2020, Broadcom. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <...
ShellPkg/DynamicCommand/HttpDynamicCommand/Http.h
null
null
null
null
null
source
edk2
/** @file Entrypoint of "http" shell standalone application. Copyright (c) 2010 - 2017, Intel Corporation. All rights reserved. <BR> Copyright (c) 2015, ARM Ltd. All rights reserved.<BR> Copyright (c) 2020, Broadcom. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Http.h...
ShellPkg/DynamicCommand/HttpDynamicCommand/HttpApp.c
null
null
null
null
null
source
edk2
/** @file Produce "http" shell dynamic command. Copyright (c) 2010 - 2017, Intel Corporation. All rights reserved. <BR> Copyright (c) 2015, ARM Ltd. All rights reserved.<BR> Copyright (c) 2020, Broadcom. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Protocol/ShellDynam...
ShellPkg/DynamicCommand/HttpDynamicCommand/HttpDynamicCommand.c
null
null
null
null
null
source
edk2
/** @file The implementation for the 'tftp' Shell command. Copyright (c) 2015, ARM Ltd. All rights reserved.<BR> Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved. <BR> (C) Copyright 2015 Hewlett Packard Enterprise Development LP<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include...
ShellPkg/DynamicCommand/TftpDynamicCommand/Tftp.c
null
null
null
null
null
source
edk2
/** @file Header file for 'tftp' command functions. Copyright (c) 2010 - 2017, Intel Corporation. All rights reserved. <BR> Copyright (c) 2015, ARM Ltd. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Uefi.h> #include <Protocol/HiiPackageList.h> #include <P...
ShellPkg/DynamicCommand/TftpDynamicCommand/Tftp.h
null
null
null
null
null