#[repr(C)]pub struct DcfgArmGenericTimerMmioFrame {
pub mmio_phys_el1: u64,
pub mmio_phys_el0: u64,
pub irq_phys: u32,
pub irq_phys_flags: u32,
pub irq_virt: u32,
pub irq_virt_flags: u32,
}
Fields§
§mmio_phys_el1: u64
Base address for the frame’s EL1 view.
mmio_phys_el0: u64
Base address for the frame’s EL0 view. This is optional.
irq_phys: u32
IRQ information for physical timer. This is mandatory.
irq_phys_flags: u32
Same scheme as DcfgSimple::irq
. This is mandatory.
irq_virt: u32
IRQ information for virtual timer.
This is optional.
When is not present both irq_virt
and irq_virt_flags
will be zero.
irq_virt_flags: u32
Same scheme as DcfgSimple::irq
.
Trait Implementations§
Source§impl Clone for DcfgArmGenericTimerMmioFrame
impl Clone for DcfgArmGenericTimerMmioFrame
Source§fn clone(&self) -> DcfgArmGenericTimerMmioFrame
fn clone(&self) -> DcfgArmGenericTimerMmioFrame
Returns a copy 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 DcfgArmGenericTimerMmioFrame
impl Debug for DcfgArmGenericTimerMmioFrame
Source§impl FromBytes for DcfgArmGenericTimerMmioFrame
impl FromBytes for DcfgArmGenericTimerMmioFrame
Source§impl FromZeros for DcfgArmGenericTimerMmioFrame
impl FromZeros for DcfgArmGenericTimerMmioFrame
Source§impl IntoBytes for DcfgArmGenericTimerMmioFrame
impl IntoBytes for DcfgArmGenericTimerMmioFrame
§fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
Gets the bytes of this value mutably. Read more
Source§impl PartialEq for DcfgArmGenericTimerMmioFrame
impl PartialEq for DcfgArmGenericTimerMmioFrame
Source§fn eq(&self, other: &DcfgArmGenericTimerMmioFrame) -> bool
fn eq(&self, other: &DcfgArmGenericTimerMmioFrame) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl TryFromBytes for DcfgArmGenericTimerMmioFrame
impl TryFromBytes for DcfgArmGenericTimerMmioFrame
§fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
§fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
§fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
impl Copy for DcfgArmGenericTimerMmioFrame
impl Eq for DcfgArmGenericTimerMmioFrame
impl StructuralPartialEq for DcfgArmGenericTimerMmioFrame
Auto Trait Implementations§
impl Freeze for DcfgArmGenericTimerMmioFrame
impl RefUnwindSafe for DcfgArmGenericTimerMmioFrame
impl Send for DcfgArmGenericTimerMmioFrame
impl Sync for DcfgArmGenericTimerMmioFrame
impl Unpin for DcfgArmGenericTimerMmioFrame
impl UnwindSafe for DcfgArmGenericTimerMmioFrame
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