Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/i386/include Define some masks to be able to pass i...



details:   https://anonhg.NetBSD.org/src/rev/bf36d75db3a3
branches:  trunk
changeset: 537796:bf36d75db3a3
user:      fvdl <fvdl%NetBSD.org@localhost>
date:      Sat Oct 05 21:27:35 2002 +0000

description:
Define some masks to be able to pass information about a trap
being a TSS trap down to things like DDB.

XXX a bit of a hack.

diffstat:

 sys/arch/i386/include/trap.h |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r c500613b527d -r bf36d75db3a3 sys/arch/i386/include/trap.h
--- a/sys/arch/i386/include/trap.h      Sat Oct 05 21:26:24 2002 +0000
+++ b/sys/arch/i386/include/trap.h      Sat Oct 05 21:27:35 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: trap.h,v 1.5 2002/06/17 21:38:20 fvdl Exp $    */
+/*     $NetBSD: trap.h,v 1.6 2002/10/05 21:27:35 fvdl Exp $    */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -67,3 +67,8 @@
 
 /* Trap's coming from user mode */
 #define        T_USER  0x100
+
+/* Flags kludged into the trap code */
+
+#define TC_TSS         0x80000000
+#define TC_FLAGMASK    (TC_TSS)



Home | Main Index | Thread Index | Old Index