summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1997-09-25 15:49:37 +0000
committerdg <dg@FreeBSD.org>1997-09-25 15:49:37 +0000
commit1182dc26f77df6ab88e063d5c35fd8011300cd53 (patch)
treeec65c1c1418014b14d5ee86f54c534964ee44f26 /sys/amd64
parente22797c8f46454f7af0ef4b72936fbd735c8733d (diff)
downloadFreeBSD-src-1182dc26f77df6ab88e063d5c35fd8011300cd53.zip
FreeBSD-src-1182dc26f77df6ab88e063d5c35fd8011300cd53.tar.gz
Fix a bug where the speculative memory probe wouldn't occur on systems that
report slightly more than 64MB of total memory. This can happen due to the total being the sum of both base and extended memory. Submitted by: Alan Cox <alc@cs.rice.edu>
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/amd64/machdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c
index edf7686..602d75c 100644
--- a/sys/amd64/amd64/machdep.c
+++ b/sys/amd64/amd64/machdep.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
- * $Id: machdep.c,v 1.264 1997/09/21 15:03:57 peter Exp $
+ * $Id: machdep.c,v 1.265 1997/09/21 21:38:04 gibbs Exp $
*/
#include "apm.h"
@@ -1319,7 +1319,7 @@ init386(first)
* the MAXMEM option or the npx0 "msize", then don't do the speculative
* memory probe.
*/
- if (Maxmem == 0x4000)
+ if (Maxmem >= 0x4000)
speculative_mprobe = TRUE;
else
speculative_mprobe = FALSE;
OpenPOWER on IntegriCloud