pub unsafe extern "C" fn xenforeignmemory_map_resource(
fmem: *mut xenforeignmemory_handle,
domid: domid_t,
type_: c_uint,
id: c_uint,
frame: c_ulong,
nr_frames: c_ulong,
paddr: *mut *mut c_void,
prot: c_int,
flags: c_int,
) -> *mut xenforeignmemory_resource_handle