]> git.proxmox.com Git - qemu.git/blame - targphys.h
migration: use qemu-sockets to establish Unix sockets
[qemu.git] / targphys.h
CommitLineData
c227f099 1/* Define target_phys_addr_t if it exists. */
1ad2134f
PB
2
3#ifndef TARGPHYS_H
4#define TARGPHYS_H
5
301592ea
PM
6#ifndef CONFIG_USER_ONLY
7
4be403c8 8#define TARGET_PHYS_ADDR_BITS 64
c227f099 9/* target_phys_addr_t is the type of a physical address (its size can
355b1943 10 be different from 'target_ulong'). */
1ad2134f 11
c227f099 12typedef uint64_t target_phys_addr_t;
9fa06385 13#define TARGET_PHYS_ADDR_MAX UINT64_MAX
1ad2134f 14#define TARGET_FMT_plx "%016" PRIx64
1e9be4b4
PM
15#define TARGET_PRIdPHYS PRId64
16#define TARGET_PRIiPHYS PRIi64
17#define TARGET_PRIoPHYS PRIo64
18#define TARGET_PRIuPHYS PRIu64
19#define TARGET_PRIxPHYS PRIx64
20#define TARGET_PRIXPHYS PRIX64
1ad2134f
PB
21
22#endif
301592ea
PM
23
24#endif