TianoCore EDK2 master
|
#include "PiSmmCpuCommon.h"
Go to the source code of this file.
Functions | |
VOID EFIAPI | InitializeIDTSmmStackGuard (VOID) |
VOID * | InitGdt (IN UINTN Cr3, OUT UINTN *GdtStepSize) |
VOID | InitShadowStack (IN UINTN CpuIndex, IN VOID *ShadowStack) |
Variables | |
UINT64 | gTaskGateDescriptor |
EFI_PHYSICAL_ADDRESS | mGdtBuffer |
UINTN | mGdtBufferSize |
BOOLEAN | mCetSupported |
X86_ASSEMBLY_PATCH_LABEL | mPatchCetPl0Ssp |
X86_ASSEMBLY_PATCH_LABEL | mPatchCetInterruptSsp |
UINT32 | mCetPl0Ssp |
UINT32 | mCetInterruptSsp |
SMM CPU misc functions for Ia32 arch specific.
Copyright (c) 2015 - 2024, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file SmmFuncsArch.c.
Initialize Gdt for all processors.
[in] | Cr3 | CR3 value. |
[out] | GdtStepSize | The step size for GDT table. |
Definition at line 55 of file SmmFuncsArch.c.
VOID EFIAPI InitializeIDTSmmStackGuard | ( | VOID | ) |
Initialize IDT for SMM Stack Guard.
Definition at line 29 of file SmmFuncsArch.c.
Initialize the shadow stack related data structure.
CpuIndex | The index of CPU. |
ShadowStack | The bottom of the shadow stack for this CPU. |
Definition at line 151 of file SmmFuncsArch.c.
UINT32 mCetInterruptSsp |
Definition at line 21 of file SmmFuncsArch.c.
UINT32 mCetPl0Ssp |
Definition at line 20 of file SmmFuncsArch.c.
|
extern |
Definition at line 94 of file PiSmmCpuCommon.c.
EFI_PHYSICAL_ADDRESS mGdtBuffer |
Definition at line 13 of file SmmFuncsArch.c.
UINTN mGdtBufferSize |
Definition at line 14 of file SmmFuncsArch.c.
X86_ASSEMBLY_PATCH_LABEL mPatchCetInterruptSsp |
Definition at line 19 of file SmmFuncsArch.c.
X86_ASSEMBLY_PATCH_LABEL mPatchCetPl0Ssp |
Definition at line 18 of file SmmFuncsArch.c.