pub struct IvmdBlock {
pub typ: u8,
pub flags: u8,
pub length: u16,
pub device_id: u16,
pub pci_segment: u16,
pub iommu_base: u64,
pub start_addr: u64,
pub length_bytes: u64,
}Expand description
IVMD (I/O Virtualisation Memory Definition) block.
Describes a region of physical memory that the IOMMU must treat specially (e.g., reserved for interrupt remapping, or excluded from translation).
Fields§
§typ: u8IVMD type (0x20 = reserved, 0x22 = non-translated).
flags: u8Flags.
length: u16Length of this IVMD block.
device_id: u16Device ID associated with this memory region.
pci_segment: u16PCI segment group.
iommu_base: u64IOMMU base address (for exclusion ranges).
start_addr: u64Reserved memory region: starting physical address.
length_bytes: u64Reserved memory region: length.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IvmdBlock
impl RefUnwindSafe for IvmdBlock
impl Send for IvmdBlock
impl Sync for IvmdBlock
impl Unpin for IvmdBlock
impl UnsafeUnpin for IvmdBlock
impl UnwindSafe for IvmdBlock
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more