summaryrefslogtreecommitdiffstats
path: root/sys/pc98
diff options
context:
space:
mode:
authornyan <nyan@FreeBSD.org>2001-06-02 05:51:21 +0000
committernyan <nyan@FreeBSD.org>2001-06-02 05:51:21 +0000
commit58f4d7553b16703953dbd26f732fd7d7de0d166c (patch)
tree87df3a6f8900d4c23b548a2ab909f505c169c543 /sys/pc98
parent69fcd429613095182395f09ed46525b4141df150 (diff)
downloadFreeBSD-src-58f4d7553b16703953dbd26f732fd7d7de0d166c.zip
FreeBSD-src-58f4d7553b16703953dbd26f732fd7d7de0d166c.tar.gz
Disabled unneeded code for PC98.
Submitted by: NOKUBI Hirotaka <nokubi@ff.iij4u.or.jp>
Diffstat (limited to 'sys/pc98')
-rw-r--r--sys/pc98/i386/machdep.c2
-rw-r--r--sys/pc98/pc98/machdep.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/pc98/i386/machdep.c b/sys/pc98/i386/machdep.c
index 244e8dd..e90f4f8 100644
--- a/sys/pc98/i386/machdep.c
+++ b/sys/pc98/i386/machdep.c
@@ -1539,6 +1539,7 @@ getmemsize(int first)
for (i = basemem / 4; i < 160; i++)
pte[i] = (i << PAGE_SHIFT) | PG_V | PG_RW | PG_U;
+#ifndef PC98
/*
* map page 1 R/W into the kernel page table so we can use it
* as a buffer. The kernel will unmap this page later.
@@ -1546,7 +1547,6 @@ getmemsize(int first)
pte = (pt_entry_t)vtopte(KERNBASE + (1 << PAGE_SHIFT));
*pte = (1 << PAGE_SHIFT) | PG_RW | PG_V;
-#ifndef PC98
/*
* get memory map with INT 15:E820
*/
diff --git a/sys/pc98/pc98/machdep.c b/sys/pc98/pc98/machdep.c
index 244e8dd..e90f4f8 100644
--- a/sys/pc98/pc98/machdep.c
+++ b/sys/pc98/pc98/machdep.c
@@ -1539,6 +1539,7 @@ getmemsize(int first)
for (i = basemem / 4; i < 160; i++)
pte[i] = (i << PAGE_SHIFT) | PG_V | PG_RW | PG_U;
+#ifndef PC98
/*
* map page 1 R/W into the kernel page table so we can use it
* as a buffer. The kernel will unmap this page later.
@@ -1546,7 +1547,6 @@ getmemsize(int first)
pte = (pt_entry_t)vtopte(KERNBASE + (1 << PAGE_SHIFT));
*pte = (1 << PAGE_SHIFT) | PG_RW | PG_V;
-#ifndef PC98
/*
* get memory map with INT 15:E820
*/
OpenPOWER on IntegriCloud