[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 01/38] target/i386: Renumber EXCP_SYSCALL
From: |
Laurent Vivier |
Subject: |
[PULL 01/38] target/i386: Renumber EXCP_SYSCALL |
Date: |
Mon, 16 Mar 2020 17:15:13 +0100 |
From: Richard Henderson <address@hidden>
We are not short of numbers for EXCP_*. There is no need to confuse things
by having EXCP_VMEXIT and EXCP_SYSCALL overlap, even though the former is
only used for system mode and the latter is only used for user mode.
Reviewed-by: Paolo Bonzini <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>
---
target/i386/cpu.h | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/target/i386/cpu.h b/target/i386/cpu.h
index 576f309bbfc8..08b4422f36bd 100644
--- a/target/i386/cpu.h
+++ b/target/i386/cpu.h
@@ -999,9 +999,8 @@ typedef uint64_t FeatureWordArray[FEATURE_WORDS];
#define EXCP11_ALGN 17
#define EXCP12_MCHK 18
-#define EXCP_SYSCALL 0x100 /* only happens in user only emulation
- for syscall instruction */
-#define EXCP_VMEXIT 0x100
+#define EXCP_VMEXIT 0x100 /* only for system emulation */
+#define EXCP_SYSCALL 0x101 /* only for user emulation */
/* i386-specific interrupt pending bits. */
#define CPU_INTERRUPT_POLL CPU_INTERRUPT_TGT_EXT_1
--
2.24.1
- [PULL 20/38] linux-user, microblaze: add syscall table generation support, (continued)
- [PULL 20/38] linux-user, microblaze: add syscall table generation support, Laurent Vivier, 2020/03/16
- [PULL 14/38] linux-user: introduce parameters to generate syscall_nr.h, Laurent Vivier, 2020/03/16
- [PULL 37/38] linux-user, nios2: sync syscall numbers with kernel v5.5, Laurent Vivier, 2020/03/16
- [PULL 11/38] linux-user/syscall: Add support for clock_gettime64/clock_settime64, Laurent Vivier, 2020/03/16
- [PULL 13/38] linux-user/riscv: Update the syscall_nr's to the 5.5 kernel, Laurent Vivier, 2020/03/16
- [PULL 18/38] linux-user, xtensa: add syscall table generation support, Laurent Vivier, 2020/03/16
- [PULL 30/38] linux-user, mips64: add syscall table generation support, Laurent Vivier, 2020/03/16
- [PULL 33/38] linux-user,mips: move content of mips_syscall_args, Laurent Vivier, 2020/03/16
- [PULL 04/38] linux-user: Add x86_64 vsyscall page to /proc/self/maps, Laurent Vivier, 2020/03/16
- [PULL 08/38] linux-user: fix socket() strace, Laurent Vivier, 2020/03/16
- [PULL 01/38] target/i386: Renumber EXCP_SYSCALL,
Laurent Vivier <=
- [PULL 17/38] linux-user, m68k: add syscall table generation support, Laurent Vivier, 2020/03/16
- [PULL 26/38] linux-user, x86_64, i386: cleanup TARGET_NR_arch_prctl, Laurent Vivier, 2020/03/16
- [PULL 34/38] linux-user,mips: update syscall-args-o32.c.inc, Laurent Vivier, 2020/03/16
- [PULL 28/38] linux-user, x86_64: add syscall table generation support, Laurent Vivier, 2020/03/16
- [PULL 24/38] linux-user, s390x: add syscall table generation support, Laurent Vivier, 2020/03/16
- [PULL 38/38] linux-user, openrisc: sync syscall numbers with kernel v5.5, Laurent Vivier, 2020/03/16
- Re: [PULL 00/38] Linux user for 5.0 patches, Peter Maydell, 2020/03/16
- Re: [PULL 00/38] Linux user for 5.0 patches, no-reply, 2020/03/16
- Re: [PULL 00/38] Linux user for 5.0 patches, no-reply, 2020/03/16