pub fn new(
        ma_uaddr: Option<&'a [u8]>,
        policy: SnpPolicy,
        imi_en: bool,
        gosvw: [u8; 16],
    ) -> Self {
        Self {
            ma_uaddr,
            policy,
            ma_en: ma_uaddr.is_some(),
            imi_en,
            gosvw,
        }
    }
/// Encapsulate all data needed for the SNP_LAUNCH_START ioctl.
Encapsulate all data needed for the SNP_LAUNCH_START ioctl.
Encapsulate all data needed for the SNP_LAUNCH_START ioctl .
pub fn new(
        ma_uaddr: Option<&'a [u8]>,
        policy: SnpPolicy,
        imi_en: bool,
        gosvw: [u8; 16],
    ) -> Self {
        Self {
            ma_uaddr,
            policy,
            ma_en: ma_uaddr.is_some(),
            imi_en,
            gosvw,
        }
    }
pub fn new ( ma_uaddr : Option < & ' a [ u8 ] > , policy : SnpPolicy , imi_en : bool , gosvw : [ u8 ; 16 ] , ) -> Self { Self { ma_uaddr , policy , ma_en : ma_uaddr . is_some ( ) , imi_en , gosvw , } }
Encapsulate all data needed for the SNP_LAUNCH_START ioctl.
Encapsulate all data needed for the SNP_LAUNCH_START ioctl .
ma_uaddr
Option<&'a [u8]>
policy
SnpPolicy
imi_en
bool
gosvw
[u8; 16]