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
LoongArch64 MP initialize support functions for DXE phase.
Copyright (c) 2024, Loongson Technology Corporation Limited. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "MpLib.h"
#include <Library/DebugAgentLib.h>
#include <Library/UefiBootServicesTableLib.h>
#inclu... | UefiCpuPkg/Library/MpInitLib/LoongArch64/DxeMpLib.c | null | null | null | null | null |
source | edk2 | /** @file
LoongArch64 CPU MP Initialize Library common functions.
Copyright (c) 2024, Loongson Technology Corporation Limited. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "MpLib.h"
#include <Library/BaseLib.h>
#include <Register/LoongArch64/Csr.h>
#define INVALID_APIC_... | UefiCpuPkg/Library/MpInitLib/LoongArch64/MpLib.c | null | null | null | null | null |
source | edk2 | /** @file
Common header file for LoongArch MP Initialize Library.
Copyright (c) 2024, Loongson Technology Corporation Limited. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <PiPei.h>
#include <Guid/ProcessorResourceHob.h>
#include <Library/PeiServicesLib.h>
... | UefiCpuPkg/Library/MpInitLib/LoongArch64/MpLib.h | null | null | null | null | null |
source | edk2 | /** @file
LoongArch64 MP initialize support functions for PEI phase.
Copyright (c) 2024, Loongson Technology Corporation Limited. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "MpLib.h"
/**
Enable Debug Agent to support source debugging on AP function.
**/
VOID
EnableDe... | UefiCpuPkg/Library/MpInitLib/LoongArch64/PeiMpLib.c | null | null | null | null | null |
source | edk2 | /** @file
AMD SEV helper function.
Copyright (c) 2021 - 2024, AMD Incorporated. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "MpLib.h"
#include <Library/CcExitLib.h>
#include <Library/AmdSvsmLib.h>
#include <Register/Amd/SevSnpMsr.h>
#include <Register/Amd/Ghcb.h>
#defi... | UefiCpuPkg/Library/MpInitLib/X64/AmdSev.c | null | null | null | null | null |
source | edk2 | /** @file
Function to create page table.
Only create page table for x64, and leave the CreatePageTable empty for Ia32.
Copyright (c) 2023, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Library/CpuPageTableLib.h>
#include <Library/MemoryAllocationLib.h>
#i... | UefiCpuPkg/Library/MpInitLib/X64/CreatePageTable.c | null | null | null | null | null |
source | edk2 | /** @file
Multiple-Processor initialization Library for uniprocessor platforms.
Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <PiDxe.h>
#include <Ppi/SecPlatformInformation.h>
#include <Protocol/MpService.h>
#include <Library/DebugLib.... | UefiCpuPkg/Library/MpInitLibUp/MpInitLibUp.c | null | null | null | null | null |
source | edk2 | /** @file
MTRR setting library
@par Note:
Most of services in this library instance are suggested to be invoked by BSP only,
except for MtrrSetAllMtrrs() which is used to sync BSP's MTRR setting to APs.
Copyright (c) 2008 - 2023, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD... | UefiCpuPkg/Library/MtrrLib/MtrrLib.c | null | null | null | null | null |
source | edk2 | /** @file
Unit tests of the MtrrLib instance of the MtrrLib class
Copyright (c) 2020 - 2023, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "MtrrLibUnitTest.h"
STATIC CONST MTRR_LIB_SYSTEM_PARAMETER mDefaultSystemParameter = {
42, TRUE, TRUE, CacheUnca... | UefiCpuPkg/Library/MtrrLib/UnitTest/MtrrLibUnitTest.c | null | null | null | null | null |
source | edk2 | /** @file
Copyright (c) 2020 - 2023, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <stddef.h>
#include <setjmp.h>
#include <cmocka.h>
#include <time.h>
#include <U... | UefiCpuPkg/Library/MtrrLib/UnitTest/MtrrLibUnitTest.h | null | null | null | null | null |
source | edk2 | /** @file
Pre-generated random number used by MtrrLib test.
Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
UINTN mNumberCount = 50000;
UINTN mNumbers[] = {
7791, 9427, 6867, 23807, 10984, 16661, 1863, 16690, 14810, 14550,
11382, 15755,... | UefiCpuPkg/Library/MtrrLib/UnitTest/RandomNumber.c | null | null | null | null | null |
source | edk2 | /** @file
Unit tests of the MtrrLib instance of the MtrrLib class
Copyright (c) 2018 - 2023, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "MtrrLibUnitTest.h"
MTRR_MEMORY_CACHE_TYPE mMemoryCacheTypes[] = {
CacheUncacheable, CacheWriteCombining, CacheW... | UefiCpuPkg/Library/MtrrLib/UnitTest/Support.c | null | null | null | null | null |
source | edk2 | /** @file
Null instance of Platform Sec Lib.
Copyright (c) 2013 - 2015, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <PiPei.h>
#include <Ppi/SecPlatformInformation.h>
/**
A developer supplied function to perform platform specific operations.
It's a deve... | UefiCpuPkg/Library/PlatformSecLibNull/PlatformSecLibNull.c | null | null | null | null | null |
source | edk2 | /** @file
CPU Features Initialize functions.
Copyright (c) 2017 - 2023, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "RegisterCpuFeatures.h"
CHAR16 *mDependTypeStr[] = { L"None", L"Thread", L"Core", L"Package", L"Invalid" };
/**
Worker function to s... | UefiCpuPkg/Library/RegisterCpuFeaturesLib/CpuFeaturesInitialize.c | null | null | null | null | null |
source | edk2 | /** @file
CPU Register Table Library functions.
Copyright (c) 2017 - 2024, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <PiDxe.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Library/UefiLib.h>
#include "RegisterCpuFeatures.h"
CPU_FEATURES_... | UefiCpuPkg/Library/RegisterCpuFeaturesLib/DxeRegisterCpuFeaturesLib.c | null | null | null | null | null |
source | edk2 | /** @file
CPU Register Table Library functions.
Copyright (c) 2016 - 2024, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <PiPei.h>
#include <Library/HobLib.h>
#include <Library/PeiServicesLib.h>
#include <Library/PeiServicesTablePointerLib.h>
#include <P... | UefiCpuPkg/Library/RegisterCpuFeaturesLib/PeiRegisterCpuFeaturesLib.c | null | null | null | null | null |
source | edk2 | /** @file
CPU Register Table Library definitions.
Copyright (c) 2017 - 2020, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <PiPei.h>
#include <PiDxe.h>
#include <Ppi/MpServices2.h>
#include <Protocol/MpService.h>
#include <Library/BaseLib.h... | UefiCpuPkg/Library/RegisterCpuFeaturesLib/RegisterCpuFeatures.h | null | null | null | null | null |
source | edk2 | /** @file
CPU Register Table Library functions.
Copyright (c) 2017 - 2021, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "RegisterCpuFeatures.h"
/**
Function that uses DEBUG() macros to display the contents of a a CPU feature bit mask.
@param[in] F... | UefiCpuPkg/Library/RegisterCpuFeaturesLib/RegisterCpuFeaturesLib.c | null | null | null | null | null |
source | edk2 | /** @file
Timer Library functions built upon local APIC on IA32/x64.
This library uses the local APIC library so that it supports x2APIC mode.
Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Base.h>
#include <Library/TimerLib.... | UefiCpuPkg/Library/SecPeiDxeTimerLibUefiCpu/X86TimerLib.c | null | null | null | null | null |
source | edk2 | /** @file
Implementation specific to the SmmCpuFeatureLib library instance
for AMD based platforms.
Copyright (c) 2010 - 2019, Intel Corporation. All rights reserved.<BR>
Copyright (c) Microsoft Corporation.<BR>
Copyright (C) 2023 - 2024 Advanced Micro Devices, Inc. All rights reserved.<BR>
SPDX-License-Identifier: BS... | UefiCpuPkg/Library/SmmCpuFeaturesLib/AmdSmmCpuFeaturesLib.c | null | null | null | null | null |
source | edk2 | /** @file
Internal library function definitions.
Copyright (c) Microsoft Corporation.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Guid/SmmBaseHob.h>
#include <Library/SmmCpuFeaturesLib.h>
#include <Library/BaseLib.h>
#include <Library/PcdLib.h>
#include <Library/MemoryAllocationLib... | UefiCpuPkg/Library/SmmCpuFeaturesLib/CpuFeaturesLib.h | null | null | null | null | null |
source | edk2 | /** @file
Implementation shared across all library instances.
Copyright (c) 2010 - 2023, Intel Corporation. All rights reserved.<BR>
Copyright (c) Microsoft Corporation.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "CpuFeaturesLib.h"
#include <Library/MtrrLib.h>
#include <Register/Intel/Cpuid.h>
#i... | UefiCpuPkg/Library/SmmCpuFeaturesLib/IntelSmmCpuFeaturesLib.c | null | null | null | null | null |
source | edk2 | /** @file
Implementation specific to the SmmCpuFeatureLib library instance.
Copyright (c) Microsoft Corporation.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <PiMm.h>
#include "CpuFeaturesLib.h"
/**
The constructor function for the Traditional MM library instance without STM.
@param[in] Image... | UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.c | null | null | null | null | null |
source | edk2 | /** @file
Implementation shared across all library instances.
Copyright (c) 2010 - 2019, Intel Corporation. All rights reserved.<BR>
Copyright (c) Microsoft Corporation.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <PiMm.h>
#include <Library/SmmCpuFeaturesLib.h>
#include <Library/BaseLib.h>
#include... | UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLibCommon.c | null | null | null | null | null |
source | edk2 | /** @file
The CPU specific programming for PiSmmCpuDxeSmm module when STM support
is not included.
Copyright (c) 2010 - 2016, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <PiMm.h>
#include <Library/SmmCpuFeaturesLib.h>
#include "CpuFeaturesLib.h"
/**
Intern... | UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLibNoStm.c | null | null | null | null | null |
source | edk2 | /** @file
SMM STM support functions
Copyright (c) 2015 - 2023, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <PiMm.h>
#include <Library/BaseMemoryLib.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Library/SmmServicesTableLib.h>
#include <Libra... | UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmStm.c | null | null | null | null | null |
source | edk2 | /** @file
SMM STM support
Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Protocol/SmMonitorInit.h>
/**
Create 4G page table for STM.
2M PAE page table in X64 version.
@param PageTableBase The page t... | UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmStm.h | null | null | null | null | null |
source | edk2 | /** @file
Standalone MM CPU specific programming.
Copyright (c) 2010 - 2019, Intel Corporation. All rights reserved.<BR>
Copyright (c) Microsoft Corporation.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <PiMm.h>
#include <Library/PcdLib.h>
#include "CpuFeaturesLib.h"
/**
Gets the maximum number o... | UefiCpuPkg/Library/SmmCpuFeaturesLib/StandaloneMmCpuFeaturesLib.c | null | null | null | null | null |
source | edk2 | /** @file
Traditional MM CPU specific programming.
Copyright (c) Microsoft Corporation.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Base.h>
#include <Library/PcdLib.h>
#include "CpuFeaturesLib.h"
/**
Gets the maximum number of logical processors from the PCD PcdCpuMaxLogicalProcessorNumbe... | UefiCpuPkg/Library/SmmCpuFeaturesLib/TraditionalMmCpuFeaturesLib.c | null | null | null | null | null |
source | edk2 | /** @file
SMM STM support functions
Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <PiMm.h>
#include <Library/DebugLib.h>
#include "SmmStm.h"
///
/// Page Table Entry
///
#define IA32_PG_P BIT0
#define IA32_PG_RW BIT1
#defin... | UefiCpuPkg/Library/SmmCpuFeaturesLib/Ia32/SmmStmSupport.c | null | null | null | null | null |
source | edk2 | /** @file
SMM STM support functions
Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <PiMm.h>
#include <Library/DebugLib.h>
#include "SmmStm.h"
///
/// Page Table Entry
///
#define IA32_PG_P BIT0
#define IA32_PG_RW BIT1
#defin... | UefiCpuPkg/Library/SmmCpuFeaturesLib/X64/SmmStmSupport.c | null | null | null | null | null |
source | edk2 | /** @file
SMM CPU Platform Hook NULL library instance.
Copyright (c) 2006 - 2024, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <PiSmm.h>
#include <Library/SmmCpuPlatformHookLib.h>
/**
Checks if platform produces a valid SMI.
This function checks if platfo... | UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.c | null | null | null | null | null |
source | edk2 | /** @file
SMM CPU Rendezvous sevice implement.
Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>
Copyright (C) 2025 Advanced Micro Devices, Inc. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Base.h>
#include <Uefi.h>
#include <Library/BaseLib.h>
#include <Libr... | UefiCpuPkg/Library/SmmCpuRendezvousLib/SmmCpuRendezvousLib.c | null | null | null | null | null |
source | edk2 | /** @file
SMM CPU Sync lib implementation.
The lib provides 3 sets of APIs:
1. ContextInit/ContextDeinit/ContextReset:
ContextInit() is called in driver's entrypoint to allocate and initialize the SMM CPU Sync context.
ContextDeinit() is called in driver's unload function to deinitialize the SMM CPU Syn... | UefiCpuPkg/Library/SmmCpuSyncLib/SmmCpuSyncLib.c | null | null | null | null | null |
source | edk2 | /** @file
Config SMRAM Save State for SmmBases Relocation.
Copyright (C) 2023 - 2024 Advanced Micro Devices, Inc. All rights reserved.<BR>
Copyright (c) 2024, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "InternalSmmRelocationLib.h"
#include <Register/A... | UefiCpuPkg/Library/SmmRelocationLib/AmdSmramSaveStateConfig.c | null | null | null | null | null |
source | edk2 | /** @file
SMM Relocation Lib for each processor.
This Lib produces the SMM_BASE_HOB in HOB database which tells
the PiSmmCpuDxeSmm driver (runs at a later phase) about the new
SMBASE for each processor. PiSmmCpuDxeSmm driver installs the
SMI handler at the SMM_BASE_HOB.SmBase[Index]+0x8000 for processor
In... | UefiCpuPkg/Library/SmmRelocationLib/InternalSmmRelocationLib.h | null | null | null | null | null |
source | edk2 | /** @file
Config SMRAM Save State for SmmBases Relocation.
Copyright (c) 2024, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "InternalSmmRelocationLib.h"
#include <Library/CpuLib.h>
/**
Get the mode of the CPU at the time an SMI occurs
@retval EFI_MM... | UefiCpuPkg/Library/SmmRelocationLib/SmramSaveStateConfig.c | null | null | null | null | null |
source | edk2 | /** @file
This driver measures microcode patches to TPM.
This driver consumes gEdkiiMicrocodePatchHobGuid, packs all unique microcode patch found in gEdkiiMicrocodePatchHobGuid to a binary blob, and measures the binary blob to TPM.
Copyright (c) 2021, Intel Corporation. All rights reserved.<BR>
SPDX-License-I... | UefiCpuPkg/MicrocodeMeasurementDxe/MicrocodeMeasurementDxe.c | null | null | null | null | null |
source | edk2 | /** @file
PiSmmCommunication PEI Driver.
Copyright (c) 2010 - 2021, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <PiPei.h>
#include <PiDxe.h>
#include <PiSmm.h>
#include <Library/PeiServicesTablePointerLib.h>
#include <Library/PeiServicesLib.h>
#include <Libra... | UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationPei.c | null | null | null | null | null |
source | edk2 | /** @file
PiSmmCommunication private data structure
Copyright (c) 2010 - 2015, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#pragma pack(push, 1)
#define SMM_COMMUNICATION_SIGNATURE SIGNATURE_32 ('S','M','M','C')
typedef struct {
UINT32 ... | UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationPrivate.h | null | null | null | null | null |
source | edk2 | /** @file
PiSmmCommunication SMM Driver.
Copyright (c) 2010 - 2017, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <PiSmm.h>
#include <Library/UefiDriverEntryPoint.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Library/UefiRuntimeServicesTableLib.h>
... | UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationSmm.c | null | null | null | null | null |
source | edk2 | /** @file
Code for Processor S3 restoration
Copyright (c) 2006 - 2024, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "PiSmmCpuCommon.h"
#include <PiPei.h>
BOOLEAN mRestoreSmmConfigurationInS3 = FALSE;
//
// S3 boot flag
//
BOOLEAN mSmmS3Flag = FALSE;
//
//... | UefiCpuPkg/PiSmmCpuDxeSmm/CpuS3.c | null | null | null | null | null |
source | edk2 | /** @file
Implementation of SMM CPU Services Protocol.
Copyright (c) 2011 - 2024, Intel Corporation. All rights reserved.<BR>
Copyright (C) 2025 Advanced Micro Devices, Inc. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "PiSmmCpuCommon.h"
//
// SMM CPU Service Protocol instance
//
... | UefiCpuPkg/PiSmmCpuDxeSmm/CpuService.c | null | null | null | null | null |
source | edk2 | /** @file
Include file for SMM CPU Services protocol implementation.
Copyright (c) 2011 - 2015, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
typedef enum {
SmmCpuNone,
SmmCpuAdd,
SmmCpuRemove,
SmmCpuSwitchBsp
} SMM_CPU_OPERATION;
//
// SMM CPU Se... | UefiCpuPkg/PiSmmCpuDxeSmm/CpuService.h | null | null | null | null | null |
source | edk2 | /** @file
SMM MP service implementation
Copyright (c) 2009 - 2024, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2017, AMD Incorporated. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "PiSmmCpuCommon.h"
//
// Slots for all MTRR( FIXED MTRR + VARIABLE MTRR + MTRR_LIB_... | UefiCpuPkg/PiSmmCpuDxeSmm/MpService.c | null | null | null | null | null |
source | edk2 | /** @file
Copyright (c) 2016 - 2024, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "PiSmmCpuCommon.h"
#include <Library/DxeServicesTableLib.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Library/UefiRuntimeServicesTableLib.h>
//
// attributes for r... | UefiCpuPkg/PiSmmCpuDxeSmm/NonMmramMapDxeSmm.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 "PiSmmCpuCommon.h"
/**
Get SmmProfileData.
@param[in, out] Size Return Size of SmmProfileData.
0 means the gMmProfileDataHobGuid does not ex... | UefiCpuPkg/PiSmmCpuDxeSmm/NonMmramMapStandaloneMm.c | null | null | null | null | null |
source | edk2 | /** @file
Agent Module to load other modules to deploy SMM Entry Vector for X86 CPU.
Copyright (c) 2009 - 2024, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2017, AMD Incorporated. All rights reserved.<BR>
Copyright (C) 2023 - 2024 Advanced Micro Devices, Inc. All rights reserved.<BR>
SPDX-License-Identi... | UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuCommon.c | null | null | null | null | null |
source | edk2 | /** @file
Agent Module to load other modules to deploy SMM Entry Vector for X86 CPU.
Copyright (c) 2009 - 2024, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2017, AMD Incorporated. All rights reserved.<BR>
Copyright (C) 2023 Advanced Micro Devices, Inc. All rights reserved.<BR>
SPDX-License-Identifier: B... | UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuCommon.h | null | null | null | null | null |
source | edk2 | /** @file
Agent Module to load other modules to deploy SMM Entry Vector for X86 CPU.
Copyright (c) 2009 - 2024, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2017, AMD Incorporated. All rights reserved.<BR>
Copyright (C) 2023 - 2024 Advanced Micro Devices, Inc. All rights reserved.<BR>
SPDX-License-Identi... | UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.c | null | null | null | null | null |
source | edk2 | /** @file
Agent Module to load other modules to deploy MM Entry Vector for X86 CPU.
Copyright (c) 2024, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "PiSmmCpuCommon.h"
//
// TRUE to indicate it's the MM_STANDALONE MM CPU driver.
// FALSE to indicate it's the... | UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuStandaloneMm.c | null | null | null | null | null |
source | edk2 | /** @file
Copyright (c) 2016 - 2024, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "PiSmmCpuCommon.h"
BOOLEAN mIsShadowStack = FALSE;
BOOLEAN m5LevelPagingNeeded = FALSE;
PAGING_MODE mPagingMode = PagingModeMax;
//
// Global variable t... | UefiCpuPkg/PiSmmCpuDxeSmm/SmmCpuMemoryManagement.c | null | null | null | null | null |
source | edk2 | /** @file
SMM MP protocol implementation
Copyright (c) 2019 - 2024, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "PiSmmCpuCommon.h"
#include "SmmMp.h"
///
/// SMM MP Protocol instance
///
EFI_MM_MP_PROTOCOL mSmmMp = {
EFI_MM_MP_PROTOCOL_REVISION,
0,
S... | UefiCpuPkg/PiSmmCpuDxeSmm/SmmMp.c | null | null | null | null | null |
source | edk2 | /** @file
Include file for SMM MP protocol implementation.
Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
//
// SMM MP Protocol function prototypes.
//
/**
Service to retrieves the number of logical processor in the platform.
@par... | UefiCpuPkg/PiSmmCpuDxeSmm/SmmMp.h | null | null | null | null | null |
source | edk2 | /** @file
SMM MP perf-logging implementation
Copyright (c) 2023 - 2024, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "PiSmmCpuCommon.h"
#define SMM_MP_PERF_PROCEDURE_NAME(procedure) # procedure
GLOBAL_REMOVE_IF_UNREFERENCED
CHAR8 *gSmmMpPerfProcedureName[... | UefiCpuPkg/PiSmmCpuDxeSmm/SmmMpPerf.c | null | null | null | null | null |
source | edk2 | /** @file
SMM MP perf-logging implementation
Copyright (c) 2023, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
//
// The list of all MP procedures that need to be perf-logged.
//
#define SMM_MP_PERF_PROCEDURE_LIST(_) \
_(InitializeSmm), \
_(SmmRendez... | UefiCpuPkg/PiSmmCpuDxeSmm/SmmMpPerf.h | null | null | null | null | null |
source | edk2 | /** @file
Enable SMM profile.
Copyright (c) 2012 - 2024, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2017 - 2020, AMD Incorporated. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "PiSmmCpuCommon.h"
#include "SmmProfileInternal.h"
UINT32 mSmmProfileCr3;
SMM_PROFIL... | UefiCpuPkg/PiSmmCpuDxeSmm/SmmProfile.c | null | null | null | null | null |
source | edk2 | /** @file
SMM profile header file.
Copyright (c) 2012 - 2019, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include "SmmProfileInternal.h"
//
// External functions
//
/**
Initialize processor environment for SMM profile.
@param CpuIndex The index... | UefiCpuPkg/PiSmmCpuDxeSmm/SmmProfile.h | null | null | null | null | null |
source | edk2 | /** @file
SMM profile internal header file.
Copyright (c) 2012 - 2024, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2020, AMD Incorporated. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Protocol/SmmReadyToLock.h>
#include <Library/CpuLib.h>
#include <I... | UefiCpuPkg/PiSmmCpuDxeSmm/SmmProfileInternal.h | null | null | null | null | null |
source | edk2 | /** @file
Provides services to access SMRAM Save State Map
Copyright (c) 2010 - 2024, Intel Corporation. All rights reserved.<BR>
Copyright (C) 2023 Advanced Micro Devices, Inc. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <PiSmm.h>
#include <Library/SmmCpuFeaturesLib.h>
#inc... | UefiCpuPkg/PiSmmCpuDxeSmm/SmramSaveState.c | null | null | null | null | null |
source | edk2 | /** @file
SMM Timer feature support
Copyright (c) 2009 - 2024, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "PiSmmCpuCommon.h"
UINT64 mTimeoutTicker = 0;
UINT64 mTimeoutTicker2 = 0;
//
// Number of counts in a roll-over cycle of the performance counter.
... | UefiCpuPkg/PiSmmCpuDxeSmm/SyncTimer.c | null | null | null | null | null |
source | edk2 | /** @file
Page table manipulation functions for IA-32 processors
Copyright (c) 2009 - 2024, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2017, AMD Incorporated. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "PiSmmCpuCommon.h"
/**
Create PageTable for SMM use.
... | UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/PageTbl.c | null | null | null | null | null |
source | edk2 | /** @file
SMM CPU misc functions for Ia32 arch specific.
Copyright (c) 2015 - 2024, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "PiSmmCpuCommon.h"
extern UINT64 gTaskGateDescriptor;
EFI_PHYSICAL_ADDRESS mGdtBuffer;
UINTN mGdtBufferSize;
... | UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/SmmFuncsArch.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 "PiSmmCpuCommon.h"
/**
Return whether access to non-SMRAM is restricted.
@retval TRUE Access to non-SMRAM is restricted.
@retval FALSE Access to non-SMRAM is not restricted.
**... | UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/SmmFuncsArchDxeSmm.c | null | null | null | null | null |
source | edk2 | /** @file
IA-32 processor specific functions to enable SMM profile.
Copyright (c) 2012 - 2024, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "PiSmmCpuCommon.h"
#include "SmmProfileInternal.h"
/**
Create SMM page table for S3 path.
@param[out] Cr3 The b... | UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/SmmProfileArch.c | null | null | null | null | null |
source | edk2 | /** @file
IA-32 processor specific header file to enable SMM profile.
Copyright (c) 2012 - 2024, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#pragma pack (1)
typedef struct _MSR_DS_AREA_STRUCT {
UINT32 BTSBufferBase;
UINT32 BTSIndex;
UINT32 ... | UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/SmmProfileArch.h | null | null | null | null | null |
source | edk2 | /** @file
Page Fault (#PF) handler for X64 processors
Copyright (c) 2009 - 2024, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2017, AMD Incorporated. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "PiSmmCpuCommon.h"
#define PAGE_TABLE_PAGES 8
#define ACC_MAX_BIT ... | UefiCpuPkg/PiSmmCpuDxeSmm/X64/PageTbl.c | null | null | null | null | null |
source | edk2 | /** @file
SMM CPU misc functions for x64 arch specific.
Copyright (c) 2015 - 2024, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "PiSmmCpuCommon.h"
EFI_PHYSICAL_ADDRESS mGdtBuffer;
UINTN mGdtBufferSize;
extern BOOLEAN mCetSupported;
X86_A... | UefiCpuPkg/PiSmmCpuDxeSmm/X64/SmmFuncsArch.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 "PiSmmCpuCommon.h"
BOOLEAN mIsRestrictedMemoryAccess = TRUE;
BOOLEAN mIsRestrictedMemoryAccessInitialized = FALSE;
/**
Return whether access to non-SMRAM is restricted.... | UefiCpuPkg/PiSmmCpuDxeSmm/X64/SmmFuncsArchDxeSmm.c | null | null | null | null | null |
source | edk2 | /** @file
X64 processor specific functions to enable SMM profile.
Copyright (c) 2012 - 2024, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2017, AMD Incorporated. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "PiSmmCpuCommon.h"
#include "SmmProfileInternal.h"
//
// ... | UefiCpuPkg/PiSmmCpuDxeSmm/X64/SmmProfileArch.c | null | null | null | null | null |
source | edk2 | /** @file
X64 processor specific header file to enable SMM profile.
Copyright (c) 2012 - 2024, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#pragma pack (1)
typedef struct _MSR_DS_AREA_STRUCT {
UINT64 BTSBufferBase;
UINT64 BTSIndex;
UINT64 ... | UefiCpuPkg/PiSmmCpuDxeSmm/X64/SmmProfileArch.h | null | null | null | null | null |
source | edk2 | ;------------------------------------------------------------------------------
; @file
; Debug disabled
;
; Copyright (c) 2009, Intel Corporation. All rights reserved.<BR>
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
;------------------------------------------------------------------------------
BITS 16
%macr... | UefiCpuPkg/ResetVector/Vtf0/DebugDisabled.asm | null | null | null | null | null |
source | edk2 | ;------------------------------------------------------------------------------
; @file
; Main routine of the pre-SEC code up through the jump into SEC
;
; Copyright (c) 2008 - 2009, Intel Corporation. All rights reserved.<BR>
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
;-------------------------------------------... | UefiCpuPkg/ResetVector/Vtf0/Main.asm | null | null | null | null | null |
source | edk2 | ;------------------------------------------------------------------------------
; @file
; Port 0x80 debug support macros
;
; Copyright (c) 2009, Intel Corporation. All rights reserved.<BR>
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
;------------------------------------------------------------------------------
B... | UefiCpuPkg/ResetVector/Vtf0/Port80Debug.asm | null | null | null | null | null |
source | edk2 | === HOW TO USE VTF0 ===
Add this line to your DSC [Components.IA32] or [Components.X64] section:
UefiCpuPkg/ResetVector/Vtf0/Vtf0.inf
Add this line to your FDF FV section:
INF RuleOverride=RESET_VECTOR UefiCpuPkg/ResetVector/Vtf0/Vtf0.inf
In your FDF FFS file rules sections add:
[Rule.Common.SEC.RESET_VECTOR]
... | UefiCpuPkg/ResetVector/Vtf0/ReadMe.txt | null | null | null | null | null |
source | edk2 | ;------------------------------------------------------------------------------
; @file
; Serial port debug support macros
;
; Copyright (c) 2008 - 2018, Intel Corporation. All rights reserved.<BR>
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
;------------------------------------------------------------------------... | UefiCpuPkg/ResetVector/Vtf0/SerialDebug.asm | null | null | null | null | null |
source | edk2 | ;------------------------------------------------------------------------------
; @file
; 16-bit initialization code
;
; Copyright (c) 2008 - 2009, Intel Corporation. All rights reserved.<BR>
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
;------------------------------------------------------------------------------... | UefiCpuPkg/ResetVector/Vtf0/Ia16/Init16.asm | null | null | null | null | null |
source | edk2 | ;------------------------------------------------------------------------------
; @file
; Transition from 16 bit real mode into 32 bit flat protected mode
;
; Copyright (c) 2008 - 2022, Intel Corporation. All rights reserved.<BR>
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
;----------------------------------------... | UefiCpuPkg/ResetVector/Vtf0/Ia16/Real16ToFlat32.asm | null | null | null | null | null |
source | edk2 | ;------------------------------------------------------------------------------
; @file
; First code executed by processor after resetting.
;
; Copyright (c) 2008 - 2014, Intel Corporation. All rights reserved.<BR>
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
;-------------------------------------------------------... | UefiCpuPkg/ResetVector/Vtf0/Ia16/ResetVectorVtf0.asm | null | null | null | null | null |
source | edk2 | ;------------------------------------------------------------------------------
; @file
; Transition from 32 bit flat protected mode into 64 bit flat protected mode
;
; Copyright (c) 2008 - 2018, Intel Corporation. All rights reserved.<BR>
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
;------------------------------... | UefiCpuPkg/ResetVector/Vtf0/Ia32/Flat32ToFlat64.asm | null | null | null | null | null |
source | edk2 | ;------------------------------------------------------------------------------
; @file
; Sets the CR3 register for 64-bit paging
;
; Copyright (c) 2008 - 2023, Intel Corporation. All rights reserved.<BR>
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
;-----------------------------------------------------------------... | UefiCpuPkg/ResetVector/Vtf0/Ia32/PageTables64.asm | null | null | null | null | null |
source | edk2 | ;------------------------------------------------------------------------------
; @file
; Search for the Boot Firmware Volume (BFV) base address
;
; Copyright (c) 2008 - 2022, Intel Corporation. All rights reserved.<BR>
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
;--------------------------------------------------... | UefiCpuPkg/ResetVector/Vtf0/Ia32/SearchForBfvBase.asm | null | null | null | null | null |
source | edk2 | ;------------------------------------------------------------------------------
; @file
; Search for the SEC Core entry point
;
; Copyright (c) 2008 - 2011, Intel Corporation. All rights reserved.<BR>
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
;---------------------------------------------------------------------... | UefiCpuPkg/ResetVector/Vtf0/Ia32/SearchForSecEntry.asm | null | null | null | null | null |
source | edk2 | ;------------------------------------------------------------------------------
; @file
; Emits Page Tables for 1:1 mapping.
; If using 1G page table, map addresses 0 - 0x8000000000 (512GB),
; else, map addresses 0 - 0x100000000 (4GB)
;
; Copyright (c) 2021 - 2023, Intel Corporation. All rights reserved.<BR>
; SPDX-Lic... | UefiCpuPkg/ResetVector/Vtf0/X64/PageTables.asm | null | null | null | null | null |
source | edk2 | /** @file
Locate the entry point for the PEI Core
Copyright (c) 2008 - 2019, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <PiPei.h>
#include "SecMain.h"
/**
Find core image base.
@param FirmwareVolumePtr Point to the firmware volume for f... | UefiCpuPkg/SecCore/FindPeiCore.c | null | null | null | null | null |
source | edk2 | /** @file
Get SEC platform information(2) PPI and reinstall it.
Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "SecMain.h"
/**
Implementation of the PlatformInformation service in EFI_SEC_PLATFORM_INFORMATION_PPI.
@param P... | UefiCpuPkg/SecCore/SecBist.c | null | null | null | null | null |
source | edk2 | /** @file
C functions in SEC
Copyright (c) 2008 - 2019, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2025, Ventana Micro Systems Inc. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "SecMain.h"
#if defined (MDE_CPU_IA32) || defined (MDE_CPU_X64)
#define SEC_... | UefiCpuPkg/SecCore/SecMain.c | null | null | null | null | null |
source | edk2 | /** @file
Master header file for SecCore.
Copyright (c) 2008 - 2019, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <PiPei.h>
#include <Ppi/SecPlatformInformation2.h>
#include <Ppi/TemporaryRamDone.h>
#include <Ppi/SecPerformance.h>
#include... | UefiCpuPkg/SecCore/SecMain.h | null | null | null | null | null |
source | edk2 | /** @file
SEC platform information(2) PPI.
Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2025, Ventana Micro Systems Inc. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Library/CpuPageTableLib.h>
#include <Register/Intel/Cpuid.h>
#i... | UefiCpuPkg/SecCore/SecTemporaryRamDone.c | null | null | null | null | null |
source | edk2 | /** @file
Migrates SEC structures after permanent memory is installed.
Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Base.h>
#include <Library/BaseLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/DebugLib.h>
#include <Libr... | UefiCpuPkg/SecMigrationPei/SecMigrationPei.c | null | null | null | null | null |
source | edk2 | /** @file
Migrates SEC structures after permanent memory is installed.
Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Base.h>
#include <Pi/PiPeiCis.h>
#include <Ppi/RepublishSecPpi.h>
#include <Ppi/SecPerformance.h>
#inc... | UefiCpuPkg/SecMigrationPei/SecMigrationPei.h | null | null | null | null | null |
source | edk2 | /** @file
Produce "MpProtocolUnitTest" shell dynamic command.
Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Library/UefiBootServicesTableLib.h>
#include <Protocol/ShellDynamicCommand.h>
#include "EfiMpServicesUnitTestCommom.h"
CHAR1... | UefiCpuPkg/Test/UnitTest/EfiMpServicesPpiProtocol/EfiMpServiceProtocolDynamicCmdUnitTest.c | null | null | null | null | null |
source | edk2 | /** @file
PEI Module to test EfiMpServiceProtocol.
Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <PiDxe.h>
#include <Library/UefiBootServicesTableLib.h>
#include "EfiMpServicesUnitTestCommom.h"
#define UNIT_TEST_NAME "EfiMpServic... | UefiCpuPkg/Test/UnitTest/EfiMpServicesPpiProtocol/EfiMpServiceProtocolUnitTest.c | null | null | null | null | null |
source | edk2 | /** @file
Common code to test EdkiiPeiMpServices2Ppi and EfiMpServiceProtocol.
Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "EfiMpServicesUnitTestCommom.h"
/**
Prep routine for Unit test function.
To save the ProcessorNumber of ... | UefiCpuPkg/Test/UnitTest/EfiMpServicesPpiProtocol/EfiMpServicesUnitTestCommom.c | null | null | null | null | null |
source | edk2 | /** @file
Common header file for EfiPeiMpServices2Ppi and EfiMpServiceProtocol unit test.
Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <PiPei.h>
#include <Ppi/MpServices2.h>
#include <Protocol/MpService.h>
#include <Lib... | UefiCpuPkg/Test/UnitTest/EfiMpServicesPpiProtocol/EfiMpServicesUnitTestCommom.h | null | null | null | null | null |
source | edk2 | /** @file
PEI Module to test APIs defined in EfiPeiMpServices2Ppi.
Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Library/PeimEntryPoint.h>
#include <Library/PeiServicesLib.h>
#include "EfiMpServicesUnitTestCommom.h"
#define UNIT_TES... | UefiCpuPkg/Test/UnitTest/EfiMpServicesPpiProtocol/EfiPeiMpServices2PpiUnitTest.c | null | null | null | null | null |
source | edk2 | /** @file
This module produces the EFI_PEI_S3_RESUME2_PPI.
This module works with StandAloneBootScriptExecutor to S3 resume to OS.
This module will execute the boot script saved during last boot and after that,
control is passed to OS waking up handler.
Copyright (c) 2006 - 2024, Intel Corporation. All right... | UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c | null | null | null | null | null |
source | edk2 | ================================================================================
Build And Integration Instructions
2020 Aug 1st
================================================================================
================================================================================
DISCLAIMER
=================... | UefiPayloadPkg/BuildAndIntegrationInstructions.txt | null | null | null | null | null |
source | edk2 | # UefiPayloadPkg
Provide UEFI Universal Payload for different bootloader to generate EFI environment
# Spec
- UniversalPayload URL: https://universalscalablefirmware.github.io/documentation/2_universal_payload.html
- UniversalPayload URL: https://universalpayload.github.io/spec/
- ELF Format URL: https://refspecs.linu... | UefiPayloadPkg/Readme.md | null | null | null | null | null |
source | edk2 | /** @file
This driver will setup PCDs for DXE phase from HOBs
and initialise architecture-specific settings and resources.
Copyright (c) 2014 - 2021, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "BlSupportDxe.h"
/**
Main entry for the bootloader supp... | UefiPayloadPkg/BlSupportDxe/BlSupportDxe.c | null | null | null | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.