From 1a61dc7fca52528b3fb2927bbbacbed1815ece7d Mon Sep 17 00:00:00 2001 From: tsutsui Date: Sat, 1 May 2010 11:35:41 +0000 Subject: [PATCH] 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. --- sys/arch/hpcsh/conf/GENERIC | 3 ++- sys/arch/hpcsh/conf/HPW650PA | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/sys/arch/hpcsh/conf/GENERIC b/sys/arch/hpcsh/conf/GENERIC index 90574f45f183..9ade846ce271 100644 --- a/sys/arch/hpcsh/conf/GENERIC +++ b/sys/arch/hpcsh/conf/GENERIC @@ -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 @@ options INCLUDE_CONFIG_FILE # embed config file in kernel binary maxusers 32 # estimated number of users +options HZ=64 # default clock rate # System options specific to hpcsh diff --git a/sys/arch/hpcsh/conf/HPW650PA b/sys/arch/hpcsh/conf/HPW650PA index 3d91d42bcd72..0e2e7c76dae9 100644 --- a/sys/arch/hpcsh/conf/HPW650PA +++ b/sys/arch/hpcsh/conf/HPW650PA @@ -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 @@ include "arch/hpcsh/conf/std.hpcsh" 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\""