memory_region_init_alias

Function memory_region_init_alias 

Source
pub unsafe extern "C" fn memory_region_init_alias(
    mr: *mut MemoryRegion,
    owner: *mut Object,
    name: *const i8,
    orig: *mut MemoryRegion,
    offset: u64,
    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.