summaryrefslogtreecommitdiffstats
path: root/sys/pc98/pc98/pc98_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/pc98/pc98_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/pc98/pc98_machdep.c')
-rw-r--r--sys/pc98/pc98/pc98_machdep.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/pc98/pc98/pc98_machdep.c b/sys/pc98/pc98/pc98_machdep.c
index e0571f7..a2a0a79 100644
--- a/sys/pc98/pc98/pc98_machdep.c
+++ b/sys/pc98/pc98/pc98_machdep.c
@@ -147,6 +147,7 @@ pc98_getmemsize(unsigned *base, unsigned *ext, unsigned *under16)
if (over16 > 0) {
*ext = (16 + over16) * 1024;
}
+ *ext -= 1024; /* subtract base memory space */
}
/*
OpenPOWER on IntegriCloud