Expand description
AMD SEV-SNP specific definitions.
Structs§
- Ghcb
Hypercall Parameters - Struct representing GHCB hypercall parameters. These are located at the GHCB
page starting at
GHCB_PAGE_HYPERCALL_PARAMETERS_OFFSET
. - Ghcb
Info - GhcbMsr
- Ghcb
Usage - Guest
Field Select - Indicate which guest-selectable fields will be mixed into the key.
See
GUEST_FIELD_SELECT
in Table 19, “SEV Secure Nested Paging Firmware ABI specification”, Revision 1.55. - HvPsp
Cpuid Leaf - PSP data structures.
- HvPsp
Cpuid Page - MovCrx
DrxInfo - SevEvent
Inject Info - SevExit
Code - SevFeatures
- SevInvlpgb
Ecx - SevInvlpgb
Edx - SevInvlpgb
Rax - SevIo
Access Info - SevNpf
Info - SevRmp
Adjust - SevSelector
- A X64 selector register.
- SevStatus
Msr - SevVirtual
Interrupt Control - SevVmsa
- SEV VMSA structure representing CPU state
- SevXmm
Register - An X64 XMM register.
- SnpDerived
KeyReq - Request structure for the
SNP_GET_DERIVED_KEY
request. SeeMSG_KEY_REQ
in Table 18, “SEV Secure Nested Paging Firmware ABI specification”, Revision 1.55. - SnpDerived
KeyResp - Response structure for the
SNP_GET_DERIVED_KEY
request. SeeMSG_KEY_RSP
in Table 20, “SEV Secure Nested Paging Firmware ABI specification”, Revision 1.55. - SnpPage
Info - Structure describing the pages being read during SNP ID block measurement. Each structure is hashed with the previous structures digest to create a final measurement
- SnpPage
Type - The type of page described by
SnpPageInfo
- SnpPsp
IdBlock - Structure containing the completed SNP measurement of the IGVM file.
The signature of the hash of this struct is the id_key_signature for
igvm_defs::IGVM_VHS_SNP_ID_BLOCK
. - SnpReport
- Report structure.
See
ATTESTATION_REPORT
in Table 22, “SEV Secure Nested Paging Firmware ABI specification”, Revision 1.55. - SnpReport
Req - Request structure for the
SNP_GET_REPORT
request. SeeMSG_REPORT_REQ
in Table 21, “SEV Secure Nested Paging Firmware ABI specification”, Revision 1.55. - SnpReport
Resp - Response structure for the
SNP_GET_REPORT
request. SeeMSG_REPORT_RSP
in Table 24, “SEV Secure Nested Paging Firmware ABI specification”, Revision 1.55.
Enums§
Constants§
- GHCB_
DATA_ PAGE_ STATE_ LARGE_ PAGE - GHCB_
DATA_ PAGE_ STATE_ MASK - GHCB_
DATA_ PAGE_ STATE_ PRIVATE - GHCB_
DATA_ PAGE_ STATE_ PSMASH - GHCB_
DATA_ PAGE_ STATE_ SHARED - GHCB_
DATA_ PAGE_ STATE_ UNSMASH - GHCB_
PAGE_ HYPERCALL_ OUTPUT_ OFFSET - GHCB_
PAGE_ HYPERCALL_ PARAMETERS_ OFFSET - HV_
PSP_ CPUID_ LEAF_ COUNT_ MAX - REG_
TWEAK_ BITMAP_ OFFSET - REG_
TWEAK_ BITMAP_ SIZE - SEV_
INTR_ TYPE_ EXCEPT - SEV_
INTR_ TYPE_ EXT - SEV_
INTR_ TYPE_ NMI - SEV_
INTR_ TYPE_ SW - SNP_
DERIVED_ KEY_ SIZE - See
DERIVED_KEY
in Table 20, “SEV Secure Nested Paging Firmware ABI specification”, Revision 1.55. - SNP_
GUEST_ REQ_ MSG_ VERSION - Value for the
msg_version
member inSNP_GUEST_REQ_MSG_VERSION
. Use 1 for now. - SNP_
REPORT_ DATA_ SIZE - Size of
report_data
member inSnpReport
. - SNP_
REPORT_ RESP_ DATA_ SIZE - SNP_
REPORT_ SIZE - Size of the
SnpReport
.