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.
This commit is contained in:
tsutsui 2010-05-01 11:35:41 +00:00
parent c9568b7a17
commit 1a61dc7fca
2 changed files with 5 additions and 2 deletions

View File

@ -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 # GENERIC machine description file
# #
@ -31,6 +31,7 @@ options INCLUDE_CONFIG_FILE # embed config file in kernel binary
maxusers 32 # estimated number of users maxusers 32 # estimated number of users
options HZ=64 # default clock rate
# System options specific to hpcsh # System options specific to hpcsh

View File

@ -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 # HITACHI PERSONA HPW650PA
# #
@ -9,6 +9,8 @@ include "arch/hpcsh/conf/std.hpcsh"
maxusers 32 # estimated number of users maxusers 32 # estimated number of users
options HZ=64 # default clock rate
# in-kernel bootloader, see kloader(4) # in-kernel bootloader, see kloader(4)
options KLOADER options KLOADER
#options KLOADER_KERNEL_PATH="\"/netbsd\"" #options KLOADER_KERNEL_PATH="\"/netbsd\""