[eros-cvs] cvs commit: eros/src/base/sys/arch/i486/kernel GDT.cxx Segment.hxx
shap@eros.cs.jhu.edu
shap@eros.cs.jhu.edu
Wed, 8 Aug 2001 16:15:12 -0400
shap 01/08/08 16:15:12
Modified: src/base/sys/arch/i486/kernel GDT.cxx Segment.hxx
Log:
Rename size attribute, and arrange to print
Revision Changes Path
1.28 +3 -3 eros/src/base/sys/arch/i486/kernel/GDT.cxx
Index: GDT.cxx
===================================================================
RCS file: /cvs/eros/src/base/sys/arch/i486/kernel/GDT.cxx,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- GDT.cxx 2001/06/17 20:45:55 1.27
+++ GDT.cxx 2001/08/08 20:15:12 1.28
@@ -57,7 +57,7 @@
tssSeg.hiLimit = 0;
tssSeg.avl = 0;
tssSeg.zero = 0;
- tssSeg.dflt = 0;
+ tssSeg.sz = 0;
tssSeg.granularity = 0;
uint32_t * wTssSeg = (uint32_t *) &tssSeg;
@@ -133,9 +133,9 @@
entry, base, limit,
GdtTable[entry * 2], GdtTable[entry * 2 + 1]);
- db_printf(" ty=%d sys=%d dpl=%d pres=%d avl=%d gran=%d\n",
+ db_printf(" ty=%d sys=%d dpl=%d pres=%d avl=%d gran=%d (%d bit)\n",
seg.type, seg.system, seg.dpl, seg.present, seg.avl,
- seg.granularity);
+ seg.granularity, seg.sz ? 32 : 16);
}
}
#endif
1.18 +1 -1 eros/src/base/sys/arch/i486/kernel/Segment.hxx
Index: Segment.hxx
===================================================================
RCS file: /cvs/eros/src/base/sys/arch/i486/kernel/Segment.hxx,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- Segment.hxx 2001/06/17 20:45:55 1.17
+++ Segment.hxx 2001/08/08 20:15:12 1.18
@@ -85,7 +85,7 @@
uint32_t hiLimit : 4;
uint32_t avl : 1;
uint32_t zero : 1;
- uint32_t dflt : 1;
+ uint32_t sz : 1;
uint32_t granularity : 1;
uint32_t hiBase : 8;
};