Revision e890261f cpu-common.h

b/cpu-common.h
47 47
/* This should only be used for ram local to a device.  */
48 48
void *qemu_get_ram_ptr(ram_addr_t addr);
49 49
/* This should not be used by devices.  */
50
ram_addr_t qemu_ram_addr_from_host(void *ptr);
50
int qemu_ram_addr_from_host(void *ptr, ram_addr_t *ram_addr);
51
ram_addr_t qemu_ram_addr_from_host_nofail(void *ptr);
51 52

  
52 53
int cpu_register_io_memory(CPUReadMemoryFunc * const *mem_read,
53 54
                           CPUWriteMemoryFunc * const *mem_write,

Also available in: Unified diff