From 8eedf4e267d600e0941acf7eb8131eed4013f74a Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Thu, 3 Nov 2022 16:33:59 -0400 Subject: [PATCH] Switch klog buffer to ubyte array to move it to bss section --- src/hulk/klog.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hulk/klog.d b/src/hulk/klog.d index 2660346..7d77c15 100644 --- a/src/hulk/klog.d +++ b/src/hulk/klog.d @@ -19,7 +19,7 @@ struct klog private enum size_t KLOG_SIZE = 1u << KLOG_SIZE_LOG; /** Kernel log buffer. */ - private static __gshared align(4096) char[KLOG_SIZE] klog_buffer; + private static __gshared align(4096) ubyte[KLOG_SIZE] klog_buffer; /** Write index in the kernel log buffer. */ private static __gshared size_t klog_index;