Function panda_sys::memory_region_init[][src]

pub unsafe extern "C" fn memory_region_init(
    mr: *mut MemoryRegion,
    owner: *mut Object,
    name: *const c_char,
    size: u64
)
Expand description

memory_region_init: Initialize a memory region

The region typically acts as a container for other memory regions. Use memory_region_add_subregion() to add subregions.

@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 @size: size of the region; any subregions beyond this size will be clipped