#[repr(C, packed(1))]pub struct ExtendIOProgrammableInterruptController {
pub type: u8,
pub length: u8,
pub version: u8,
pub cascade_vector: u8,
pub node: u8,
pub node_map: u64,
}Expand description
§Extend I/O Programmable Interrupt Controller (EIO PIC) Structure
In newer generation Loongson CPUs, Extend I/O Programmable Interrupt Controller (EIO PIC) replaces the combination of HT PIC and part of LIO PIC, and routes interrupts from BIO PIC and MSI PIC to CORE PIC directly.
Fields§
§type: u820 - Extend I/O Programmable Interrupt Controller Structure
length: u8Length of the Extend I/O Programmable Interrupt Controller Structure in bytes.
JJ’s Note: There doesn’t seem to be any variable-sized fields in this struct. The size is 13 bytes…
version: u8- 0x00 - Invalid
- 0x01 - EIO PIC v1
Other values are reserved.
cascade_vector: u8This field describes routed vector on CORE PIC from EIO PIC vectors.
node: u8The node ID of the node connected to bridge.
node_map: u64Each bit indicates one node that can receive interrupt routing from the EIO PIC.
Trait Implementations§
Source§impl Clone for ExtendIOProgrammableInterruptController
impl Clone for ExtendIOProgrammableInterruptController
Source§fn clone(&self) -> ExtendIOProgrammableInterruptController
fn clone(&self) -> ExtendIOProgrammableInterruptController
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 moreimpl Copy for ExtendIOProgrammableInterruptController
Auto Trait Implementations§
impl Freeze for ExtendIOProgrammableInterruptController
impl RefUnwindSafe for ExtendIOProgrammableInterruptController
impl Send for ExtendIOProgrammableInterruptController
impl Sync for ExtendIOProgrammableInterruptController
impl Unpin for ExtendIOProgrammableInterruptController
impl UnwindSafe for ExtendIOProgrammableInterruptController
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