[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v5 63/76] linux-user: Add target_signal.h header for
From: |
Aleksandar Markovic |
Subject: |
[Qemu-devel] [PATCH v5 63/76] linux-user: Add target_signal.h header for nanoMIPS |
Date: |
Mon, 30 Jul 2018 18:12:36 +0200 |
From: Aleksandar Rikalo <address@hidden>
nanoMIPS signal handling is much closer to the signal handling in
other mainstream platforms that to the signal handling in preceding
MIPS platforms.
Signed-off-by: Aleksandar Rikalo <address@hidden>
Signed-off-by: Aleksandar Markovic <address@hidden>
Signed-off-by: Stefan Markovic <address@hidden>
---
linux-user/nanomips/target_signal.h | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
create mode 100644 linux-user/nanomips/target_signal.h
diff --git a/linux-user/nanomips/target_signal.h
b/linux-user/nanomips/target_signal.h
new file mode 100644
index 0000000..604e853
--- /dev/null
+++ b/linux-user/nanomips/target_signal.h
@@ -0,0 +1,22 @@
+#ifndef NANOMIPS_TARGET_SIGNAL_H
+#define NANOMIPS_TARGET_SIGNAL_H
+
+#include "../generic/signal.h"
+#undef TARGET_SIGRTMIN
+#define TARGET_SIGRTMIN 35
+
+/* this struct defines a stack used during syscall handling */
+typedef struct target_sigaltstack {
+ abi_long ss_sp;
+ abi_ulong ss_size;
+ abi_long ss_flags;
+} target_stack_t;
+
+/* sigaltstack controls */
+#define TARGET_SS_ONSTACK 1
+#define TARGET_SS_DISABLE 2
+
+#define TARGET_MINSIGSTKSZ 6144
+#define TARGET_SIGSTKSZ 12288
+
+#endif
--
2.7.4
- [Qemu-devel] [PATCH v5 53/76] elf: Add nanoMIPS specific variations in ELF header fields, (continued)
- [Qemu-devel] [PATCH v5 53/76] elf: Add nanoMIPS specific variations in ELF header fields, Aleksandar Markovic, 2018/07/30
- [Qemu-devel] [PATCH v5 54/76] elf: Relax MIPS' elf_check_arch() to accept EM_NANOMIPS too, Aleksandar Markovic, 2018/07/30
- [Qemu-devel] [PATCH v5 55/76] elf: Don't check FCR31_NAN2008 bit for nanoMIPS, Aleksandar Markovic, 2018/07/30
- [Qemu-devel] [PATCH v5 56/76] mips_malta: Add basic nanoMIPS boot code for MIPS' Malta, Aleksandar Markovic, 2018/07/30
- [Qemu-devel] [PATCH v5 57/76] mips_malta: Setup GT64120 BARs in nanoMIPS bootloader, Aleksandar Markovic, 2018/07/30
- [Qemu-devel] [PATCH v5 58/76] mips_malta: Fix semihosting argument passing for nanoMIPS bare metal, Aleksandar Markovic, 2018/07/30
- [Qemu-devel] [PATCH v5 59/76] gdbstub: Disable handling of nanoMIPS ISA bit in the MIPS gdbstub, Aleksandar Markovic, 2018/07/30
- [Qemu-devel] [PATCH v5 60/76] gdbstub: Add XML support for GDB for nanoMIPS, Aleksandar Markovic, 2018/07/30
- [Qemu-devel] [PATCH v5 61/76] target/mips: Add definition of nanoMIPS I7200 CPU, Aleksandar Markovic, 2018/07/30
- [Qemu-devel] [PATCH v5 62/76] linux-user: Add syscall numbers for nanoMIPS, Aleksandar Markovic, 2018/07/30
- [Qemu-devel] [PATCH v5 63/76] linux-user: Add target_signal.h header for nanoMIPS,
Aleksandar Markovic <=
- [Qemu-devel] [PATCH v5 64/76] linux-user: Add termbits.h header for nanoMIPS, Aleksandar Markovic, 2018/07/30
- [Qemu-devel] [PATCH v5 67/76] linux-user: Add sockbits.h header for nanoMIPS, Aleksandar Markovic, 2018/07/30
- [Qemu-devel] [PATCH v5 66/76] linux-user: Add target_fcntl.h header for nanoMIPS, Aleksandar Markovic, 2018/07/30
- [Qemu-devel] [PATCH v5 68/76] linux-user: Add target_syscall.h header for nanoMIPS, Aleksandar Markovic, 2018/07/30
- [Qemu-devel] [PATCH v5 69/76] linux-user: Add target_cpu.h header for nanoMIPS, Aleksandar Markovic, 2018/07/30
- [Qemu-devel] [PATCH v5 71/76] linux-user: Add target_elf.h header for nanoMIPS, Aleksandar Markovic, 2018/07/30
- [Qemu-devel] [PATCH v5 65/76] linux-user: Update syscall_defs.h header for nanoMIPS, Aleksandar Markovic, 2018/07/30
- [Qemu-devel] [PATCH v5 70/76] linux-user: Add target_structs.h header for nanoMIPS, Aleksandar Markovic, 2018/07/30
- [Qemu-devel] [PATCH v5 73/76] linux-user: Add support for nanoMIPS signal trampoline, Aleksandar Markovic, 2018/07/30
- [Qemu-devel] [PATCH v5 72/76] linux-user: Add signal.c for nanoMIPS, Aleksandar Markovic, 2018/07/30