Function panda_sys::memory_region_init_io [−][src]
pub unsafe extern "C" fn memory_region_init_io(
mr: *mut MemoryRegion,
owner: *mut Object,
ops: *const MemoryRegionOps,
opaque: *mut c_void,
name: *const c_char,
size: u64
)
Expand description
memory_region_init_io: Initialize an I/O memory region.
Accesses into the region will cause the callbacks in @ops to be called. if @size is nonzero, subregions will be clipped to @size.
@mr: the #MemoryRegion to be initialized. @owner: the object that tracks the region’s reference count @ops: a structure containing read and write callbacks to be used when I/O is performed on the region. @opaque: passed to the read and write callbacks of the @ops structure. @name: used for debugging; not visible to the user or ABI @size: size of the region.