summaryrefslogtreecommitdiffstats
path: root/sys/pc98
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2003-01-28 19:05:44 +0000
committerjake <jake@FreeBSD.org>2003-01-28 19:05:44 +0000
commitae6dbfd8a752d059b5f1e3c66f6c42c003e4346b (patch)
tree4429dd31f98bb6f379a9af6f10defda7569c37af /sys/pc98
parente0d4d79d7c723984d0de5df59f77ec507877ee0c (diff)
downloadFreeBSD-src-ae6dbfd8a752d059b5f1e3c66f6c42c003e4346b.zip
FreeBSD-src-ae6dbfd8a752d059b5f1e3c66f6c42c003e4346b.tar.gz
Remove BDE_DEBUGGER.
Discussed with: bde
Diffstat (limited to 'sys/pc98')
-rw-r--r--sys/pc98/i386/machdep.c8
-rw-r--r--sys/pc98/pc98/machdep.c8
2 files changed, 2 insertions, 14 deletions
diff --git a/sys/pc98/i386/machdep.c b/sys/pc98/i386/machdep.c
index f718a12..4aa649b 100644
--- a/sys/pc98/i386/machdep.c
+++ b/sys/pc98/i386/machdep.c
@@ -2016,14 +2016,8 @@ init386(first)
gdt_segs[GPRIV_SEL].ssd_base = (int) pc;
gdt_segs[GPROC0_SEL].ssd_base = (int) &pc->pc_common_tss;
- for (x = 0; x < NGDT; x++) {
-#ifdef BDE_DEBUGGER
- /* avoid overwriting db entries with APM ones */
- if (x >= GAPMCODE32_SEL && x <= GAPMDATA_SEL)
- continue;
-#endif
+ for (x = 0; x < NGDT; x++)
ssdtosd(&gdt_segs[x], &gdt[x].sd);
- }
r_gdt.rd_limit = NGDT * sizeof(gdt[0]) - 1;
r_gdt.rd_base = (int) gdt;
diff --git a/sys/pc98/pc98/machdep.c b/sys/pc98/pc98/machdep.c
index f718a12..4aa649b 100644
--- a/sys/pc98/pc98/machdep.c
+++ b/sys/pc98/pc98/machdep.c
@@ -2016,14 +2016,8 @@ init386(first)
gdt_segs[GPRIV_SEL].ssd_base = (int) pc;
gdt_segs[GPROC0_SEL].ssd_base = (int) &pc->pc_common_tss;
- for (x = 0; x < NGDT; x++) {
-#ifdef BDE_DEBUGGER
- /* avoid overwriting db entries with APM ones */
- if (x >= GAPMCODE32_SEL && x <= GAPMDATA_SEL)
- continue;
-#endif
+ for (x = 0; x < NGDT; x++)
ssdtosd(&gdt_segs[x], &gdt[x].sd);
- }
r_gdt.rd_limit = NGDT * sizeof(gdt[0]) - 1;
r_gdt.rd_base = (int) gdt;
OpenPOWER on IntegriCloud