diff options
Diffstat (limited to 'qemu-common.h')
-rw-r--r-- | qemu-common.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/qemu-common.h b/qemu-common.h index 4ba0cdad06..a4888e5e5c 100644 --- a/qemu-common.h +++ b/qemu-common.h @@ -249,6 +249,14 @@ void qemu_notify_event(void); void qemu_cpu_kick(void *env); int qemu_cpu_self(void *env); +/* work queue */ +struct qemu_work_item { + struct qemu_work_item *next; + void (*func)(void *data); + void *data; + int done; +}; + #ifdef CONFIG_USER_ONLY #define qemu_init_vcpu(env) do { } while (0) #else |