pub fn pkey_read(pkey: RawPkey) -> PkeyAccessRights {
    let pkru = rdpkru();
    let rights = (pkru >> (2 * pkey as i32)) & 0x3;
    PkeyAccessRights::from_bits(rights).unwrap()
}
/// Read access right of given pkey.
Read access right of given pkey.
Read access right of given pkey .
pub fn pkey_read(pkey: RawPkey) -> PkeyAccessRights {
    let pkru = rdpkru();
    let rights = (pkru >> (2 * pkey as i32)) & 0x3;
    PkeyAccessRights::from_bits(rights).unwrap()
}
pub fn pkey_read ( pkey : RawPkey ) -> PkeyAccessRights { let pkru = rdpkru ( ) ; let rights = ( pkru >> ( 2 * pkey as i32 ) ) & 0x3 ; PkeyAccessRights :: from_bits ( rights ) . unwrap ( ) }
Read access right of given pkey.
Read access right of given pkey .
pkey
RawPkey
pkey
RawPkey