#[repr(transparent)]pub struct SecPlatformType(pub u64);Expand description
SEC platform type passed by the loader to the firmware in x2 at SEC
entry on aarch64. Mirrors MSVM_SEC_PLATFORM_TYPE in the mu_msvm
firmware (MsvmPkg/Include/Ppi/SecPlatformType.h).
Tuple Fields§
§0: u64Implementations§
Source§impl SecPlatformType
impl SecPlatformType
Sourcepub const HYPERV: SecPlatformType
pub const HYPERV: SecPlatformType
Hyper-V with Microsoft extensions.
Sourcepub const GENERIC: SecPlatformType
pub const GENERIC: SecPlatformType
Generic virtualization without Microsoft hypervisor extensions.
Trait Implementations§
Source§impl Clone for SecPlatformType
impl Clone for SecPlatformType
Source§fn clone(&self) -> SecPlatformType
fn clone(&self) -> SecPlatformType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SecPlatformType
impl Debug for SecPlatformType
Source§impl Hash for SecPlatformType
impl Hash for SecPlatformType
Source§impl Ord for SecPlatformType
impl Ord for SecPlatformType
Source§fn cmp(&self, other: &SecPlatformType) -> Ordering
fn cmp(&self, other: &SecPlatformType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SecPlatformType
impl PartialEq for SecPlatformType
Source§impl PartialOrd for SecPlatformType
impl PartialOrd for SecPlatformType
impl Copy for SecPlatformType
impl Eq for SecPlatformType
impl StructuralPartialEq for SecPlatformType
Auto Trait Implementations§
impl Freeze for SecPlatformType
impl RefUnwindSafe for SecPlatformType
impl Send for SecPlatformType
impl Sync for SecPlatformType
impl Unpin for SecPlatformType
impl UnsafeUnpin for SecPlatformType
impl UnwindSafe for SecPlatformType
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