File:  [Qemu by Fabrice Bellard] / qemu / bsd-user / qemu-types.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:55:56 2018 UTC (3 years, 3 months ago) by root
Branches: qemu, MAIN
CVS tags: qemu1101, qemu1001, qemu1000, qemu0151, qemu0150, qemu0141, qemu0140, qemu0130, qemu0125, qemu0124, qemu0123, qemu0122, qemu0121, qemu0120, qemu0111, qemu0110, qemu0105, qemu0104, qemu0103, qemu0102, qemu0101, qemu0100, HEAD
qemu 0.10.0

    1: #ifndef QEMU_TYPES_H
    2: #define QEMU_TYPES_H
    3: #include "cpu.h"
    4: 
    5: #ifdef TARGET_ABI32
    6: typedef uint32_t abi_ulong;
    7: typedef int32_t abi_long;
    8: #define TARGET_ABI_FMT_lx "%08x"
    9: #define TARGET_ABI_FMT_ld "%d"
   10: #define TARGET_ABI_FMT_lu "%u"
   11: #define TARGET_ABI_BITS 32
   12: #else
   13: typedef target_ulong abi_ulong;
   14: typedef target_long abi_long;
   15: #define TARGET_ABI_FMT_lx TARGET_FMT_lx
   16: #define TARGET_ABI_FMT_ld TARGET_FMT_ld
   17: #define TARGET_ABI_FMT_lu TARGET_FMT_lu
   18: #define TARGET_ABI_BITS TARGET_LONG_BITS
   19: /* for consistency, define ABI32 too */
   20: #if TARGET_ABI_BITS == 32
   21: #define TARGET_ABI32 1
   22: #endif
   23: #endif
   24: #endif

unix.superglobalmegacorp.com