Re-exports§
pub use self::tdcall::accept_page;pub use self::tdcall::get_veinfo;pub use self::tdcall::TdgVeInfo;pub use self::tdcall::TdxVirtualExceptionType;pub use self::tdvmcall::cpuid;pub use self::tdvmcall::hlt;pub use self::tdvmcall::print;pub use self::tdvmcall::rdmsr;pub use self::tdvmcall::wrmsr;pub use self::tdvmcall::TDX_LOGGER;
Modules§
- metadata
- tdcall
- The TDCALL instruction causes a VM exit to the Intel TDX module.
- tdvmcall
- The TDVMCALL helps invoke services from the host VMM. From the perspective of the host VMM, the TDVMCALL is a trap-like, VM exit into the host VMM, reported via the SEAMRET instruction flow.
- unaccepted_
memory - Support for unaccepted memory in TDX guest environments.
This module provides mechanisms to manage and accept unaccepted memory regions in TDX guests.
The core data structure is
EfiUnacceptedMemory, which represents the EFI table header and provides methods to manipulate the unaccepted memory bitmap and perform acceptance operations.
Macros§
Structs§
- TdAttributes
- TdAttributes is defined as a 64b field that specifies various attested guest TD attributes.
Enums§
Statics§
Traits§
Functions§
- accept_
memory ⚠ - Accepts a range of physical memory to be used as TDX private memory.
- disable_
sept_ ve - enable_
cpu_ topology_ enumeration - handle_
virtual_ exception - init_
tdx - Performs full initialization of the Intel TDX guest environment.
- is_
tdx_ guest_ early - Returns true if the system is identified as an Intel TDX guest during early boot.
- reduce_
unnecessary_ ve - tdx_
is_ enabled