unicorn/qemu/include
Gonglei 39e4d63e68
exec: store RAMBlock pointer into memory region
Each RAM memory region has a unique corresponding RAMBlock.
In the current realization, the memory region only stored
the ram_addr which means the offset of RAM address space,
We need to qurey the global ram.list to find the ram block
by ram_addr if we want to get the ram block, which is very
expensive.

Now, we store the RAMBlock pointer into memory region
structure. So, if we know the mr, we can easily get the
RAMBlock.

Backports commit 58eaa2174e99d9a05172d03fd2799ab8fd9e6f60 from qemu
2018-02-20 20:43:32 -05:00
..
crypto Drop unused crypto source files 2018-02-17 15:23:57 -05:00
exec exec: store RAMBlock pointer into memory region 2018-02-20 20:43:32 -05:00
fpu fpu: Remove use of int_fast16_t in conversions to int16 2018-02-20 16:54:04 -05:00
hw include: Add stubbed xen function 2018-02-20 08:29:58 -05:00
qapi qapi: Don't box branches of flat unions 2018-02-20 16:44:55 -05:00
qemu osdep.h: Include config-target.h if NEED_CPU_H is defined 2018-02-20 19:11:07 -05:00
qom qom: Correct object_property_get_int() description 2018-02-20 11:52:16 -05:00
sysemu oslib-win32: Change return type of function getpagesize 2018-02-17 19:10:37 -05:00
config.h import 2015-08-21 15:04:50 +08:00
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