pub unsafe extern "C" fn address_space_init_shareable(
    root: *mut MemoryRegion,
    name: *const c_char
) -> *mut AddressSpace
Expand description

address_space_init_shareable: return an address space for a memory region, creating it if it does not already exist

@root: a #MemoryRegion that routes addresses for the address space @name: an address space name. The name is only used for debugging output.

This function will return a pointer to an existing AddressSpace which was initialized with the specified MemoryRegion, or it will create and initialize one if it does not already exist. The ASes are reference-counted, so the memory will be freed automatically when the AddressSpace is destroyed via address_space_destroy.