summaryrefslogtreecommitdiffstats
path: root/sys/pc98/i386/machdep.c
diff options
context:
space:
mode:
authornyan <nyan@FreeBSD.org>2000-10-28 11:16:42 +0000
committernyan <nyan@FreeBSD.org>2000-10-28 11:16:42 +0000
commit965741e3e33f81910afac4cd6f73db62f45b5d7b (patch)
treec8d41d4863dc31373277ec558d831c189e580548 /sys/pc98/i386/machdep.c
parent18652ae093f861545f7c487b01b5b360f44c8195 (diff)
downloadFreeBSD-src-965741e3e33f81910afac4cd6f73db62f45b5d7b.zip
FreeBSD-src-965741e3e33f81910afac4cd6f73db62f45b5d7b.tar.gz
Fixed extention memory check routine.
Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata)
Diffstat (limited to 'sys/pc98/i386/machdep.c')
-rw-r--r--sys/pc98/i386/machdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/pc98/i386/machdep.c b/sys/pc98/i386/machdep.c
index 591503b..1918878 100644
--- a/sys/pc98/i386/machdep.c
+++ b/sys/pc98/i386/machdep.c
@@ -1543,7 +1543,7 @@ getmemsize(int first)
/*
* Certain 'CPU accelerator' supports over 16MB memory on the machines
* whose BIOS doesn't store true size.
- * To support this, we don't trust BIOS values if Maxmem < 16MB (0x1000
+ * To support this, we don't trust BIOS values if Maxmem <= 16MB (0x1000
* pages) - which is the largest amount that the OLD PC-98 can report.
*
* OK: PC-9801NS/R(9.6M)
@@ -1551,7 +1551,7 @@ getmemsize(int first)
* OK: PC-9821Ap(14.6M)+EUA-T(8M)+Cyrix 5x86-100
* NG: PC-9821Ap(14.6M)+EUA-T(8M)+AMD DX4-100 -> freeze
*/
- if (Maxmem < 0x1000) {
+ if (Maxmem <= 0x1000) {
int tmp, page_bad;
page_bad = FALSE;
OpenPOWER on IntegriCloud