|
TianoCore EDK2 master
|
Go to the source code of this file.
Data Structures | |
| union | SVSM_PVALIDATE_ENTRY |
| union | SVSM_REQUEST |
| union | SVSM_FUNCTION |
Macros | |
| #define | SVSM_SUCCESS 0x00000000 |
| #define | SVSM_ERR_INCOMPLETE 0x80000000 |
| #define | SVSM_ERR_UNSUPPORTED_PROTOCOL 0x80000001 |
| #define | SVSM_ERR_UNSUPPORTED_CALL 0x80000002 |
| #define | SVSM_ERR_INVALID_ADDRESS 0x80000003 |
| #define | SVSM_ERR_INVALID_FORMAT 0x80000004 |
| #define | SVSM_ERR_INVALID_PARAMETER 0x80000005 |
| #define | SVSM_ERR_INVALID_REQUEST 0x80000006 |
| #define | SVSM_ERR_BUSY 0x80000007 |
| #define | SVSM_ERR_PVALIDATE_FAIL_INPUT 0x80001001 |
| #define | SVSM_ERR_PVALIDATE_FAIL_SIZE_MISMATCH 0x80001006 |
| #define | SVSM_ERR_PVALIDATE_FAIL_NO_CHANGE 0x80001010 |
| #define | SVSM_PVALIDATE_MAX_ENTRY ((sizeof (((SVSM_CAA *)0)->SvsmBuffer) - sizeof (SVSM_PVALIDATE_HEADER)) / sizeof (SVSM_PVALIDATE_ENTRY)) |
Typedefs | |
| struct { | |
| UINT8 Reserved1 [320] | |
| UINT64 SvsmBase | |
| UINT64 SvsmSize | |
| UINT64 SvsmCaa | |
| UINT32 SvsmMaxVersion | |
| UINT8 SvsmGuestVmpl | |
| UINT8 Reserved2 [3] | |
| } | SVSM_INFORMATION |
| struct { | |
| UINT8 SvsmCallPending | |
| UINT8 SvsmMemAvailable | |
| UINT8 Reserved1 [6] | |
| UINT8 SvsmBuffer [SIZE_4KB - 8] | |
| } | SVSM_CAA |
| struct { | |
| UINT16 Entries | |
| UINT16 Next | |
| UINT8 Reserved [4] | |
| } | SVSM_PVALIDATE_HEADER |
| struct { | |
| SVSM_PVALIDATE_HEADER Header | |
| SVSM_PVALIDATE_ENTRY Entry [] | |
| } | SVSM_PVALIDATE_REQUEST |
Secure VM Service Module (SVSM) Definition.
Provides data types allowing an SEV-SNP guest to interact with the SVSM.
Copyright (C) 2024, Advanced Micro Devices, Inc. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file Svsm.h.
| #define SVSM_PVALIDATE_MAX_ENTRY ((sizeof (((SVSM_CAA *)0)->SvsmBuffer) - sizeof (SVSM_PVALIDATE_HEADER)) / sizeof (SVSM_PVALIDATE_ENTRY)) |
| SVSM_PVALIDATE_ENTRY Entry[] |