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 - 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.
- 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
.
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