TianoCore EDK2 master
Loading...
Searching...
No Matches
TpmMmioSevDecryptPeim.c File Reference

Go to the source code of this file.

Functions

EFI_STATUS EFIAPI TpmMmioSevDecryptPeimEntryPoint (IN EFI_PEI_FILE_HANDLE FileHandle, IN CONST EFI_PEI_SERVICES **PeiServices)
 

Variables

STATIC CONST EFI_PEI_PPI_DESCRIPTOR mTpmMmioRangeAccessible
 

Detailed Description

Map TPM MMIO range unencrypted when SEV-ES is active. Install gOvmfTpmMmioAccessiblePpiGuid unconditionally.

Copyright (C) 2021, Advanced Micro Devices, Inc.

SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file TpmMmioSevDecryptPeim.c.

Function Documentation

◆ TpmMmioSevDecryptPeimEntryPoint()

EFI_STATUS EFIAPI TpmMmioSevDecryptPeimEntryPoint ( IN EFI_PEI_FILE_HANDLE  FileHandle,
IN CONST EFI_PEI_SERVICES **  PeiServices 
)

The entry point for TPM MMIO range mapping driver.

Parameters
[in]FileHandleHandle of the file being invoked.
[in]PeiServicesDescribes the list of possible PEI Services.
Return values
EFI_ABORTEDNo need to keep this PEIM resident

Definition at line 33 of file TpmMmioSevDecryptPeim.c.

Variable Documentation

◆ mTpmMmioRangeAccessible

STATIC CONST EFI_PEI_PPI_DESCRIPTOR mTpmMmioRangeAccessible
Initial value:
= {
EFI_PEI_PPI_DESCRIPTOR_PPI | EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST,
&gOvmfTpmMmioAccessiblePpiGuid,
}
#define NULL
Definition: Base.h:319

Definition at line 17 of file TpmMmioSevDecryptPeim.c.