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

Go to the source code of this file.

Functions

RETURN_STATUS EFIAPI MemEncryptSevLocateInitialSmramSaveStateMapPages (OUT UINTN *BaseAddress, OUT UINTN *NumberOfPages)
 

Detailed Description

Secure Encrypted Virtualization (SEV) library helper function

Copyright (c) 2017 - 2020, AMD Incorporated. All rights reserved.

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

Definition in file PeiDxeMemEncryptSevLibInternal.c.

Function Documentation

◆ MemEncryptSevLocateInitialSmramSaveStateMapPages()

RETURN_STATUS EFIAPI MemEncryptSevLocateInitialSmramSaveStateMapPages ( OUT UINTN BaseAddress,
OUT UINTN NumberOfPages 
)

Locate the page range that covers the initial (pre-SMBASE-relocation) SMRAM Save State Map.

Parameters
[out]BaseAddressThe base address of the lowest-address page that covers the initial SMRAM Save State Map.
[out]NumberOfPagesThe number of pages in the page range that covers the initial SMRAM Save State Map.
Return values
RETURN_SUCCESSBaseAddress and NumberOfPages have been set on output.
RETURN_UNSUPPORTEDSMM is unavailable.

Definition at line 36 of file PeiDxeMemEncryptSevLibInternal.c.