diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2016-03-15 16:47:38 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-05-19 13:08:04 +0200 |
commit | 4b4629d9d26fd0e100d9be526367a96aa35b541d (patch) | |
tree | bcc991c99fed8eda4934aea81e4e09c653589bf2 /include/qom/cpu.h | |
parent | b01501db18dbb04a30c647981b376fb5712bc34f (diff) | |
download | qemu-4b4629d9d26fd0e100d9be526367a96aa35b541d.zip |
include: move CPU-related definitions out of qemu-common.h
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/qom/cpu.h')
-rw-r--r-- | include/qom/cpu.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/qom/cpu.h b/include/qom/cpu.h index 4349c465c5..b8d9fb1384 100644 --- a/include/qom/cpu.h +++ b/include/qom/cpu.h @@ -222,6 +222,15 @@ struct kvm_run; #define TB_JMP_CACHE_BITS 12 #define TB_JMP_CACHE_SIZE (1 << TB_JMP_CACHE_BITS) +/* work queue */ +struct qemu_work_item { + struct qemu_work_item *next; + void (*func)(void *data); + void *data; + int done; + bool free; +}; + /** * CPUState: * @cpu_index: CPU index (informative). |