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

memory_region_init_rom_device: Initialize a ROM memory region. Writes are handled via callbacks.

@mr: the #MemoryRegion to be initialized. @owner: the object that tracks the region’s reference count @ops: callbacks for write access handling (must not be NULL). @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.