unicorn/qemu/include/qemu
Michael S. Tsirkin 634a8094f1
compiler: rework BUG_ON using a struct
There are theoretical concerns that some compilers might not trigger
build failures on attempts to define an array of size (x ? -1 : 1) where
x is a variable and make it a variable sized array instead. Let rewrite
using a struct with a negative bit field size instead as there are no
dynamic bit field sizes. This is similar to what Linux does.

Backports commit f291887e8eef5d37d31484638f6e62401b4b99a2 from qemu
2018-03-02 00:05:07 -05:00
..
atomic.h tcg: Add atomic helpers 2018-02-27 15:57:47 -05:00
bitmap.h memory: RCU ram_list.dirty_memory[] for safe RAM hotplug 2018-02-22 15:38:03 -05:00
bitops.h bitops: Add MAKE_64BIT_MASK macro 2018-02-25 00:30:39 -05:00
bswap.h bswap.h: Document cpu_to_* and *_to_cpu conversion functions 2018-02-25 04:06:28 -05:00
compiler.h compiler: rework BUG_ON using a struct 2018-03-02 00:05:07 -05:00
crc32c.h import 2015-08-21 15:04:50 +08:00
cutils.h Clean up decorations and whitespace around header guards 2018-02-25 04:26:02 -05:00
fprintf-fn.h Clean up decorations and whitespace around header guards 2018-02-25 04:26:02 -05:00
host-utils.h qemu/host-utils.h: Reduce the operation count in the fallback ctpop 2018-03-01 18:35:51 -05:00
int128.h tcg: Add atomic128 helpers 2018-02-27 21:43:48 -05:00
log.h tcg: Lower indirect registers in a separate pass 2018-02-25 22:32:28 -05:00
mmap-alloc.h Clean up ill-advised or unusual header guards 2018-02-25 04:22:46 -05:00
module.h cleanup qemu/include/qemu/module.h 2017-01-25 00:20:08 +08:00
osdep.h osdep: Document differences in rounding macros 2018-02-25 21:05:21 -05:00
queue.h Clean up ill-advised or unusual header guards 2018-02-25 04:22:46 -05:00
range.h range: Replace internal representation of Range 2018-02-25 00:44:36 -05:00
thread-posix.h Clean up ill-advised or unusual header guards 2018-02-25 04:22:46 -05:00
thread-win32.h Clean up ill-advised or unusual header guards 2018-02-25 04:22:46 -05:00
thread.h Clean up ill-advised or unusual header guards 2018-02-25 04:22:46 -05:00
timer.h include: move CPU-related definitions out of qemu-common.h 2018-02-24 00:33:49 -05:00
typedefs.h exec: introduce MemoryRegionCache 2018-03-01 10:50:30 -05:00