[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v6 08/16] bsd-user: Rename TARGET_ERESTARTSYS to QEMU_ERESTARTSYS
From: |
Richard Henderson |
Subject: |
[PATCH v6 08/16] bsd-user: Rename TARGET_ERESTARTSYS to QEMU_ERESTARTSYS |
Date: |
Tue, 23 Nov 2021 18:37:51 +0100 |
This value is fully internal to qemu, and so is not a TARGET define.
We use this as an extra marker for both host and target errno.
Reviewed-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
bsd-user/errno_defs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bsd-user/errno_defs.h b/bsd-user/errno_defs.h
index 832671354f..141e08456c 100644
--- a/bsd-user/errno_defs.h
+++ b/bsd-user/errno_defs.h
@@ -151,6 +151,6 @@
/* Internal errors: */
#define TARGET_EJUSTRETURN 254 /* Just return without
modifing regs */
#define TARGET_ERESTART 255 /* Restart syscall */
-#define TARGET_ERESTARTSYS TARGET_ERESTART /* Linux compat */
+#define QEMU_ERESTARTSYS TARGET_ERESTART
#endif /* ! _ERRNO_DEFS_H_ */
--
2.25.1
- [PATCH for-7.0 v6 00/16] linux-user: simplify safe signal handling, Richard Henderson, 2021/11/23
- [PATCH v6 02/16] linux-user/host/ppc64: Use r11 for signal_pending address, Richard Henderson, 2021/11/23
- [PATCH v6 01/16] linux-user: Untabify all safe-syscall.inc.S, Richard Henderson, 2021/11/23
- [PATCH v6 03/16] linux-user: Move syscall error detection into safe_syscall_base, Richard Henderson, 2021/11/23
- [PATCH v6 04/16] linux-user/host/mips: Add safe-syscall.inc.S, Richard Henderson, 2021/11/23
- [PATCH v6 05/16] linux-user/host/sparc64: Add safe-syscall.inc.S, Richard Henderson, 2021/11/23
- [PATCH v6 06/16] linux-user: Remove HAVE_SAFE_SYSCALL and hostdep.h, Richard Henderson, 2021/11/23
- [PATCH v6 07/16] linux-user: Rename TARGET_ERESTARTSYS to QEMU_ERESTARTSYS, Richard Henderson, 2021/11/23
- [PATCH v6 08/16] bsd-user: Rename TARGET_ERESTARTSYS to QEMU_ERESTARTSYS,
Richard Henderson <=
- [PATCH v6 09/16] linux-user: Rename TARGET_QEMU_ESIGRETURN to QEMU_ESIGRETURN, Richard Henderson, 2021/11/23
- [PATCH v6 10/16] linux-user: Create special-errno.h, Richard Henderson, 2021/11/23
- [PATCH v6 11/16] bsd-user: Create special-errno.h, Richard Henderson, 2021/11/23
- [PATCH v6 12/16] common-user: Move safe-syscall.* from linux-user, Richard Henderson, 2021/11/23
- [PATCH v6 14/16] linux-user: Move thunk.c from top-level, Richard Henderson, 2021/11/23
- [PATCH v6 13/16] common-user: Adjust system call return on FreeBSD, Richard Henderson, 2021/11/23
- [PATCH v6 15/16] meson: Move linux_user_ss to linux-user/, Richard Henderson, 2021/11/23
- [PATCH v6 16/16] meson: Move bsd_user_ss to bsd-user/, Richard Henderson, 2021/11/23