Struct panda_sys::MemoryRegion
source · #[repr(C, align(16))]pub struct MemoryRegion {Show 35 fields
pub parent_obj: Object,
pub romd_mode: bool,
pub ram: bool,
pub subpage: bool,
pub readonly: bool,
pub rom_device: bool,
pub flush_coalesced_mmio: bool,
pub global_locking: bool,
pub dirty_log_mask: u8,
pub ram_block: *mut RAMBlock,
pub owner: *mut Object,
pub iommu_ops: *const MemoryRegionIOMMUOps,
pub ops: *const MemoryRegionOps,
pub opaque: *mut c_void,
pub container: *mut MemoryRegion,
pub size: Int128,
pub addr: hwaddr,
pub destructor: Option<unsafe extern "C" fn(mr: *mut MemoryRegion)>,
pub align: u64,
pub terminates: bool,
pub ram_device: bool,
pub enabled: bool,
pub warning_printed: bool,
pub vga_logging_count: u8,
pub alias: *mut MemoryRegion,
pub alias_offset: hwaddr,
pub priority: i32,
pub subregions: MemoryRegion_subregions,
pub subregions_link: MemoryRegion__bindgen_ty_1,
pub coalesced: MemoryRegion_coalesced_ranges,
pub name: *const c_char,
pub ioeventfd_nb: c_uint,
pub ioeventfds: *mut MemoryRegionIoeventfd,
pub iommu_notify: MemoryRegion__bindgen_ty_2,
pub iommu_notify_flags: IOMMUNotifierFlag,
}
Fields§
§parent_obj: Object
§romd_mode: bool
§ram: bool
§subpage: bool
§readonly: bool
§rom_device: bool
§flush_coalesced_mmio: bool
§global_locking: bool
§dirty_log_mask: u8
§ram_block: *mut RAMBlock
§owner: *mut Object
§iommu_ops: *const MemoryRegionIOMMUOps
§ops: *const MemoryRegionOps
§opaque: *mut c_void
§container: *mut MemoryRegion
§size: Int128
§addr: hwaddr
§destructor: Option<unsafe extern "C" fn(mr: *mut MemoryRegion)>
§align: u64
§terminates: bool
§ram_device: bool
§enabled: bool
§warning_printed: bool
§vga_logging_count: u8
§alias: *mut MemoryRegion
§alias_offset: hwaddr
§priority: i32
§subregions: MemoryRegion_subregions
§subregions_link: MemoryRegion__bindgen_ty_1
§coalesced: MemoryRegion_coalesced_ranges
§name: *const c_char
§ioeventfd_nb: c_uint
§ioeventfds: *mut MemoryRegionIoeventfd
§iommu_notify: MemoryRegion__bindgen_ty_2
§iommu_notify_flags: IOMMUNotifierFlag
Trait Implementations§
source§impl Clone for MemoryRegion
impl Clone for MemoryRegion
source§fn clone(&self) -> MemoryRegion
fn clone(&self) -> MemoryRegion
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 MemoryRegion
impl Debug for MemoryRegion
impl Copy for MemoryRegion
Auto Trait Implementations§
impl RefUnwindSafe for MemoryRegion
impl !Send for MemoryRegion
impl !Sync for MemoryRegion
impl Unpin for MemoryRegion
impl UnwindSafe for MemoryRegion
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