pub unsafe fn invept(invalidation: InvEptType, eptp: u64) -> Result<()> {
    let descriptor = InvEptDescriptor::new(eptp);
    asm!("invept {}, [{}]", in(reg) invalidation as u64, in(reg) &descriptor);
    vmx_capture_status()
}
/// Invalidate Translations Derived from EPT.
///
/// # Safety
///
/// This function is unsafe because the caller must ensure that the given
/// EPT pointer `eptp` is valid, and it's possible to violate memory safety
/// through execution.
Invalidate Translations Derived from EPT.
Invalidate Translations Derived from EPT .
pub unsafe fn invept(invalidation: InvEptType, eptp: u64) -> Result<()> {
    let descriptor = InvEptDescriptor::new(eptp);
    asm!("invept {}, [{}]", in(reg) invalidation as u64, in(reg) &descriptor);
    vmx_capture_status()
}
pub unsafe fn invept ( invalidation : InvEptType , eptp : u64 ) -> Result < ( ) > { let descriptor = InvEptDescriptor :: new ( eptp ) ; asm ! ( " " in ( reg ) invalidation as u64 in ( reg ) descriptor ) ; vmx_capture_status ( ) }
Invalidate Translations Derived from EPT.
Invalidate Translations Derived from EPT .
invalidation
InvEptType
eptp
u64
invalidation
InvEptType
eptp
u64
safety
This function is unsafe because the caller must ensure that the given
EPT pointer `eptp` is valid, and it's possible to violate memory safety
through execution.
This function is unsafe because the caller must ensure that the given EPT pointer ` eptp ` is valid and it ' s possible to violate memory safety through execution .