unicorn/qemu/include
Eric Blake eeffd97458
qapi: Make all visitors supply uint64 callbacks
Our qapi visitor contract supports multiple integer visitors,
but left the type_uint64 visitor as optional (falling back on
type_int64); which in turn can lead to awkward behavior with
numbers larger than INT64_MAX (the user has to be aware of
twos complement, and deal with negatives).

This patch does not address the disparity in handling large
values as negatives. It merely moves the fallback from uint64
to int64 from the visitor core to the visitors, where the issue
can actually be fixed, by implementing the missing type_uint64()
callbacks on top of the respective type_int64() callbacks, and
with a FIXME comment explaining why that's wrong.

With that done, we now have a type_uint64() callback in every
driver, so we can make it mandatory from the core. And although
the type_int64() callback can cover the entire valid range of
type_uint{8,16,32} on valid user input, using type_uint64() to
avoid mixed signedness makes more sense.

Backports commit f755dea79dc81b0d6a8f6414e0672e165e28d8ba from qemu
2018-02-19 11:59:22 -05:00
..
crypto Drop unused crypto source files 2018-02-17 15:23:57 -05:00
exec uc: Handle freeing of multiple address spaces 2018-02-18 21:36:50 -05:00
fpu fpu: Replace uint8 typedef with uint8_t 2018-02-19 00:34:41 -05:00
hw apic_internal.h: fix formatting and drop unused consts 2018-02-17 15:23:54 -05:00
qapi qapi: Make all visitors supply uint64 callbacks 2018-02-19 11:59:22 -05:00
qemu exec.c: Don't set cpu->as until cpu_address_space_init 2018-02-17 22:24:36 -05:00
qom qom/cpu: Add MemoryRegion property 2018-02-18 21:54:50 -05:00
sysemu oslib-win32: Change return type of function getpagesize 2018-02-17 19:10:37 -05:00
config.h
elf.h fix merge conflicts 2017-03-10 21:04:33 +08:00
glib_compat.h crypto: introduce new module for computing hash digests 2018-02-17 15:23:17 -05:00
qemu-common.h osdep.h: Include glib-compat.h in osdep.h rather than qemu-common.h 2018-02-17 20:47:28 -05:00