Diff for /qemu/cpu-common.h between versions 1.1.1.3 and 1.1.1.4

version 1.1.1.3, 2018/04/24 18:24:47 version 1.1.1.4, 2018/04/24 18:34:33
Line 20 Line 20
   
 #if !defined(CONFIG_USER_ONLY)  #if !defined(CONFIG_USER_ONLY)
   
   enum device_endian {
       DEVICE_NATIVE_ENDIAN,
       DEVICE_BIG_ENDIAN,
       DEVICE_LITTLE_ENDIAN,
   };
   
 /* address in the RAM (different from a physical address) */  /* address in the RAM (different from a physical address) */
 typedef unsigned long ram_addr_t;  typedef unsigned long ram_addr_t;
   
Line 46  ram_addr_t qemu_ram_alloc(DeviceState *d Line 52  ram_addr_t qemu_ram_alloc(DeviceState *d
 void qemu_ram_free(ram_addr_t addr);  void qemu_ram_free(ram_addr_t addr);
 /* This should only be used for ram local to a device.  */  /* This should only be used for ram local to a device.  */
 void *qemu_get_ram_ptr(ram_addr_t addr);  void *qemu_get_ram_ptr(ram_addr_t addr);
   /* Same but slower, to use for migration, where the order of
    * RAMBlocks must not change. */
   void *qemu_safe_ram_ptr(ram_addr_t addr);
 /* This should not be used by devices.  */  /* This should not be used by devices.  */
 ram_addr_t qemu_ram_addr_from_host(void *ptr);  int qemu_ram_addr_from_host(void *ptr, ram_addr_t *ram_addr);
   ram_addr_t qemu_ram_addr_from_host_nofail(void *ptr);
   
 int cpu_register_io_memory(CPUReadMemoryFunc * const *mem_read,  int cpu_register_io_memory(CPUReadMemoryFunc * const *mem_read,
                            CPUWriteMemoryFunc * const *mem_write,                             CPUWriteMemoryFunc * const *mem_write,
                            void *opaque);                             void *opaque, enum device_endian endian);
 void cpu_unregister_io_memory(int table_address);  void cpu_unregister_io_memory(int table_address);
   
 void cpu_physical_memory_rw(target_phys_addr_t addr, uint8_t *buf,  void cpu_physical_memory_rw(target_phys_addr_t addr, uint8_t *buf,

Removed from v.1.1.1.3  
changed lines
  Added in v.1.1.1.4


unix.superglobalmegacorp.com