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
Wrapper header file to include <Register/Intel/Msr.h> in MdePkg.
Copyright (c) 2016 - 2019, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Register/Intel/Msr.h> | UefiCpuPkg/Include/Register/Msr.h | null | null | null | null | null |
source | edk2 | /** @file
Wrapper header file to include <Register/Intel/SmramSaveStateMap.h> in MdePkg.
Copyright (c) 2015 - 2019, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Register/Intel/SmramSaveStateMap.h> | UefiCpuPkg/Include/Register/SmramSaveStateMap.h | null | null | null | null | null |
source | edk2 | /** @file
Wrapper header file to include <Register/Intel/StmApi.h> in MdePkg.
Copyright (c) 2015 - 2019, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Register/Intel/StmApi.h> | UefiCpuPkg/Include/Register/StmApi.h | null | null | null | null | null |
source | edk2 | /** @file
AmdSvsm Base Support Library.
Copyright (C) 2024, Advanced Micro Devices, Inc. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Base.h>
#include <Uefi.h>
#include <Library/AmdSvsmLib.h>
/**
Report the presence of an Secure Virtual Services Module (SVSM).
Deter... | UefiCpuPkg/Library/AmdSvsmLibNull/AmdSvsmLibNull.c | null | null | null | null | null |
source | edk2 | /** @file
Null Library for AmdSysCallLib
Copyright (C) 2025 Advanced Micro Devices, Inc. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Library/AmdSysCallLib.h>
/**
Check if high privilege instruction need go through Syscall.
@param NONE
@return TRUE Syscall required
@... | UefiCpuPkg/Library/AmdSysCallLibNull/AmdSysCallLibNull.c | null | null | null | null | null |
source | edk2 | /** @file
Arm MMU library instance internal header file.
Copyright (C) Microsoft Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
typedef
VOID(
EFIAPI *ARM_REPLACE_LIVE_TRANSLATION_ENTRY
)(
IN UINT64 *Entry,
IN UINT64 Value,
IN UINT64 RegionStart,... | UefiCpuPkg/Library/ArmMmuLib/ArmMmuLibInternal.h | null | null | null | null | null |
source | edk2 | /** @file
* File managing the MMU for ARMv8 architecture
*
* Copyright (c) 2011-2025, ARM Limited. All rights reserved.
* Copyright (c) 2016, Linaro Limited. All rights reserved.
* Copyright (c) 2017, Intel Corporation. All rights reserved.<BR>
*
* SPDX-License-Identifier: BSD-2-Clause-Patent
*
**/
#include <Uefi... | UefiCpuPkg/Library/ArmMmuLib/AArch64/ArmMmuLibCore.c | null | null | null | null | null |
source | edk2 | #------------------------------------------------------------------------------
#
# Copyright (c) 2016, Linaro Limited. All rights reserved.
#
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
#------------------------------------------------------------------------------
#include <AsmMacroLib.h>
.set CTRL_M_BIT, ... | UefiCpuPkg/Library/ArmMmuLib/AArch64/ArmMmuLibReplaceEntry.S | null | null | null | null | null |
source | edk2 | /** @file
Copyright (c) 2016, Linaro Limited. All rights reserved.
Copyright (c) 2021, Arm Limited. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
*/
#include <Base.h>
#include <Library/ArmLib.h>
#include <Library/ArmMmuLib.h>
#include <Library/CacheMaintenanceLib.h>
#include <Library/D... | UefiCpuPkg/Library/ArmMmuLib/AArch64/ArmMmuPeiLibConstructor.c | null | null | null | null | null |
source | edk2 | /** @file
UefiCpu AArch64 architecture support library.
Copyright 2024 Google LLC
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Base.h>
#include <Library/ArmLib.h>
UINTN
EFIAPI
ArmArchLibGetPhysicalAddressBits (
VOID
);
VOID
EFIAPI
InitializeFloatingPointUnits (
VOID
)
{
return;
}
UIN... | UefiCpuPkg/Library/BaseArchSupportLib/AArch64/AArch64LibSupport.c | null | null | null | null | null |
source | edk2 | #------------------------------------------------------------------------------
#
# Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
# Copyright (c) 2011 - 2016, ARM Limited. All rights reserved.
# Copyright (c) 2016, Linaro Limited. All rights reserved.
#
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
... | UefiCpuPkg/Library/BaseArchSupportLib/AArch64/GetPhysicalAddressBits.S | null | null | null | null | null |
source | edk2 | /** @file
UefiCpu X86 architectures support library for both Ia32 and X64.
Copyright 2024 Google LLC
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Base.h>
#include <Library/BaseLib.h>
UINT8
ArchGetPhysicalAddressBits (
VOID
)
{
UINT32 RegEax;
AsmCpuid (0x80000000, &RegEax, NULL, NULL, N... | UefiCpuPkg/Library/BaseArchSupportLib/X86/X86LibSupport.c | null | null | null | null | null |
source | edk2 | /** @file
RISC-V instance of Timer Library.
Copyright (c) 2016 - 2022, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Uefi.h>
#include <Guid/RiscVSecHobData.h>
#include <Library/BaseLib.h>
#include <Library/DebugLib.h>
#include <L... | UefiCpuPkg/Library/BaseRiscV64CpuTimerLib/CpuTimerLib.c | null | null | null | null | null |
source | edk2 | /** @file
MMU library for RISC-V.
Copyright (c) 2011-2020, ARM Limited. All rights reserved.
Copyright (c) 2016, Linaro Limited. All rights reserved.
Copyright (c) 2017, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2023, Ventana Micro Systems Inc. All Rights Reserved.<BR>
SPDX-License-Identif... | UefiCpuPkg/Library/BaseRiscVMmuLib/BaseRiscVMmuLib.c | null | null | null | null | null |
source | edk2 | /** @file
*
* Copyright (c) 2023, Ventana Micro Systems Inc. All Rights Reserved.<BR>
*
* SPDX-License-Identifier: BSD-2-Clause-Patent
*
**/
#include <Base.h>
#include <Register/RiscV64/RiscVImpl.h>
.text
.align 3
//
// Local tlb flush all.
//
//
ASM_FUNC (RiscVLocalTlbFlushAll)
sfence.vma
ret
//
// Local tlb f... | UefiCpuPkg/Library/BaseRiscVMmuLib/RiscVMmuCore.S | null | null | null | null | null |
source | edk2 | /** @file
Local APIC Library.
This local APIC library instance supports xAPIC mode only.
Copyright (c) 2010 - 2023, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2017 - 2024, AMD Inc. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Register/Intel/Cpuid.h>
#... | UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.c | null | null | null | null | null |
source | edk2 | /** @file
Local APIC Library.
This local APIC library instance supports x2APIC capable processors
which have xAPIC and x2APIC modes.
Copyright (c) 2010 - 2023, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2017 - 2024, AMD Inc. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Pa... | UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.c | null | null | null | null | null |
source | edk2 | /** @file
CcExit Base Support Library.
Copyright (C) 2020, Advanced Micro Devices, Inc. All rights reserved.<BR>
Copyright (c) 2020 - 2022, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Base.h>
#include <Uefi.h>
#include <Library/CcExitLib.h>
/**
Pe... | UefiCpuPkg/Library/CcExitLibNull/CcExitLibNull.c | null | null | null | null | null |
source | edk2 | /** @file
Provides cache info for each package, core type, cache level and cache type.
Copyright (c) 2020 - 2021, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "InternalCpuCacheInfoLib.h"
/**
Print CpuCacheInfo array.
@param[in] CpuCacheInfo ... | UefiCpuPkg/Library/CpuCacheInfoLib/CpuCacheInfoLib.c | null | null | null | null | null |
source | edk2 | /** @file
Provides cache info for each package, core type, cache level and cache type.
Copyright (c) 2020 Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <PiDxe.h>
#include <Library/BaseLib.h>
#include <Library/DebugLib.h>
#include <Library/UefiBootServices... | UefiCpuPkg/Library/CpuCacheInfoLib/DxeCpuCacheInfoLib.c | null | null | null | null | null |
source | edk2 | /** @file
Internal header file for CPU Cache info Library.
Copyright (c) 2020 - 2021, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <PiPei.h>
#include <Register/Cpuid.h>
#include <Ppi/MpServices2.h>
#include <Protocol/MpService.h>
#include <... | UefiCpuPkg/Library/CpuCacheInfoLib/InternalCpuCacheInfoLib.h | null | null | null | null | null |
source | edk2 | /** @file
Provides cache info for each package, core type, cache level and cache type.
Copyright (c) 2020 Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <PiPei.h>
#include <Library/BaseLib.h>
#include <Library/DebugLib.h>
#include <Library/PeiServicesLib.h... | UefiCpuPkg/Library/CpuCacheInfoLib/PeiCpuCacheInfoLib.c | null | null | null | null | null |
source | edk2 | /** @file
AESNI feature.
Copyright (c) 2017 - 2019, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "CpuCommonFeatures.h"
/**
Prepares for the data used by CPU feature detection and initialization.
@param[in] NumberOfProcessors The number of CPUs in... | UefiCpuPkg/Library/CpuCommonFeaturesLib/Aesni.c | null | null | null | null | null |
source | edk2 | /** @file
C1E feature.
Copyright (c) 2017, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "CpuCommonFeatures.h"
/**
Detects if C1E feature supported on current processor.
@param[in] ProcessorNumber The index of the CPU executing this function.
@p... | UefiCpuPkg/Library/CpuCommonFeaturesLib/C1e.c | null | null | null | null | null |
source | edk2 | /** @file
Clock Modulation feature.
Copyright (c) 2017 - 2019, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "CpuCommonFeatures.h"
typedef struct {
CPUID_THERMAL_POWER_MANAGEMENT_EAX ThermalPowerManagementEax;
MSR_IA32_CLOCK_MODULATION_REGISTER ... | UefiCpuPkg/Library/CpuCommonFeaturesLib/ClockModulation.c | null | null | null | null | null |
source | edk2 | /** @file
CPU Common features library header file.
Copyright (c) 2017 - 2019, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <PiDxe.h>
#include <Library/BaseLib.h>
#include <Library/PcdLib.h>
#include <Library/DebugLib.h>
#include <Library/R... | UefiCpuPkg/Library/CpuCommonFeaturesLib/CpuCommonFeatures.h | null | null | null | null | null |
source | edk2 | /** @file
This library registers CPU features defined in Intel(R) 64 and IA-32
Architectures Software Developer's Manual.
Copyright (c) 2017 - 2020, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "CpuCommonFeatures.h"
/**
Register CPU features.
@re... | UefiCpuPkg/Library/CpuCommonFeaturesLib/CpuCommonFeaturesLib.c | null | null | null | null | null |
source | edk2 | /** @file
Enhanced Intel SpeedStep feature.
Copyright (c) 2017, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "CpuCommonFeatures.h"
/**
Detects if Enhanced Intel SpeedStep feature supported on current processor.
@param[in] ProcessorNumber The inde... | UefiCpuPkg/Library/CpuCommonFeaturesLib/Eist.c | null | null | null | null | null |
source | edk2 | /** @file
Fast-Strings feature.
Copyright (c) 2017, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "CpuCommonFeatures.h"
/**
Initializes Fast-Strings feature to specific state.
@param[in] ProcessorNumber The index of the CPU executing this function... | UefiCpuPkg/Library/CpuCommonFeaturesLib/FastStrings.c | null | null | null | null | null |
source | edk2 | /** @file
Features in MSR_IA32_FEATURE_CONTROL register.
Copyright (c) 2017 - 2019, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "CpuCommonFeatures.h"
/**
Detects if VMX feature supported on current processor.
@param[in] ProcessorNumber The index... | UefiCpuPkg/Library/CpuCommonFeaturesLib/FeatureControl.c | null | null | null | null | null |
source | edk2 | /** @file
LimitCpuidMaxval Feature.
Copyright (c) 2017 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "CpuCommonFeatures.h"
/**
Detects if LimitCpuidMaxval feature supported on current processor.
@param[in] ProcessorNumber The index of the ... | UefiCpuPkg/Library/CpuCommonFeaturesLib/LimitCpuIdMaxval.c | null | null | null | null | null |
source | edk2 | /** @file
Machine Check features.
Copyright (c) 2017 - 2024, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "CpuCommonFeatures.h"
/**
Detects if Machine Check Exception feature supported on current processor.
@param[in] ProcessorNumber The index of... | UefiCpuPkg/Library/CpuCommonFeaturesLib/MachineCheck.c | null | null | null | null | null |
source | edk2 | /** @file
MonitorMwait feature.
Copyright (c) 2017, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "CpuCommonFeatures.h"
/**
Detects if MONITOR/MWAIT feature supported on current processor.
@param[in] ProcessorNumber The index of the CPU executing ... | UefiCpuPkg/Library/CpuCommonFeaturesLib/MonitorMwait.c | null | null | null | null | null |
source | edk2 | /** @file
Pending Break feature.
Copyright (c) 2017, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "CpuCommonFeatures.h"
/**
Detects if Pending Break feature supported on current processor.
@param[in] ProcessorNumber The index of the CPU executing... | UefiCpuPkg/Library/CpuCommonFeaturesLib/PendingBreak.c | null | null | null | null | null |
source | edk2 | /** @file
Protected Processor Inventory Number(PPIN) feature.
Copyright (c) 2017 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "CpuCommonFeatures.h"
/**
Prepares for the data used by CPU feature detection and initialization.
@param[in] Numb... | UefiCpuPkg/Library/CpuCommonFeaturesLib/Ppin.c | null | null | null | null | null |
source | edk2 | /** @file
Intel Processor Trace feature.
Copyright (c) 2017 - 2023, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "CpuCommonFeatures.h"
///
/// This macro define the max entries in the Topa table.
/// Each entry in the table contains some attribute bits,... | UefiCpuPkg/Library/CpuCommonFeaturesLib/ProcTrace.c | null | null | null | null | null |
source | edk2 | /** @file
X2Apic feature.
Copyright (c) 2017, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "CpuCommonFeatures.h"
/**
Prepares for the data used by CPU feature detection and initialization.
@param[in] NumberOfProcessors The number of CPUs in the p... | UefiCpuPkg/Library/CpuCommonFeaturesLib/X2Apic.c | null | null | null | null | null |
source | edk2 | /** @file
CPU Exception Handler Library common functions.
Copyright (c) 2012 - 2019, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "CpuExceptionCommon.h"
//
// Error code flag indicating whether or not an error code will be
// pushed on the stack if an e... | UefiCpuPkg/Library/CpuExceptionHandlerLib/CpuExceptionCommon.c | null | null | null | null | null |
source | edk2 | /** @file
Common header file for CPU Exception Handler Library.
Copyright (c) 2012 - 2022, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Ppi/VectorHandoffInfo.h>
#include <Protocol/Cpu.h>
#include <Library/BaseLib.h>
#include <Library/Seria... | UefiCpuPkg/Library/CpuExceptionHandlerLib/CpuExceptionCommon.h | null | null | null | null | null |
source | edk2 | /** @file
CPU exception handler library implemenation for DXE modules.
Copyright (c) 2013 - 2022, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <PiDxe.h>
#include "CpuExceptionCommon.h"
#include <Library/DebugLib.h>
#include <Library/MemoryAllocationLib.h... | UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeException.c | null | null | null | null | null |
source | edk2 | /** @file
CPU exception handler library implementation for PEIM module.
Copyright (c) 2016 - 2022, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <PiPei.h>
#include "CpuExceptionCommon.h"
#include <Library/DebugLib.h>
#include <Library/HobLib.h>
#include <Libr... | UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuException.c | null | null | null | null | null |
source | edk2 | /** @file
CPU Exception Library provides PEI/DXE/SMM CPU common exception handler.
Copyright (c) 2012 - 2022, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Library/DebugLib.h>
#include <Library/CcExitLib.h>
#include "CpuExceptionCommon.h"
/**
Internal wor... | UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiDxeSmmCpuException.c | null | null | null | null | null |
source | edk2 | /** @file
CPU exception handler library implemenation for SEC/PEIM modules.
Copyright (c) 2012 - 2022, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <PiPei.h>
#include <Library/CcExitLib.h>
#include "CpuExceptionCommon.h"
CONST UINTN mDoFarReturnFlag = 0;
... | UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuException.c | null | null | null | null | null |
source | edk2 | /** @file
CPU exception handler library implementation for SMM modules.
Copyright (c) 2013 - 2022, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <PiSmm.h>
#include "CpuExceptionCommon.h"
CONST UINTN mDoFarReturnFlag = 1;
RESERVED_VECTORS_DATA mRes... | UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmException.c | null | null | null | null | null |
source | edk2 | /** @file
IA32 CPU Exception Handler functons.
Copyright (c) 2012 - 2022, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "CpuExceptionCommon.h"
/**
Return address map of exception handler template so that C code can generate
exception tables.
@para... | UefiCpuPkg/Library/CpuExceptionHandlerLib/Ia32/ArchExceptionHandler.c | null | null | null | null | null |
source | edk2 | /** @file
Ia32 arch definition for CPU Exception Handler Library.
Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
typedef struct {
EFI_SYSTEM_CONTEXT_IA32 SystemContext;
BOOLEAN ExceptionDataFlag;
... | UefiCpuPkg/Library/CpuExceptionHandlerLib/Ia32/ArchInterruptDefs.h | null | null | null | null | null |
source | edk2 | /** @file DxeExceptionLib.c
LoongArch exception library implemenation for DXE modules.
Copyright (c) 2024, Loongson Technology Corporation Limited. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Library/BaseLib.h>
#include <Library/CpuExceptionHandlerLib.h>
#include <Libra... | UefiCpuPkg/Library/CpuExceptionHandlerLib/LoongArch/DxeExceptionLib.c | null | null | null | null | null |
source | edk2 | /** @file DxeExceptionLib.c
CPU Exception Handler Library common functions.
Copyright (c) 2024, Loongson Technology Corporation Limited. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Library/BaseLib.h>
#include <Library/PeCoffGetEntryPointLib.h>
#include <Library/PrintLib... | UefiCpuPkg/Library/CpuExceptionHandlerLib/LoongArch/ExceptionCommon.c | null | null | null | null | null |
source | edk2 | /** @file DxeExceptionLib.h
Common header file for CPU Exception Handler Library.
Copyright (c) 2024, Loongson Technology Corporation Limited. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Base.h>
#define MAX_DEBUG_MESSAGE_LENGTH 0x100
#define SMP_BOOT_CPU... | UefiCpuPkg/Library/CpuExceptionHandlerLib/LoongArch/ExceptionCommon.h | null | null | null | null | null |
source | edk2 | /** @file SecPeiExceptionLib.c
LoongArch exception library implemenation for PEI and SEC modules.
Copyright (c) 2024, Loongson Technology Corporation Limited. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Library/BaseLib.h>
#include <Library/CpuLib.h>
#include <Library/Cp... | UefiCpuPkg/Library/CpuExceptionHandlerLib/LoongArch/SecPeiExceptionLib.c | null | null | null | null | null |
source | edk2 | /** @file ArchExceptionHandler.c
LoongArch64 CPU Exception Handler.
Copyright (c) 2024, Loongson Technology Corporation Limited. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Library/BaseLib.h>
#include <Register/LoongArch64/Csr.h>
#include "ExceptionCommon.h"
/**
Get ... | UefiCpuPkg/Library/CpuExceptionHandlerLib/LoongArch/LoongArch64/ArchExceptionHandler.c | null | null | null | null | null |
source | edk2 | #------------------------------------------------------------------------------
#
# LoongArch64 ASM exception handler
#
# Copyright (c) 2024, Loongson Technology Corporation Limited. All rights reserved.<BR>
#
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
#------------------------------------------------------------... | UefiCpuPkg/Library/CpuExceptionHandlerLib/LoongArch/LoongArch64/ExceptionHandlerAsm.S | null | null | null | null | null |
source | edk2 | /** @file
RISC-V backtrace implementation.
Copyright (c) 2016 - 2022, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
Copyright (c) 2011 - 2014, ARM Ltd. All rights reserved.<BR>
Copyright (c) 2023, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2025, Ventana Micro Systems Inc.... | UefiCpuPkg/Library/CpuExceptionHandlerLib/RiscV/Backtrace.c | null | null | null | null | null |
source | edk2 | /** @file
RISC-V backtrace definition file.
Copyright (c) 2025, Ventana Micro Systems Inc. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <PiPei.h>
#include <Uefi.h>
#include <Library/DebugLib.h>
#include <Library/BaseLib.h>
#include <Library/PeCoffExtraActio... | UefiCpuPkg/Library/CpuExceptionHandlerLib/RiscV/Backtrace.h | null | null | null | null | null |
source | edk2 | /** @file
RISC-V backtrace helper functions.
Copyright (c) 2016 - 2022, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
Copyright (c) 2011 - 2014, ARM Ltd. All rights reserved.<BR>
Copyright (c) 2023, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2025, Ventana Micro Systems In... | UefiCpuPkg/Library/CpuExceptionHandlerLib/RiscV/BacktraceHelper.c | null | null | null | null | null |
source | edk2 | /** @file
RISC-V backtrace helper functions for SEC.
Copyright (c) 2025, Ventana Micro Systems Inc. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "Backtrace.h"
/**
Use the EFI Debug Image Table to lookup the FaultAddress and find which PE/COFF image
it came from. As l... | UefiCpuPkg/Library/CpuExceptionHandlerLib/RiscV/BacktraceHelperSec.c | null | null | null | null | null |
source | edk2 | /** @file
RISC-V Exception Handler library definition file.
Copyright (c) 2019-2022, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Register/RiscV64/RiscVImpl.h>
/**
Trap Handler for S-mode
**/
VOID
EFIAPI
Superv... | UefiCpuPkg/Library/CpuExceptionHandlerLib/RiscV/ExceptionHandler.h | null | null | null | null | null |
source | edk2 | /** @file
RISC-V Processor supervisor mode trap handler
Copyright (c) 2019, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Base.h>
#include "ExceptionHandler.h"
.align 3
.section .entry, "ax", %progbits
.globl SupervisorMod... | UefiCpuPkg/Library/CpuExceptionHandlerLib/RiscV/ExceptionHandlerAsm.S | null | null | null | null | null |
source | edk2 | /** @file
RISC-V Exception Handler library implementation.
Copyright (c) 2016 - 2022, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
Copyright (c) 2011 - 2014, ARM Ltd. All rights reserved.<BR>
Copyright (c) 2023, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2025, Ventana Mi... | UefiCpuPkg/Library/CpuExceptionHandlerLib/RiscV/ExceptionLib.c | null | null | null | null | null |
source | edk2 | /** @file
Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
Four test cases are created in this Unit Test module.
a.Test if exception handler can be registered/unregistered for no error code exception
In this test case, only no error code exceptio... | UefiCpuPkg/Library/CpuExceptionHandlerLib/UnitTest/CpuExceptionHandlerTest.h | null | null | null | null | null |
source | edk2 | /** @file
Unit tests of the CpuExceptionHandlerLib.
Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "CpuExceptionHandlerTest.h"
//
// Length of the assembly falut instruction.
//
UINTN mFaultInstructionLength = 0;
EFI_EXCE... | UefiCpuPkg/Library/CpuExceptionHandlerLib/UnitTest/CpuExceptionHandlerTestCommon.c | null | null | null | null | null |
source | edk2 | /** @file
Unit tests of the CpuExceptionHandlerLib.
Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "CpuExceptionHandlerTest.h"
#include <Library/UefiBootServicesTableLib.h>
#include <Protocol/Timer.h>
/**
Initialize Bsp Idt with a ne... | UefiCpuPkg/Library/CpuExceptionHandlerLib/UnitTest/DxeCpuExceptionHandlerUnitTest.c | null | null | null | null | null |
source | edk2 | /** @file
Unit tests of the CpuExceptionHandlerLib.
Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "CpuExceptionHandlerTest.h"
#include <Library/PeimEntryPoint.h>
#include <Library/PeiServicesLib.h>
#include <Library/PeiServicesTablePoi... | UefiCpuPkg/Library/CpuExceptionHandlerLib/UnitTest/PeiCpuExceptionHandlerUnitTest.c | null | null | null | null | null |
source | edk2 | /** @file
Unit tests of the CpuExceptionHandlerLib.
Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "CpuExceptionHandlerTest.h"
GENERAL_REGISTER_IA32 mActualContextInHandler;
GENERAL_REGISTER_IA32 mActualContextAfterException;
//
// ... | UefiCpuPkg/Library/CpuExceptionHandlerLib/UnitTest/Ia32/ArchExceptionHandlerTest.c | null | null | null | null | null |
source | edk2 | /** @file
Unit tests of the CpuExceptionHandlerLib.
Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "CpuExceptionHandlerTest.h"
GENERAL_REGISTER mActualContextInHandler;
GENERAL_REGISTER mActualContextAfterException;
//
// In TestCpu... | UefiCpuPkg/Library/CpuExceptionHandlerLib/UnitTest/X64/ArchExceptionHandlerTest.c | null | null | null | null | null |
source | edk2 | /** @file
x64 CPU Exception Handler.
Copyright (c) 2012 - 2022, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "CpuExceptionCommon.h"
/**
Return address map of exception handler template so that C code can generate
exception tables.
@param IdtEntry... | UefiCpuPkg/Library/CpuExceptionHandlerLib/X64/ArchExceptionHandler.c | null | null | null | null | null |
source | edk2 | /** @file
X64 arch definition for CPU Exception Handler Library.
Copyright (c) 2013, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
typedef struct {
EFI_SYSTEM_CONTEXT_X64 SystemContext;
BOOLEAN ExceptionDataFlag;
UINTN ... | UefiCpuPkg/Library/CpuExceptionHandlerLib/X64/ArchInterruptDefs.h | null | null | null | null | null |
source | edk2 | /** @file
CPU Memory Map Unit Handler Library common functions.
Copyright (c) 2011-2020, ARM Limited. All rights reserved.
Copyright (c) 2016, Linaro Limited. All rights reserved.
Copyright (c) 2017, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2023, Ventana Micro Systems Inc. All Rights Reserv... | UefiCpuPkg/Library/CpuMmuLib/LoongArch64/CpuMmu.c | null | null | null | null | null |
source | edk2 | /** @file
Copyright (c) 2024 Loongson Technology Corporation Limited. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#define INVALID_PAGE 0
#define LEVEL5 5
#define LEVEL4 4
#define LEVEL3 3
#define LEVEL2 2
#define LEVEL1 1
#define PTE_ATTRIBUTES_MASK 0x6000000... | UefiCpuPkg/Library/CpuMmuLib/LoongArch64/Page.h | null | null | null | null | null |
source | edk2 | #------------------------------------------------------------------------------
#
# TLB refill exception handler
#
# Copyright (c) 2024 Loongson Technology Corporation Limited. All rights reserved.<BR>
#
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
#------------------------------------------------------------------... | UefiCpuPkg/Library/CpuMmuLib/LoongArch64/TlbExceptionHandle.S | null | null | null | null | null |
source | edk2 | /** @file
Copyright (c) 2024 Loongson Technology Corporation Limited. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
/**
TLB refill handler start.
@param none
@retval none
**/
VOID
HandleTlbRefillStart (
VOID
);
/**
TLB refill handler end.
@param none... | UefiCpuPkg/Library/CpuMmuLib/LoongArch64/TlbExceptionHandle.h | null | null | null | null | null |
source | edk2 | #------------------------------------------------------------------------------
#
# Invalid TLB operation function
#
# Copyright (c) 2024 Loongson Technology Corporation Limited. All rights reserved.<BR>
#
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
#----------------------------------------------------------------... | UefiCpuPkg/Library/CpuMmuLib/LoongArch64/TlbInvalid.S | null | null | null | null | null |
source | edk2 | /** @file
Copyright (c) 2024 Loongson Technology Corporation Limited. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
/**
Invalid corresponding TLB entries are based on the address given
@param Address The address corresponding to the invalid page table entry
@ret... | UefiCpuPkg/Library/CpuMmuLib/LoongArch64/TlbInvalid.h | null | null | null | null | null |
source | edk2 | /** @file
Internal header for CpuPageTableLib.
Copyright (c) 2022 - 2023, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Base.h>
#include <Library/BaseLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/DebugLib.h>
#include <Library/... | UefiCpuPkg/Library/CpuPageTableLib/CpuPageTable.h | null | null | null | null | null |
source | edk2 | /** @file
This library implements CpuPageTableLib that are generic for IA32 family CPU.
Copyright (c) 2022 - 2023, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "CpuPageTable.h"
/**
Set the IA32_PTE_4K.
@param[in] Pte4K Pointer to IA32_PTE_4K.
... | UefiCpuPkg/Library/CpuPageTableLib/CpuPageTableMap.c | null | null | null | null | null |
source | edk2 | /** @file
This library implements CpuPageTableLib that are generic for IA32 family CPU.
Copyright (c) 2022 - 2023, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "CpuPageTable.h"
/**
Return the attribute of a 2M/1G page table entry.
@param[in] PleB ... | UefiCpuPkg/Library/CpuPageTableLib/CpuPageTableParse.c | null | null | null | null | null |
source | edk2 | /** @file
Copyright (c) 2022, 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 <Uefi.h>
... | UefiCpuPkg/Library/CpuPageTableLib/UnitTest/CpuPageTableLibUnitTest.h | null | null | null | null | null |
source | edk2 | /** @file
Unit tests of the CpuPageTableLib instance of the CpuPageTableLib class
Copyright (c) 2022 - 2023, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "CpuPageTableLibUnitTest.h"
// --------------------------------------------------------------------... | UefiCpuPkg/Library/CpuPageTableLib/UnitTest/CpuPageTableLibUnitTestHost.c | null | null | null | null | null |
source | edk2 | /** @file
Pre-generated random number used by CpuPageTableLib test.
Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
UINTN mNumberCount = 50000;
UINT8 mNumbers[] = {
250, 22, 243, 87, 160, 129, 26, 103, 242, 136,
193, 195, 125, 18... | UefiCpuPkg/Library/CpuPageTableLib/UnitTest/RandomNumber.c | null | null | null | null | null |
source | edk2 | /** @file
Random test case for Unit tests of the CpuPageTableLib instance of the CpuPageTableLib class
Copyright (c) 2022 - 2023, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "CpuPageTableLibUnitTest.h"
#include "RandomTest.h"
UINTN ... | UefiCpuPkg/Library/CpuPageTableLib/UnitTest/RandomTest.c | null | null | null | null | null |
source | edk2 | /** @file
Internal header for Random test.
Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include "CpuPageTableLibUnitTest.h"
typedef struct _ALLOCATE_PAGE_RECORDS ALLOCATE_PAGE_RECORDS;
typedef
VOID *
(EFIAPI *ALLOCATE_PAGES)(
... | UefiCpuPkg/Library/CpuPageTableLib/UnitTest/RandomTest.h | null | null | null | null | null |
source | edk2 | /** @file
helper file for Unit tests of the CpuPageTableLib instance of the CpuPageTableLib class
Copyright (c) 2022 - 2023, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "CpuPageTableLibUnitTest.h"
#include "../CpuPageTable.h"
#define IA32_PAE_RESERVED_... | UefiCpuPkg/Library/CpuPageTableLib/UnitTest/TestHelper.c | null | null | null | null | null |
source | edk2 | /** @file
CPUID Leaf 0x15 for Core Crystal Clock frequency instance as Base Timer Library.
Copyright (c) 2019 Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Base.h>
#include <Library/TimerLib.h>
#include <Library/BaseLib.h>
/**
CPUID Leaf 0x15 for Core... | UefiCpuPkg/Library/CpuTimerLib/BaseCpuTimerLib.c | null | null | null | null | null |
source | edk2 | /** @file
CPUID Leaf 0x15 for Core Crystal Clock frequency instance of Timer Library.
Copyright (c) 2019 Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Base.h>
#include <Library/TimerLib.h>
#include <Library/BaseLib.h>
#include <Library/PcdLib.h>
#include... | UefiCpuPkg/Library/CpuTimerLib/CpuTimerLib.c | null | null | null | null | null |
source | edk2 | /** @file
CPUCFG 0x4 and 0x5 for Stable Counter frequency instance of Timer Library.
Copyright (c) 2024, Loongson Technology Corporation Limited. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Base.h>
#include <Library/BaseLib.h>
#include <Library/DebugLib.h>
#include <Libr... | UefiCpuPkg/Library/CpuTimerLib/LoongArch64/CpuTimerLib.c | null | null | null | null | null |
source | edk2 | /** @file
Implementation of MicrocodeLib.
Copyright (c) 2021, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Uefi/UefiBaseType.h>
#include <Register/Intel/Cpuid.h>
#include <Register/Intel/ArchitecturalMsr.h>
#include <Register/Intel/Microcode.h>
#include... | UefiCpuPkg/Library/MicrocodeLib/MicrocodeLib.c | null | null | null | null | null |
source | edk2 | /** @file
Provides services to access SMRAM Save State Map
Copyright (c) 2010 - 2019, Intel Corporation. All rights reserved.<BR>
Copyright (C) 2023 - 2025 Advanced Micro Devices, Inc. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "MmSaveState.h"
#include <Register/Amd/SmramSaveS... | UefiCpuPkg/Library/MmSaveStateLib/AmdMmSaveState.c | null | null | null | null | null |
source | edk2 | /** @file
Provides services to access SMRAM Save State Map
Copyright (c) 2010 - 2019, 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 "MmSaveState.h"
#include <Register/Intel/SmramSaveStateM... | UefiCpuPkg/Library/MmSaveStateLib/IntelMmSaveState.c | null | null | null | null | null |
source | edk2 | /** @file
SMRAM Save State Map header file.
Copyright (c) 2010 - 2019, Intel Corporation. All rights reserved.<BR>
Copyright (C) 2023 Advanced Micro Devices, Inc. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Uefi/UefiBaseType.h>
#include <Protocol/MmCpu.h>... | UefiCpuPkg/Library/MmSaveStateLib/MmSaveState.h | null | null | null | null | null |
source | edk2 | /** @file
Provides common supporting function to access SMRAM Save State Map
Copyright (c) 2010 - 2019, 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 "MmSaveState.h"
// Table use... | UefiCpuPkg/Library/MmSaveStateLib/MmSaveStateCommon.c | null | null | null | null | null |
source | edk2 | /** @file
The instance of MM Unblock Page Library.
This library provides an interface to request non-MMRAM pages to be mapped/unblocked
from inside MM environment.
For MM modules that need to access regions outside of MMRAMs, the agents that set up
these regions are responsible for invoking this API in order ... | UefiCpuPkg/Library/MmUnblockMemoryLib/MmUnblockMemoryLib.c | null | null | null | null | null |
source | edk2 | /** @file
CPU MP Initialize helper function for AMD SEV.
Copyright (c) 2021, AMD Inc. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "MpLib.h"
#include <Library/CcExitLib.h>
/**
Get Protected mode code segment with 16-bit default addressing
from current GDT table.
@... | UefiCpuPkg/Library/MpInitLib/AmdSev.c | null | null | null | null | null |
source | edk2 | /** @file
MP initialize support functions for DXE phase.
Copyright (c) 2016 - 2024, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2024, AMD Inc. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "MpLib.h"
#include <Library/UefiLib.h>
#include <Library/UefiBootSer... | UefiCpuPkg/Library/MpInitLib/DxeMpLib.c | null | null | null | null | null |
source | edk2 | /** @file
Implementation of loading microcode on processors.
Copyright (c) 2015 - 2021, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "MpLib.h"
/**
Detect whether specified processor can find matching microcode patch and load it.
@param[in] CpuMpDa... | UefiCpuPkg/Library/MpInitLib/Microcode.c | null | null | null | null | null |
source | edk2 | /** @file
Defines the HOB GUID, which is utilized for transferring essential
information from the PEI to the DXE phase.
Copyright (c) 2015 - 2023, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#define MP_HANDOFF_GUID \
{ \
0x11e2bd88, 0xed38,... | UefiCpuPkg/Library/MpInitLib/MpHandOff.h | null | null | null | null | null |
source | edk2 | /** @file
CPU MP Initialize Library common functions.
Copyright (c) 2016 - 2024, Intel Corporation. All rights reserved.<BR>
Copyright (C) 2020 - 2025 Advanced Micro Devices, Inc. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "MpLib.h"
#include <Library/CcExitLib.h>
#inc... | UefiCpuPkg/Library/MpInitLib/MpLib.c | null | null | null | null | null |
source | edk2 | /** @file
Common header file for MP Initialize Library.
Copyright (c) 2016 - 2024, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2020 - 2024, AMD Inc. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <PiPei.h>
#include <Register/Intel/Cpuid.h>
#in... | UefiCpuPkg/Library/MpInitLib/MpLib.h | null | null | null | null | null |
source | edk2 | /** @file
MP initialize support functions for PEI phase.
Copyright (c) 2016 - 2024, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "MpLib.h"
#include <Library/PeiServicesLib.h>
#include <Guid/S3SmmInitDone.h>
#include <Guid/EndOfS3Resume.h>
#include <Ppi/S... | UefiCpuPkg/Library/MpInitLib/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"
/**
Create an SEV-SNP AP save area (VMSA) for use in running the vCPU.
@param[in] CpuMpData Pointer to CPU MP Data
@para... | UefiCpuPkg/Library/MpInitLib/Ia32/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 <Base.h>
/**
Only create page table for x64, and leave the CreatePa... | UefiCpuPkg/Library/MpInitLib/Ia32/CreatePageTable.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.