pub fn new(
        start_gfn: u64,
        uaddr: &'a [u8],
        imi_page: bool,
        page_type: SnpPageType,
        perms: (VmplPerms, VmplPerms, VmplPerms),
    ) -> Self {
        Self {
            start_gfn,
            uaddr,
            imi_page,
            page_type,
            vmpl3_perms: perms.2,
            vmpl2_perms: perms.1,
            vmpl1_perms: perms.0,
        }
    }
/// Encapsulate all data needed for the SNP_LAUNCH_UPDATE ioctl.
Encapsulate all data needed for the SNP_LAUNCH_UPDATE ioctl.
Encapsulate all data needed for the SNP_LAUNCH_UPDATE ioctl .
pub fn new(
        start_gfn: u64,
        uaddr: &'a [u8],
        imi_page: bool,
        page_type: SnpPageType,
        perms: (VmplPerms, VmplPerms, VmplPerms),
    ) -> Self {
        Self {
            start_gfn,
            uaddr,
            imi_page,
            page_type,
            vmpl3_perms: perms.2,
            vmpl2_perms: perms.1,
            vmpl1_perms: perms.0,
        }
    }
pub fn new ( start_gfn : u64 , uaddr : & ' a [ u8 ] , imi_page : bool , page_type : SnpPageType , perms : ( VmplPerms , VmplPerms , VmplPerms ) , ) -> Self { Self { start_gfn , uaddr , imi_page , page_type , vmpl3_perms : perms . 2 , vmpl2_perms : perms . 1 , vmpl1_perms : perms . 0 , } }
Encapsulate all data needed for the SNP_LAUNCH_UPDATE ioctl.
Encapsulate all data needed for the SNP_LAUNCH_UPDATE ioctl .
start_gfn
u64
uaddr
&'a [u8]
imi_page
bool
page_type
SnpPageType
perms
(VmplPerms, VmplPerms, VmplPerms)