Function panda_sys::memory_region_init_alias [−][src]
pub unsafe extern "C" fn memory_region_init_alias(
mr: *mut MemoryRegion,
owner: *mut Object,
name: *const c_char,
orig: *mut MemoryRegion,
offset: hwaddr,
size: u64
)
Expand description
memory_region_init_alias: Initialize a memory region that aliases all or a part of another memory region.
@mr: the #MemoryRegion to be initialized. @owner: the object that tracks the region’s reference count @name: used for debugging; not visible to the user or ABI @orig: the region to be referenced; @mr will be equivalent to @orig between @offset and @offset + @size - 1. @offset: start of the section in @orig to be referenced. @size: size of the region.