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 Change setgate() prototype.



details:   https://anonhg.NetBSD.org/src/rev/c500613b527d
branches:  trunk
changeset: 537795:c500613b527d
user:      fvdl <fvdl%NetBSD.org@localhost>
date:      Sat Oct 05 21:26:24 2002 +0000

description:
Change setgate() prototype.
Define GDT entries for DDB and double fault TSS.

diffstat:

 sys/arch/i386/include/segments.h |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r ae6c78771c40 -r c500613b527d sys/arch/i386/include/segments.h
--- a/sys/arch/i386/include/segments.h  Sat Oct 05 21:25:24 2002 +0000
+++ b/sys/arch/i386/include/segments.h  Sat Oct 05 21:26:24 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: segments.h,v 1.34 2002/10/01 12:57:09 fvdl Exp $       */
+/*     $NetBSD: segments.h,v 1.35 2002/10/05 21:26:24 fvdl Exp $       */
 
 /*-
  * Copyright (c) 1995, 1997
@@ -134,7 +134,7 @@
 #ifdef _KERNEL
 extern union descriptor *idt, *gdt, *ldt;
 
-void setgate __P((struct gate_descriptor *, void *, int, int, int));
+void setgate __P((struct gate_descriptor *, void *, int, int, int, int));
 void setregion __P((struct region_descriptor *, void *, size_t));
 void setsegment __P((struct segment_descriptor *, void *, size_t, int, int,
     int, int));
@@ -253,7 +253,9 @@
 #define        GPNPBIOSDATA_SEL 15
 #define        GPNPBIOSSCRATCH_SEL 16
 #define        GPNPBIOSTRAMP_SEL 17
-#define        NGDT            18
+#define GTRAPTSS_SEL   18
+#define GIPITSS_SEL    19
+#define        NGDT            20
 
 /*
  * Entries in the Local Descriptor Table (LDT)



Home | Main Index | Thread Index | Old Index