[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL v2 01/37] target/i386: Renumber EXCP_SYSCALL
From: |
Laurent Vivier |
Subject: |
[PULL v2 01/37] target/i386: Renumber EXCP_SYSCALL |
Date: |
Tue, 17 Mar 2020 16:50:40 +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 v2 00/37] Linux user for 5.0 patches, Laurent Vivier, 2020/03/17
- [PULL v2 02/37] linux-user/i386: Split out gen_signal, Laurent Vivier, 2020/03/17
- [PULL v2 01/37] target/i386: Renumber EXCP_SYSCALL,
Laurent Vivier <=
- [PULL v2 09/37] linux-user: Update TASK_UNMAPPED_BASE for aarch64, Laurent Vivier, 2020/03/17
- [PULL v2 06/37] linux-user: Add AT_EXECFN auxval, Laurent Vivier, 2020/03/17
- [PULL v2 05/37] linux-user: Flush out implementation of gettimeofday, Laurent Vivier, 2020/03/17
- [PULL v2 08/37] linux-user: fix socket() strace, Laurent Vivier, 2020/03/17
- [PULL v2 11/37] linux-user/syscall: Add support for clock_gettime64/clock_settime64, Laurent Vivier, 2020/03/17
- [PULL v2 04/37] linux-user: Add x86_64 vsyscall page to /proc/self/maps, Laurent Vivier, 2020/03/17
- [PULL v2 07/37] linux-user: do prlimit selectively, Laurent Vivier, 2020/03/17
- [PULL v2 13/37] linux-user: introduce parameters to generate syscall_nr.h, Laurent Vivier, 2020/03/17
- [PULL v2 10/37] linux-user: Protect more syscalls, Laurent Vivier, 2020/03/17