aboutsummaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-05-23 21:42:24 -0400
committerIan Moffett <ian@osmora.org>2024-05-23 21:42:24 -0400
commita1b41f955c3082ac6b05f578e2d9aa9e427a2271 (patch)
tree84fd57bdf13649f2af437949902c4ff1f03cab3b /sys/arch
parent887c6fbd2d137d848afea56d8216e630c7796311 (diff)
kernel: syslog: Add kernel message buffer
This commit introduces the kernel message buffer and makes system messages no longer be written to the TTY after kernel init. The kernel message buffer can be read from /proc/kmsg Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/amd64/conf/GENERIC1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/arch/amd64/conf/GENERIC b/sys/arch/amd64/conf/GENERIC
index b4fb29d..032519d 100644
--- a/sys/arch/amd64/conf/GENERIC
+++ b/sys/arch/amd64/conf/GENERIC
@@ -6,3 +6,4 @@ option PANIC_BEEP yes
// Kernel constants
setval PANIC_BEEP_HZ 1050
setval SCHED_NQUEUE 4
+setval KMSG_BUF_SHIFT 16