summaryrefslogtreecommitdiff
path: root/i386
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2020-04-06 22:16:05 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2020-04-06 22:16:05 +0200
commit8872f037708d83d8b71de6747be499066d287455 (patch)
treefb34dc3b46c5396433c2d7d19a8c15553bb6da62 /i386
parent71f4f63143d2ab0987d3315cdcd5d20e233d68d7 (diff)
mach_trap_table: Fix 64bit version
The addition of the mach_trap_name field made the 64bit unused field spurious. * kern/syscall_sw.h (mach_trap_t): Remove `unused' field.
Diffstat (limited to 'i386')
-rw-r--r--i386/i386/locore.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/i386/i386/locore.S b/i386/i386/locore.S
index ddba2245..a0960a26 100644
--- a/i386/i386/locore.S
+++ b/i386/i386/locore.S
@@ -1075,7 +1075,7 @@ syscall_native:
movb $0xf,%dh
movw %dx,0xb800c
#endif
- shll $4,%eax /* manual indexing */
+ shll $4,%eax /* manual indexing of mach_trap_t */
movl EXT(mach_trap_table)(%eax),%ecx
/* get number of arguments */
jecxz mach_call_call /* skip argument copy if none */