unicorn/qemu
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
..
accel tcg: Merge opcode arguments into TCGOp 2018-03-05 04:45:20 -05:00
crypto
default-configs
docs
fpu
hw mips: replace cpu_mips_init() with cpu_generic_init() 2018-03-05 00:49:10 -05:00
include osdep.h: Make TIME_MAX handle different time_t types 2018-03-05 13:48:29 -05:00
qapi
qobject
qom qom: introduce type_register_static_array() 2018-03-05 03:49:50 -05:00
scripts
target arm: check regime, not current state, for ATS write PAR format 2018-03-05 13:48:28 -05:00
tcg tcg/s390x: Use constant pool for prologue 2018-03-05 11:28:39 -05:00
util bitmap: provide to_le/from_le helpers 2018-03-05 01:11:13 -05:00
aarch64.h target/arm: Implement BLXNS 2018-03-05 03:31:59 -05:00
aarch64eb.h target/arm: Implement BLXNS 2018-03-05 03:31:59 -05:00
accel.c
arm.h target/arm: Implement BLXNS 2018-03-05 03:31:59 -05:00
armeb.h target/arm: Implement BLXNS 2018-03-05 03:31:59 -05:00
atomic_template.h tcg: Record code_gen_buffer address for user-only memory helpers 2018-03-05 13:48:27 -05:00
CODING_STYLE
configure build: disable -Wmissing-braces on older compilers 2018-03-05 11:29:54 -05:00
COPYING
COPYING.LIB
cpu-exec-common.c
cpu-exec.c exec-all: extract tb->tc_* into a separate struct tc_tb 2018-03-05 02:57:22 -05:00
cpus.c
cputlb.c tcg: Record code_gen_buffer address for user-only memory helpers 2018-03-05 13:48:28 -05:00
exec.c qom: Introduce CPUClass.tcg_initialize 2018-03-05 09:49:26 -05:00
gen_all_header.sh
glib_compat.c
HACKING
header_gen.py qom: Introduce CPUClass.tcg_initialize 2018-03-05 09:49:26 -05:00
ioport.c
LICENSE
m68k.h target/arm: Implement BLXNS 2018-03-05 03:31:59 -05:00
Makefile
Makefile.objs
Makefile.target tcg: Add generic translation framework 2018-03-04 14:31:16 -05:00
memory.c memory: avoid a name clash with access macro 2018-03-05 01:13:01 -05:00
memory_ldst.inc.c
memory_mapping.c
mips.h target/arm: Implement BLXNS 2018-03-05 03:31:59 -05:00
mips64.h target/arm: Implement BLXNS 2018-03-05 03:31:59 -05:00
mips64el.h target/arm: Implement BLXNS 2018-03-05 03:31:59 -05:00
mipsel.h target/arm: Implement BLXNS 2018-03-05 03:31:59 -05:00
powerpc.h target/arm: Implement BLXNS 2018-03-05 03:31:59 -05:00
qapi-schema.json
qemu-timer.c
rules.mak
softmmu_template.h cputlb: Support generating CPU exceptions on memory transaction failures 2018-03-04 13:14:50 -05:00
sparc.h qom: Introduce CPUClass.tcg_initialize 2018-03-05 09:49:26 -05:00
sparc64.h qom: Introduce CPUClass.tcg_initialize 2018-03-05 09:49:26 -05:00
tcg-runtime.c exec-all: extract tb->tc_* into a separate struct tc_tb 2018-03-05 02:57:22 -05:00
translate-all.c tcg: Merge opcode arguments into TCGOp 2018-03-05 04:45:20 -05:00
translate-all.h
translate-common.c
unicorn_common.h
VERSION
vl.c
vl.h
x86_64.h target/arm: Implement BLXNS 2018-03-05 03:31:59 -05:00