pub struct DwordMemory {
pub length: u32,
pub translation_offset: u32,
pub address_max: u32,
pub address_min: u32,
pub granularity: u32,
pub attributes: MemoryAttribute,
pub cacheability: MemoryCacheType,
pub is_writeable: bool,
pub is_max_address_fixed: bool,
pub is_min_address_fixed: bool,
pub is_subtractive_decode: bool,
}
Expand description
A 32-bit AML memory resource.
Fields§
§length: u32
§translation_offset: u32
§address_max: u32
§address_min: u32
§granularity: u32
§attributes: MemoryAttribute
§cacheability: MemoryCacheType
§is_writeable: bool
§is_max_address_fixed: bool
§is_min_address_fixed: bool
§is_subtractive_decode: bool
Implementations§
Source§impl DwordMemory
impl DwordMemory
Sourcepub fn new(address: u32, length: u32) -> Self
pub fn new(address: u32, length: u32) -> Self
Construct a new DwordMemory
.
Trait Implementations§
Source§impl ResourceObject for DwordMemory
impl ResourceObject for DwordMemory
Auto Trait Implementations§
impl Freeze for DwordMemory
impl RefUnwindSafe for DwordMemory
impl Send for DwordMemory
impl Sync for DwordMemory
impl Unpin for DwordMemory
impl UnwindSafe for DwordMemory
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