kvm: Pass CPUState to kvm_arch_*
[qemu/opensuse.git] / hwaddr.h
blob251cf9216f679863945299a4b413f967553a848a
1 /* Define hwaddr if it exists. */
3 #ifndef HWADDR_H
4 #define HWADDR_H
6 #ifndef CONFIG_USER_ONLY
8 #define HWADDR_BITS 64
9 /* hwaddr is the type of a physical address (its size can
10 be different from 'target_ulong'). */
12 typedef uint64_t hwaddr;
13 #define HWADDR_MAX UINT64_MAX
14 #define TARGET_FMT_plx "%016" PRIx64
15 #define HWADDR_PRId PRId64
16 #define HWADDR_PRIi PRIi64
17 #define HWADDR_PRIo PRIo64
18 #define HWADDR_PRIu PRIu64
19 #define HWADDR_PRIx PRIx64
20 #define HWADDR_PRIX PRIX64
22 #endif
24 #endif