|
From: | gaosong |
Subject: | Re: [PATCH v11 19/26] linux-user: Add LoongArch signal support |
Date: | Thu, 25 Nov 2021 11:03:36 +0800 |
User-agent: | Mozilla/5.0 (X11; Linux loongarch64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 |
Yes.+/* this struct defines a stack used during syscall handling */
+typedef struct target_sigaltstack {
+ abi_long ss_sp;
+ abi_int ss_flags;
+ abi_ulong ss_size;
+} target_stack_t;
+
+/*
+ * sigaltstack controls
+ */
+#define TARGET_SS_ONSTACK 1
+#define TARGET_SS_DISABLE 2
+
+#define TARGET_MINSIGSTKSZ 2048
+#define TARGET_SIGSTKSZ 8192
We should move these to generic/signal.h.
[Prev in Thread] | Current Thread | [Next in Thread] |