TianoCore EDK2 master
|
#include <Library/BaseLib.h>
#include <Library/DebugLib.h>
#include <Library/MemEncryptSevLib.h>
#include <Library/PcdLib.h>
#include <Register/Amd/SmramSaveStateMap.h>
#include <Register/SmramSaveStateMap.h>
#include <Uefi/UefiBaseType.h>
Go to the source code of this file.
Functions | |
RETURN_STATUS EFIAPI | MemEncryptSevLocateInitialSmramSaveStateMapPages (OUT UINTN *BaseAddress, OUT UINTN *NumberOfPages) |
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.
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.
[out] | BaseAddress | The base address of the lowest-address page that covers the initial SMRAM Save State Map. |
[out] | NumberOfPages | The number of pages in the page range that covers the initial SMRAM Save State Map. |
RETURN_SUCCESS | BaseAddress and NumberOfPages have been set on output. |
RETURN_UNSUPPORTED | SMM is unavailable. |
Definition at line 36 of file PeiDxeMemEncryptSevLibInternal.c.