Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/sys/arch/i386/include Pull up revision 1.17 (requested ...
details: https://anonhg.NetBSD.org/src/rev/084967e47576
branches: netbsd-1-5
changeset: 491925:084967e47576
user: he <he%NetBSD.org@localhost>
date: Sun Jun 17 22:27:12 2001 +0000
description:
Pull up revision 1.17 (requested by sommerfeld):
Add %fs/%gs to trap frame and save/restore them on trap/interupt/
syscall entry from userspace.
Remove special-case ``by hand'' validation of %fs/%gs register
values s well as special handling of them in various signal
handling paths. Now, like %ds and %es, they are validated by
the hardware on return to userland.
This paves the way for the use of %fs for per-cpu data on multi-
processor systems, and fixes an otherwise difficult-to-fix
interaction between threads/clone(2) and USER_LDT.
diffstat:
sys/arch/i386/include/db_machdep.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 93723b6a77a8 -r 084967e47576 sys/arch/i386/include/db_machdep.h
--- a/sys/arch/i386/include/db_machdep.h Sun Jun 17 22:27:10 2001 +0000
+++ b/sys/arch/i386/include/db_machdep.h Sun Jun 17 22:27:12 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: db_machdep.h,v 1.14 1998/12/04 20:19:22 thorpej Exp $ */
+/* $NetBSD: db_machdep.h,v 1.14.22.1 2001/06/17 22:27:12 he Exp $ */
/*
* Mach Operating System
@@ -101,7 +101,7 @@
* Constants for KGDB.
*/
typedef long kgdb_reg_t;
-#define KGDB_NUMREGS 14
+#define KGDB_NUMREGS 16
#define KGDB_BUFLEN 512
#if 0
Home |
Main Index |
Thread Index |
Old Index