unicorn/qemu/include
Peter Crosthwaite b82e711a65
memory: Add address_space_init_shareable()
This will either create a new AS or return a pointer to an
already existing equivalent one, if we have already created
an AS for the specified root memory region.

The motivation is to reuse address spaces as much as possible.
It's going to be quite common that bus masters out in device land
have pointers to the same memory region for their mastering yet
each will need to create its own address space. Let the memory
API implement sharing for them.

Aside from the perf optimisations, this should reduce the amount
of redundant output on info mtree as well.

Thee returned value will be malloced, but the malloc will be
automatically freed when the AS runs out of refs.

Backports commit f0c02d15b57da6f5463e3768aa0cfeedccf4b8f4 from qemu
2018-02-18 00:18:21 -05:00
..
crypto Drop unused crypto source files 2018-02-17 15:23:57 -05:00
exec memory: Add address_space_init_shareable() 2018-02-18 00:18:21 -05:00
fpu softfloat: expand out STATUS macro 2018-02-12 13:43:13 -05:00
hw apic_internal.h: fix formatting and drop unused consts 2018-02-17 15:23:54 -05:00
qapi error: Improve documentation 2018-02-17 20:52:49 -05:00
qemu exec.c: Don't set cpu->as until cpu_address_space_init 2018-02-17 22:24:36 -05:00
qom cputlb.c: Use correct address space when looking up MemoryRegionSection 2018-02-17 23:15:22 -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