Revision f3e3285d linux-user/qemu.h

b/linux-user/qemu.h
9 9
#ifdef TARGET_ABI32
10 10
typedef uint32_t abi_ulong;
11 11
typedef int32_t abi_long;
12
#define TARGET_ABI_FMT_lx "%08x"
13
#define TARGET_ABI_FMT_ld "%d"
14
#define TARGET_ABI_FMT_lu "%u"
12 15
#define TARGET_ABI_BITS 32
13 16
#else
14 17
typedef target_ulong abi_ulong;
15 18
typedef target_long abi_long;
19
#define TARGET_ABI_FMT_lx TARGET_FMT_lx
20
#define TARGET_ABI_FMT_ld TARGET_FMT_ld
21
#define TARGET_ABI_FMT_lu TARGET_FMT_lu
16 22
#define TARGET_ABI_BITS TARGET_LONG_BITS
17 23
#endif
18 24

  

Also available in: Unified diff