TianoCore EDK2 master
|
#include <Guid/GhcbApicIds.h>
#include <IndustryStandard/Q35MchIch9.h>
#include <Library/BaseMemoryLib.h>
#include <Library/DebugLib.h>
#include <Library/HobLib.h>
#include <Library/MemEncryptSevLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/PcdLib.h>
#include <Pi/PiHob.h>
#include <PiPei.h>
#include <Register/Amd/Msr.h>
#include <Register/Intel/SmramSaveStateMap.h>
#include <Library/CcExitLib.h>
#include <ConfidentialComputingGuestAttr.h>
#include "Platform.h"
Go to the source code of this file.
Functions | |
STATIC UINT64 | GetHypervisorFeature (VOID) |
STATIC VOID | AmdSevSnpGetApicIds (VOID) |
STATIC VOID | AmdSevSnpInitialize (VOID) |
STATIC VOID | SevEsProtocolFailure (IN UINT8 ReasonCode) |
STATIC VOID | GhcbRegister (IN EFI_PHYSICAL_ADDRESS Address) |
STATIC VOID | AmdSevEsInitialize (IN EFI_HOB_PLATFORM_INFO *PlatformInfoHob) |
VOID | AmdSevInitialize (IN OUT EFI_HOB_PLATFORM_INFO *PlatformInfoHob) |
VOID | SevInitializeRam (VOID) |
Initialize Secure Encrypted Virtualization (SEV) support
Copyright (c) 2017 - 2024, Advanced Micro Devices. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file AmdSev.c.
STATIC VOID AmdSevEsInitialize | ( | IN EFI_HOB_PLATFORM_INFO * | PlatformInfoHob | ) |
VOID AmdSevInitialize | ( | IN OUT EFI_HOB_PLATFORM_INFO * | PlatformInfoHob | ) |
STATIC VOID AmdSevSnpGetApicIds | ( | VOID | ) |
STATIC VOID AmdSevSnpInitialize | ( | VOID | ) |
STATIC UINT64 GetHypervisorFeature | ( | VOID | ) |
STATIC VOID GhcbRegister | ( | IN EFI_PHYSICAL_ADDRESS | Address | ) |