pub struct Distributor { /* private fields */ }
Implementations§
Source§impl Distributor
impl Distributor
pub fn new(gicd_base: u64, gicr_range: MemoryRange, max_spis: u32) -> Self
pub fn add_redistributor(&mut self, mpidr: u64, last: bool) -> Redistributor
pub fn raise_ppi(&self, vp: VpIndex, intid: u32) -> bool
pub fn set_pending(&self, intid: u32, pending: bool) -> Option<u32>
pub fn irq_pending(&self, gicr: &Redistributor) -> bool
pub fn ack(&self, gicr: &mut Redistributor, group1: bool) -> u32
pub fn write_sysreg( &self, gicr: &mut Redistributor, reg: SystemReg, value: u64, wake: impl FnMut(usize), ) -> bool
pub fn read_sysreg( &self, gicr: &mut Redistributor, reg: SystemReg, ) -> Option<u64>
pub fn read(&self, address: u64, data: &mut [u8]) -> bool
pub fn write(&self, address: u64, data: &[u8]) -> bool
Trait Implementations§
Source§impl Debug for Distributor
impl Debug for Distributor
Auto Trait Implementations§
impl !Freeze for Distributor
impl !RefUnwindSafe for Distributor
impl Send for Distributor
impl Sync for Distributor
impl Unpin for Distributor
impl !UnwindSafe for Distributor
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