qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v11 19/26] linux-user: Add LoongArch signal support


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

Hi  Richard,
On 2021/11/20 下午6:33, Richard Henderson wrote:
+/* 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.
Yes.
I also see that TARGET_SIGSTKSZ is not used.  I think  we should  delete it. 

Thanks
Song Gao

reply via email to

[Prev in Thread] Current Thread [Next in Thread]