mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
Merge remote-tracking branch 'agraf/xen-next' into staging
This commit is contained in:
commit
3046c98404
10 changed files with 162 additions and 33 deletions
|
@ -23,7 +23,15 @@ enum device_endian {
|
|||
};
|
||||
|
||||
/* address in the RAM (different from a physical address) */
|
||||
#if defined(CONFIG_XEN_BACKEND) && TARGET_PHYS_ADDR_BITS == 64
|
||||
typedef uint64_t ram_addr_t;
|
||||
# define RAM_ADDR_MAX UINT64_MAX
|
||||
# define RAM_ADDR_FMT "%" PRIx64
|
||||
#else
|
||||
typedef unsigned long ram_addr_t;
|
||||
# define RAM_ADDR_MAX ULONG_MAX
|
||||
# define RAM_ADDR_FMT "%lx"
|
||||
#endif
|
||||
|
||||
/* memory API */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue