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

Go to the source code of this file.

Functions

VOID EFIAPI MemEncryptSevSnpPreValidateSystemRam (IN PHYSICAL_ADDRESS BaseAddress, IN UINTN NumPages)
 

Variables

STATIC VOID * mPscBuffer = NULL
 

Detailed Description

SEV-SNP Page Validation functions.

Copyright (c) 2021 - 2024, AMD Incorporated. All rights reserved.

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

Definition in file DxeSnpSystemRamValidate.c.

Function Documentation

◆ MemEncryptSevSnpPreValidateSystemRam()

VOID EFIAPI MemEncryptSevSnpPreValidateSystemRam ( IN PHYSICAL_ADDRESS  BaseAddress,
IN UINTN  NumPages 
)

Pre-validate the system RAM when SEV-SNP is enabled in the guest VM.

Parameters
[in]BaseAddressBase address
[in]NumPagesNumber of pages starting from the base address

Definition at line 30 of file DxeSnpSystemRamValidate.c.

Variable Documentation

◆ mPscBuffer

STATIC VOID* mPscBuffer = NULL

Definition at line 19 of file DxeSnpSystemRamValidate.c.