[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 03/37] bsd-user: create a per-arch signal.c file
From: |
Warner Losh |
Subject: |
[PULL 03/37] bsd-user: create a per-arch signal.c file |
Date: |
Sat, 8 Jan 2022 00:37:03 -0700 |
Create a place-holder signal.c file for each of the architectures that
are currently built. In the future, some code that's currently inlined
in target_arch_signal.h will live here.
Signed-off-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
---
bsd-user/i386/signal.c | 1 +
bsd-user/x86_64/signal.c | 1 +
meson.build | 2 +-
3 files changed, 3 insertions(+), 1 deletion(-)
create mode 100644 bsd-user/i386/signal.c
create mode 100644 bsd-user/x86_64/signal.c
diff --git a/bsd-user/i386/signal.c b/bsd-user/i386/signal.c
new file mode 100644
index 00000000000..ac903233653
--- /dev/null
+++ b/bsd-user/i386/signal.c
@@ -0,0 +1 @@
+/* Placeholder for signal.c */
diff --git a/bsd-user/x86_64/signal.c b/bsd-user/x86_64/signal.c
new file mode 100644
index 00000000000..ac903233653
--- /dev/null
+++ b/bsd-user/x86_64/signal.c
@@ -0,0 +1 @@
+/* Placeholder for signal.c */
diff --git a/meson.build b/meson.build
index 53065e96ecf..c1b1db1e28c 100644
--- a/meson.build
+++ b/meson.build
@@ -2933,7 +2933,7 @@ foreach target : target_dirs
base_dir = 'bsd-user'
target_inc += include_directories('bsd-user/' / targetos)
dir = base_dir / abi
- arch_srcs += files(dir / 'target_arch_cpu.c')
+ arch_srcs += files(dir / 'signal.c', dir / 'target_arch_cpu.c')
endif
target_inc += include_directories(
base_dir,
--
2.33.1
- [PULL 24/37] bsd-user/arm/target_arch_sigtramp.h: Signal Trampoline for arm, (continued)
- [PULL 24/37] bsd-user/arm/target_arch_sigtramp.h: Signal Trampoline for arm, Warner Losh, 2022/01/08
- [PULL 31/37] bsd-user/arm/target_arch_signal.h: Define size of *context_t, Warner Losh, 2022/01/08
- [PULL 30/37] bsd-user/arm/target_arch_signal.h: arm machine context and trapframe for signals, Warner Losh, 2022/01/08
- [PULL 28/37] bsd-user/arm/target_arch_elf.h: arm get_hwcap2 impl, Warner Losh, 2022/01/08
- [PULL 29/37] bsd-user/arm/target_arch_signal.h: arm specific signal registers and stack, Warner Losh, 2022/01/08
- [PULL 33/37] bsd-user/arm/signal.c: arm get_mcontext, Warner Losh, 2022/01/08
- [PULL 34/37] bsd-user/arm/signal.c: arm set_mcontext, Warner Losh, 2022/01/08
- [PULL 37/37] bsd-user: add arm target build, Warner Losh, 2022/01/08
- [PULL 32/37] bsd-user/arm/signal.c: arm set_sigtramp_args, Warner Losh, 2022/01/08
- [PULL 36/37] bsd-user/freebsd/target_os_ucontext.h: Require TARGET_*CONTEXT_SIZE, Warner Losh, 2022/01/08
- [PULL 03/37] bsd-user: create a per-arch signal.c file,
Warner Losh <=
- Re: [PULL 00/37] Bsd user arm patches, Richard Henderson, 2022/01/08