blkdebug: Don't confuse image as backing file
[qemu/ar7.git] / include / exec / hwaddr.h
blobc9eb78fba18f047cb0369be066fb5667b26f325b
1 /* Define hwaddr if it exists. */
3 #ifndef HWADDR_H
4 #define HWADDR_H
6 #define HWADDR_BITS 64
7 /* hwaddr is the type of a physical address (its size can
8 be different from 'target_ulong'). */
10 typedef uint64_t hwaddr;
11 #define HWADDR_MAX UINT64_MAX
12 #define TARGET_FMT_plx "%016" PRIx64
13 #define HWADDR_PRId PRId64
14 #define HWADDR_PRIi PRIi64
15 #define HWADDR_PRIo PRIo64
16 #define HWADDR_PRIu PRIu64
17 #define HWADDR_PRIx PRIx64
18 #define HWADDR_PRIX PRIX64
20 #endif