Struct kernel::a53::gicv2::DistributorRegisterBlock
source · #[repr(C)]pub struct DistributorRegisterBlock {Show 26 fields
pub ctlr: Register<GICD_CTLR>,
pub typer: Register<u32>,
pub iidr: Register<u32>,
_0: [Register<u8>; BYTES],
_1: [Register<u8>; BYTES],
_2: [Register<u8>; BYTES],
pub igroupr: [Register<u32>; 32],
pub isenabler: [Register<GICD_ISENABLER>; 32],
pub icenabler: [Register<u32>; 32],
pub ispender: [Register<u32>; 32],
pub icpendr: [Register<u32>; 32],
pub isactiver: [Register<u32>; 32],
pub icactiver: [Register<u32>; 32],
pub ipriorityr: [Register<u32>; 255],
_3: [Register<u8>; BYTES],
pub itargetsr: [Register<u32>; 255],
_4: [Register<u8>; BYTES],
pub icfgr: [Register<u32>; 64],
_5: [Register<u8>; BYTES],
pub nsacr: [Register<u32>; 64],
pub sgir: Register<u32>,
_6: [Register<u8>; BYTES],
pub cpendsgir: [Register<u32>; 4],
pub spendsgi: [Register<u32>; 4],
_7: [Register<u8>; BYTES],
_8: [Register<u8>; BYTES],
}Fields§
§ctlr: Register<GICD_CTLR>0x000: GICD_CTLR (Distributor Control Register)
typer: Register<u32>0x004: GICD_TYPER (Interrupt Controller Type Register)
iidr: Register<u32>0x008: GICD_IIDR (Distributor Implementer Identification Register)
_0: [Register<u8>; BYTES]0x00C-0x01C: Reserved
_1: [Register<u8>; BYTES]0x020-0x03C: IMPLEMENTATION DEFINED registers
_2: [Register<u8>; BYTES]0x040-0x07C: Reserved
igroupr: [Register<u32>; 32]0x080: GICD_IGROUPRnb (Interrupt Group Registers)
isenabler: [Register<GICD_ISENABLER>; 32]0x100-0x17C: GICD_ISENABLERn (Interrupt Set-Enable Registers)
icenabler: [Register<u32>; 32]0x180-0x1FC: GICD_ICENABLERn (Interrupt Clear-Enable Registers)
ispender: [Register<u32>; 32]0x200-0x27C: GICD_ISPENDRn (Interrupt Set-Pending Registers)
icpendr: [Register<u32>; 32]0x280-0x2FC: GICD_ICPENDRn (Interrupt Clear-Pending Registers)
isactiver: [Register<u32>; 32]0x300-0x37C: GICD_ISACTIVERn (GICv2 Interrupt Set-Active Registers)
icactiver: [Register<u32>; 32]0x380-0x3FC: GICD_ICACTIVERn (Interrupt Clear-Active Registers)
ipriorityr: [Register<u32>; 255]0x400-0x7F8: GICD_IPRIORITYRn (Interrupt Priority Registers)
_3: [Register<u8>; BYTES]0x7FC: Reserved
itargetsr: [Register<u32>; 255]0x800-0x81C: GICD_ITARGETSRn (Interrupt Processor Targets Registers)
_4: [Register<u8>; BYTES]0xBFC: Reserved
icfgr: [Register<u32>; 64]0xC00-0xCFC: GICD_ICFGRn (Interrupt Configuration Registers)
_5: [Register<u8>; BYTES]0xD00-0xDFC: IMPLEMENTATION DEFINED registers
nsacr: [Register<u32>; 64]0xE00-0xEFC: GICD_NSACRn (Non-secure Access Control Registers, optional)
sgir: Register<u32>0xF00: GICD_SGIR (Software Generated Interrupt Register)
_6: [Register<u8>; BYTES]0xF04-0xF0C: Reserved
cpendsgir: [Register<u32>; 4]0xF10-0xF1C: GICD_CPENDSGIRn (SGI Clear-Pending Registers)
spendsgi: [Register<u32>; 4]0xF20-0xF2C: GICD_SPENDSGIRn (SGI Set-Pending Registers)
_7: [Register<u8>; BYTES]0xF30-0xFCC: Reserved
_8: [Register<u8>; BYTES]0xFD0-0xFFC: - ( Identification registers on page 4-119)
Auto Trait Implementations§
impl !RefUnwindSafe for DistributorRegisterBlock
impl Send for DistributorRegisterBlock
impl !Sync for DistributorRegisterBlock
impl Unpin for DistributorRegisterBlock
impl UnwindSafe for DistributorRegisterBlock
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
§impl<T> Conv for T
impl<T> Conv for T
§impl<T> FmtForward for T
impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where Self: Binary,
self to use its Binary implementation when Debug-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where Self: Display,
self to use its Display implementation when
Debug-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where Self: LowerExp,
self to use its LowerExp implementation when
Debug-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where Self: LowerHex,
self to use its LowerHex implementation when
Debug-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where Self: Octal,
self to use its Octal implementation when Debug-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where Self: Pointer,
self to use its Pointer implementation when
Debug-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where Self: UpperExp,
self to use its UpperExp implementation when
Debug-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where Self: UpperHex,
self to use its UpperHex implementation when
Debug-formatted.§fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
fn fmt_list(self) -> FmtList<Self>where &'a Self: for<'a> IntoIterator,
§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere Self: Sized,
§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere R: 'a,
self and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere R: 'a,
self and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere
Self: Borrow<B>,
B: 'a + ?Sized,
R: 'a,
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere Self: Borrow<B>, B: 'a + ?Sized, R: 'a,
§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R
) -> Rwhere
Self: BorrowMut<B>,
B: 'a + ?Sized,
R: 'a,
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R ) -> Rwhere Self: BorrowMut<B>, B: 'a + ?Sized, R: 'a,
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere
Self: AsRef<U>,
U: 'a + ?Sized,
R: 'a,
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere Self: AsRef<U>, U: 'a + ?Sized, R: 'a,
self, then passes self.as_ref() into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere
Self: AsMut<U>,
U: 'a + ?Sized,
R: 'a,
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere Self: AsMut<U>, U: 'a + ?Sized, R: 'a,
self, then passes self.as_mut() into the pipe
function.§impl<T> Tap for T
impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere
Self: Borrow<B>,
B: ?Sized,
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere Self: Borrow<B>, B: ?Sized,
Borrow<B> of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
Self: BorrowMut<B>,
B: ?Sized,
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere Self: BorrowMut<B>, B: ?Sized,
BorrowMut<B> of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere
Self: AsRef<R>,
R: ?Sized,
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere Self: AsRef<R>, R: ?Sized,
AsRef<R> view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
Self: AsMut<R>,
R: ?Sized,
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere Self: AsMut<R>, R: ?Sized,
AsMut<R> view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere
Self: Deref<Target = T>,
T: ?Sized,
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere Self: Deref<Target = T>, T: ?Sized,
Deref::Target of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere
Self: DerefMut<Target = T> + Deref,
T: ?Sized,
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere Self: DerefMut<Target = T> + Deref, T: ?Sized,
Deref::Target of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
.tap() only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
.tap_mut() only in debug builds, and is erased in release
builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere
Self: Borrow<B>,
B: ?Sized,
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere Self: Borrow<B>, B: ?Sized,
.tap_borrow() only in debug builds, and is erased in release
builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
Self: BorrowMut<B>,
B: ?Sized,
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere Self: BorrowMut<B>, B: ?Sized,
.tap_borrow_mut() only in debug builds, and is erased in release
builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere
Self: AsRef<R>,
R: ?Sized,
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere Self: AsRef<R>, R: ?Sized,
.tap_ref() only in debug builds, and is erased in release
builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
Self: AsMut<R>,
R: ?Sized,
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere Self: AsMut<R>, R: ?Sized,
.tap_ref_mut() only in debug builds, and is erased in release
builds.