Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbmips/conf Use 50Hz ticks so that time works accu...



details:   https://anonhg.NetBSD.org/src/rev/00804e382546
branches:  trunk
changeset: 1026278:00804e382546
user:      simonb <simonb%NetBSD.org@localhost>
date:      Tue Nov 16 06:46:41 2021 +0000

description:
Use 50Hz ticks so that time works accurately on hosts with 100Hz ticks.

Note: The 20Kc CPU isn't handled correctly by QEMU, use the 5Kc CPU for
a 64-bit guest for accurate time.

diffstat:

 sys/arch/evbmips/conf/MIPSSIM |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r d4098e76ee37 -r 00804e382546 sys/arch/evbmips/conf/MIPSSIM
--- a/sys/arch/evbmips/conf/MIPSSIM     Tue Nov 16 06:44:40 2021 +0000
+++ b/sys/arch/evbmips/conf/MIPSSIM     Tue Nov 16 06:46:41 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: MIPSSIM,v 1.4 2021/06/15 16:43:48 nia Exp $
+# $NetBSD: MIPSSIM,v 1.5 2021/11/16 06:46:41 simonb Exp $
 #
 # Kernel config for the QEMU MIPS "mipssim" simulator
 #
@@ -8,7 +8,7 @@
 
 include        "arch/evbmips/conf/std.mipssim"
 
-#ident                 "GENERIC-$Revision: 1.4 $"
+#ident                 "GENERIC-$Revision: 1.5 $"
 
 maxusers       32
 
@@ -16,7 +16,7 @@
 options        MIPS32R2
 options        NOFPU           # No FPU
 options        FPEMUL          # emulate FPU insn
-#options       HZ=512          # for profiling
+options        HZ=50           # half usual host speed
 
 #options       LOCKDEBUG
 options        SOSEND_COUNTERS



Home | Main Index | Thread Index | Old Index