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

memory_region_init_ram: Initialize RAM memory region. Accesses into the region will modify memory directly.

@mr: the #MemoryRegion to be initialized. @owner: the object that tracks the region’s reference count @name: Region name, becomes part of RAMBlock name used in migration stream must be unique within any device @size: size of the region. @errp: pointer to Error*, to store an error if it happens.