unicorn/qemu/include
Alex Bennée 33589eb75f
cpus: pass CPUState to run_on_cpu helpers
CPUState is a fairly common pointer to pass to these helpers. This means
if you need other arguments for the async_run_on_cpu case you end up
having to do a g_malloc to stuff additional data into the routine. For
the current users this isn't a massive deal but for MTTCG this gets
cumbersome when the only other parameter is often an address.

This adds the typedef run_on_cpu_func for helper functions which has an
explicit CPUState * passed as the first parameter. All the users of
run_on_cpu and async_run_on_cpu have had their helpers updated to use
CPUState where available.

Backports commit e0eeb4a21a3ca4b296220ce4449d8acef9de9049 from qemu
2018-02-26 04:54:55 -05:00
..
crypto Drop unused crypto source files 2018-02-17 15:23:57 -05:00
exec tcg: Merge GETPC and GETRA 2018-02-26 02:54:44 -05:00
fpu fpu: add mechanism to check for invalid long double formats 2018-02-26 02:27:40 -05:00
hw target-i386: Add x86_cpu_unrealizefn() 2018-02-25 20:54:13 -05:00
qapi Clean up header guards that don't match their file name 2018-02-25 04:18:42 -05:00
qemu compiler: Swap 'public domain' header for license 2018-02-26 04:49:45 -05:00
qom cpus: pass CPUState to run_on_cpu helpers 2018-02-26 04:54:55 -05:00
sysemu accel: make configure_accelerator return void 2018-02-24 00:31:28 -05:00
config.h
elf.h
glib_compat.h glib_compat: Amend header guard 2018-02-25 23:12:20 -05:00
qemu-common.h qemu-common.h: Drop WORDS_ALIGNED define 2018-02-24 17:01:55 -05:00