unicorn/qemu/include
Peter Maydell 6285ed170e
osdep.h: Make TIME_MAX handle different time_t types
In our various supported host OSes, the time_t type may be either 32
or 64 bit, and could in theory also be either signed or unsigned.
Notably, in OpenBSD time_t is a 64 bit type even if 'long' is 32
bits, so using LONG_MAX for TIME_MAX is incorrect.

Use an approach suggested by Paolo Bonzini which calculates
the maximum value of the type rather than hardcoding it;
to do this we use the TYPE_MAXIMUM macro from Gnulib.

Backports commit e7b47c22e2df14d55e3e4426688c929bf8e3f7fb from qemu
2018-03-05 13:48:29 -05:00
..
crypto Drop unused crypto source files 2018-02-17 15:23:57 -05:00
exec tcg: Remove GET_TCGV_* and MAKE_TCGV_* 2018-03-05 09:12:26 -05:00
fpu softfloat: define floatx80_round() 2018-03-03 20:57:27 -05:00
hw boards.h: Define new flag ignore_memory_transaction_failures 2018-03-04 21:27:15 -05:00
qapi qnum: add uint type 2018-03-03 18:37:56 -05:00
qemu osdep.h: Make TIME_MAX handle different time_t types 2018-03-05 13:48:29 -05:00
qom qom: Introduce CPUClass.tcg_initialize 2018-03-05 09:49:26 -05:00
sysemu tcg: add options for enabling MTTCG 2018-03-02 09:25:01 -05:00
config.h import 2015-08-21 15:04:50 +08:00
elf.h tcg/s390: Use constant pool for movi 2018-03-04 22:32:04 -05:00
glib_compat.h qapi: Improve qobject input visitor error reporting 2018-03-02 12:05:53 -05:00
qemu-common.h tcg: Add EXCP_ATOMIC 2018-02-27 11:57:58 -05:00