pub struct SystemSlotId(pub [u8; 2]);
Expand description
§System Slots - Slot Id
The Slot ID field of the System Slot structure provides a mechanism to correlate the physical attributes of the slot to its logical access method (which varies based on the Slot Type field). The Slot ID field has meaning only for the slot types described in the table:
Slot Type | Slot ID Field Meaning |
---|---|
MCA | Identifies the logical Micro Channel slot number, in the range 1 to 15, in byte 0. Byte 1 is set to 0. |
PCI, AGP, PCIX, PCI Express | On a system that supports ACPI, identifies the value returned in the _SUN object for this slot. On a system that supports the PCI IRQ Routing Table Specification, identifies the value present in the Slot Number field of the PCI Interrupt Routing table entry that is associated with this slot, in byte 0 - byte 1 is set to 0. The table is returned by the “Get PCI Interrupt Routing Options” PCI BIOS function call and provided directly in the PCI IRQ Routing Table Specification ($PIRQ). Software can determine the PCI bus number and device associated with the slot by matching the “Slot ID” to an entry in the routing-table and ultimately determine what device is present in that slot. NOTE: This definition also applies to the 66 MHz-capable PCI slots. |
PCMCIA | Identifies the Adapter Number (byte 0) and Socket Number (byte 1) to be passed toPCMCIA Socket Services to identify this slot |
Tuple Fields§
§0: [u8; 2]
Implementations§
Trait Implementations§
Source§impl Clone for SystemSlotId
impl Clone for SystemSlotId
Source§fn clone(&self) -> SystemSlotId
fn clone(&self) -> SystemSlotId
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 SystemSlotId
impl Debug for SystemSlotId
Source§impl Deref for SystemSlotId
impl Deref for SystemSlotId
Source§impl PartialEq for SystemSlotId
impl PartialEq for SystemSlotId
Source§impl Serialize for SystemSlotId
impl Serialize for SystemSlotId
impl Copy for SystemSlotId
impl Eq for SystemSlotId
impl StructuralPartialEq for SystemSlotId
Auto Trait Implementations§
impl Freeze for SystemSlotId
impl RefUnwindSafe for SystemSlotId
impl Send for SystemSlotId
impl Sync for SystemSlotId
impl Unpin for SystemSlotId
impl UnwindSafe for SystemSlotId
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