Module Name: src
Committed By: skrll
Date: Sun Jul 16 07:30:54 UTC 2023
Modified Files:
src/sys/arch/riscv/conf: GENERIC.common
Log Message:
riscv: Enable HEARTBEAT option in GENERIC.common
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/riscv/conf/GENERIC.common
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/riscv/conf/GENERIC.common
diff -u src/sys/arch/riscv/conf/GENERIC.common:1.4 src/sys/arch/riscv/conf/GENERIC.common:1.5
--- src/sys/arch/riscv/conf/GENERIC.common:1.4 Fri Jun 2 08:51:46 2023
+++ src/sys/arch/riscv/conf/GENERIC.common Sun Jul 16 07:30:54 2023
@@ -1,5 +1,5 @@
#
-# $NetBSD: GENERIC.common,v 1.4 2023/06/02 08:51:46 andvar Exp $
+# $NetBSD: GENERIC.common,v 1.5 2023/07/16 07:30:54 skrll Exp $
#
# GENERIC common RISC-V kernel config items shared between 32 and 64
# kernels
@@ -16,6 +16,10 @@ options NTP # NTP phase/frequency lock
options KTRACE # system call tracing via ktrace(1)
+# Heartbeat checks
+options HEARTBEAT
+options HEARTBEAT_MAX_PERIOD_DEFAULT=15
+
# Note: SysV IPC parameters could be changed dynamically, see sysctl(8).
options SYSVMSG # System V-like message queues
options SYSVSEM # System V-like semaphores