Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/hpcsh/conf Explicitly specify "options HZ=64" in ke...



details:   https://anonhg.NetBSD.org/src/rev/7b751db9a6d2
branches:  trunk
changeset: 754471:7b751db9a6d2
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sat May 01 11:35:41 2010 +0000

description:
Explicitly specify "options HZ=64" in kernel config files so that
hz(9) is initialized properly in conf/param.c even before
cpu_initclocks(9) is called and timecounter(9) will take
a correct frequency for the clockinterrupt.

diffstat:

 sys/arch/hpcsh/conf/GENERIC  |  3 ++-
 sys/arch/hpcsh/conf/HPW650PA |  4 +++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diffs (35 lines):

diff -r c74b6d662852 -r 7b751db9a6d2 sys/arch/hpcsh/conf/GENERIC
--- a/sys/arch/hpcsh/conf/GENERIC       Sat May 01 11:28:40 2010 +0000
+++ b/sys/arch/hpcsh/conf/GENERIC       Sat May 01 11:35:41 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.89 2010/05/01 11:28:40 tsutsui Exp $
+# $NetBSD: GENERIC,v 1.90 2010/05/01 11:35:41 tsutsui Exp $
 #
 # GENERIC machine description file
 #
@@ -31,6 +31,7 @@
 
 maxusers       32                      # estimated number of users
 
+options        HZ=64                   # default clock rate
 
 # System options specific to hpcsh
 
diff -r c74b6d662852 -r 7b751db9a6d2 sys/arch/hpcsh/conf/HPW650PA
--- a/sys/arch/hpcsh/conf/HPW650PA      Sat May 01 11:28:40 2010 +0000
+++ b/sys/arch/hpcsh/conf/HPW650PA      Sat May 01 11:35:41 2010 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: HPW650PA,v 1.28 2010/05/01 11:28:40 tsutsui Exp $
+#      $NetBSD: HPW650PA,v 1.29 2010/05/01 11:35:41 tsutsui Exp $
 #
 #      HITACHI PERSONA HPW650PA
 #
@@ -9,6 +9,8 @@
 
 maxusers       32                      # estimated number of users
 
+options        HZ=64                   # default clock rate                  
+
 # in-kernel bootloader, see kloader(4)
 options        KLOADER
 #options       KLOADER_KERNEL_PATH="\"/netbsd\""



Home | Main Index | Thread Index | Old Index