pub struct TdcallInput {
pub leaf: TdCallLeaf,
pub rcx: u64,
pub rdx: u64,
pub r8: u64,
pub r9: u64,
pub r10: u64,
pub r11: u64,
pub r12: u64,
pub r13: u64,
pub r14: u64,
pub r15: u64,
}
Expand description
Input to a tdcall. This is not defined in the TDX specification, but a contract between callers of this module and this module’s handling of tdcalls.
Fields§
§leaf: TdCallLeaf
The leaf for the tdcall (eax)
rcx: u64
rcx
rdx: u64
rdx
r8: u64
r8
r9: u64
r9
r10: u64
r10
r11: u64
r11
r12: u64
r12
r13: u64
r13
r14: u64
r14
r15: u64
r15
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TdcallInput
impl RefUnwindSafe for TdcallInput
impl Send for TdcallInput
impl Sync for TdcallInput
impl Unpin for TdcallInput
impl UnwindSafe for TdcallInput
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more