summaryrefslogtreecommitdiff
path: root/sys/arch/atari/include/vmparam.h
diff options
context:
space:
mode:
authortsutsui <tsutsui@NetBSD.org>2018-02-26 15:11:12 +0000
committertsutsui <tsutsui@NetBSD.org>2018-02-26 15:11:12 +0000
commit09bbebbbb7995feb9d170e22a1f95e2f849408a8 (patch)
tree898bc6dbec9decc169da5794607d2dccd9a9c96c /sys/arch/atari/include/vmparam.h
parentd897d9afdc31a29144e42c3c333c678ce86d1462 (diff)
Add dumb memory probe routines for Milan to use all available memory.
Tested on Milan with 32Mx1, 32Mx4, 128MBx1, and 128MBx3. (bootloader ROM fails to load TOS with 128MBx4) No particular comment on port-atari@: http://mail-index.netbsd.org/port-atari/2018/02/09/msg000580.html
Diffstat (limited to 'sys/arch/atari/include/vmparam.h')
-rw-r--r--sys/arch/atari/include/vmparam.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/atari/include/vmparam.h b/sys/arch/atari/include/vmparam.h
index e1c01fceb48..228d1e1b0b7 100644
--- a/sys/arch/atari/include/vmparam.h
+++ b/sys/arch/atari/include/vmparam.h
@@ -1,4 +1,4 @@
-/* $NetBSD: vmparam.h,v 1.31 2017/02/02 21:53:54 rin Exp $ */
+/* $NetBSD: vmparam.h,v 1.32 2018/02/26 15:11:12 tsutsui Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -104,8 +104,10 @@
/*
* Our bootloader currently passes up to 2 segments (ST and TT ram).
+ * On the other hand, Milan has four SIMM slots with 2 banks
+ * so it could have upto 8 segments.
*/
-#define VM_PHYSSEG_MAX (2)
+#define VM_PHYSSEG_MAX (8)
#define VM_PHYSSEG_STRAT VM_PSTRAT_RANDOM
#define VM_NFREELIST 2