pub unsafe extern "C" fn memory_region_add_subregion_overlap(
    mr: *mut MemoryRegion,
    offset: hwaddr,
    subregion: *mut MemoryRegion,
    priority: c_int
)
Expand description

memory_region_add_subregion_overlap: Add a subregion to a container with overlap.

Adds a subregion at @offset. The subregion may overlap with other subregions. Conflicts are resolved by having a higher @priority hide a lower @priority. Subregions without priority are taken as @priority 0. A region may only be added once as a subregion (unless removed with memory_region_del_subregion()); use memory_region_init_alias() if you want a region to be a subregion in multiple locations.

@mr: the region to contain the new subregion; must be a container initialized with memory_region_init(). @offset: the offset relative to @mr where @subregion is added. @subregion: the subregion to be added. @priority: used for resolving overlaps; highest priority wins.