aboutsummaryrefslogtreecommitdiff
path: root/bsd-user/qemu.h
diff options
context:
space:
mode:
authorWarner Losh <imp@bsdimp.com>2022-01-08 21:15:11 -0700
committerWarner Losh <imp@bsdimp.com>2022-01-28 15:53:41 -0700
commit38be620c950dcf629ba3217c6a183fee0e790fa8 (patch)
treec8236c8c943177a25b5ae1fa97f24d47e9d5df9f /bsd-user/qemu.h
parent377145478339917491a850643bb920548907d956 (diff)
downloadqemu-38be620c950dcf629ba3217c6a183fee0e790fa8.zip
qemu-38be620c950dcf629ba3217c6a183fee0e790fa8.tar.gz
qemu-38be620c950dcf629ba3217c6a183fee0e790fa8.tar.bz2
bsd-user/signal.c: Fill in queue_signal
Fill in queue signal implementation, as well as routines allocate and delete elements of the signal queue. Signed-off-by: Stacey Son <sson@FreeBSD.org> Signed-off-by: Kyle Evans <kevans@freebsd.org> Signed-off-by: Warner Losh <imp@bsdimp.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'bsd-user/qemu.h')
-rw-r--r--bsd-user/qemu.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/bsd-user/qemu.h b/bsd-user/qemu.h
index a796477..1648a50 100644
--- a/bsd-user/qemu.h
+++ b/bsd-user/qemu.h
@@ -85,6 +85,11 @@ typedef struct TaskState {
struct bsd_binprm *bprm;
struct image_info *info;
+ struct emulated_sigtable sync_signal;
+ /*
+ * TODO: Since we block all signals while returning to the main CPU
+ * loop, this needn't be an array
+ */
struct emulated_sigtable sigtab[TARGET_NSIG];
/*
* Nonzero if process_pending_signals() needs to do something (either