Module snp

Source
Expand description

AMD SEV-SNP specific definitions.

Structs§

GhcbHypercallParameters
Struct representing GHCB hypercall parameters. These are located at the GHCB page starting at GHCB_PAGE_HYPERCALL_PARAMETERS_OFFSET.
GhcbInfo
GhcbMsr
GhcbUsage
HvPspCpuidLeaf
PSP data structures.
HvPspCpuidPage
MovCrxDrxInfo
SevEventInjectInfo
SevExitCode
SevFeatures
SevInvlpgbEcx
SevInvlpgbEdx
SevInvlpgbRax
SevIoAccessInfo
SevNpfInfo
SevRmpAdjust
SevSelector
A X64 selector register.
SevStatusMsr
SevVirtualInterruptControl
SevVmsa
SEV VMSA structure representing CPU state
SevXmmRegister
An X64 XMM register.
SnpPageInfo
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
SnpPageType
The type of page described by SnpPageInfo
SnpPspIdBlock
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§

Vmpl

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