[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 22/40] bsd-user: Add host signals to the build
|
From: |
Warner Losh |
|
Subject: |
[PATCH v2 22/40] bsd-user: Add host signals to the build |
|
Date: |
Mon, 24 Jan 2022 18:29:29 -0700 |
Start to add the host signal functionality to the build.
Signed-off-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
---
bsd-user/meson.build | 1 +
bsd-user/signal.c | 1 +
meson.build | 1 +
3 files changed, 3 insertions(+)
diff --git a/bsd-user/meson.build b/bsd-user/meson.build
index 9fcb80c3fa8..a768e65d35e 100644
--- a/bsd-user/meson.build
+++ b/bsd-user/meson.build
@@ -4,6 +4,7 @@ endif
bsd_user_ss = ss.source_set()
+common_user_inc += include_directories('host/' / host_arch)
common_user_inc += include_directories('.')
bsd_user_ss.add(files(
diff --git a/bsd-user/signal.c b/bsd-user/signal.c
index ad8437a8bfb..f3e020e004a 100644
--- a/bsd-user/signal.c
+++ b/bsd-user/signal.c
@@ -22,6 +22,7 @@
#include "qemu.h"
#include "signal-common.h"
#include "hw/core/tcg-cpu-ops.h"
+#include "host-signal.h"
/*
* Stubbed out routines until we merge signal support from bsd-user
diff --git a/meson.build b/meson.build
index c1b1db1e28c..99bb7ba3a57 100644
--- a/meson.build
+++ b/meson.build
@@ -2932,6 +2932,7 @@ foreach target : target_dirs
if 'CONFIG_BSD_USER' in config_target
base_dir = 'bsd-user'
target_inc += include_directories('bsd-user/' / targetos)
+ target_inc += include_directories('bsd-user/host/' / host_arch)
dir = base_dir / abi
arch_srcs += files(dir / 'signal.c', dir / 'target_arch_cpu.c')
endif
--
2.33.1
- Re: [PATCH v2 14/40] bsd-user/arm/target_arch_cpu.h: Use force_sig_fault for EXCP_UDEF, (continued)
- [PATCH v2 16/40] bsd-user/signal.c: implement abstract target / host signal translation, Warner Losh, 2022/01/24
- [PATCH v2 18/40] bsd-user/signal.c: Add si_type argument to queue_signal, Warner Losh, 2022/01/24
- [PATCH v2 13/40] bsd-user/arm/target_arch_cpu.h: Correct code pointer, Warner Losh, 2022/01/24
- [PATCH v2 15/40] bsd-user/arm/target_arch_cpu.h: Implement data faults, Warner Losh, 2022/01/24
- [PATCH v2 11/40] bsd-user/signal.c: implement cpu_loop_exit_sigbus, Warner Losh, 2022/01/24
- [PATCH v2 12/40] bsd-user/arm/arget_arch_cpu.h: Move EXCP_DEBUG and EXCP_BKPT together, Warner Losh, 2022/01/24
- [PATCH v2 22/40] bsd-user: Add host signals to the build,
Warner Losh <=
- [PATCH v2 17/40] bsd-user/signal.c: Implement signal_init(), Warner Losh, 2022/01/24
- [PATCH v2 19/40] bsd-user/host/arm/host-signal.h: Implement host_signal_*, Warner Losh, 2022/01/24
- [PATCH v2 26/40] bsd-user/signal.c: Implement host_signal_handler, Warner Losh, 2022/01/24
- [PATCH v2 23/40] bsd-user: Add trace events for bsd-user, Warner Losh, 2022/01/24
- [PATCH v2 21/40] bsd-user/host/x86_64/host-signal.h: Implement host_signal_*, Warner Losh, 2022/01/24
- [PATCH v2 29/40] bsd-user/signal.c: Fill in queue_signal, Warner Losh, 2022/01/24