Switch klog buffer to ubyte array to move it to bss section

This commit is contained in:
josh committed 2022-11-03 16:34:03 -04:00
1 parent ae49c29c75
commit 8eedf4e267
1 file changed
+1 -1
+1 -1
View File
@@ -19,7 +19,7 @@ struct klog
private enum size_t KLOG_SIZE = 1u << KLOG_SIZE_LOG; private enum size_t KLOG_SIZE = 1u << KLOG_SIZE_LOG;
/** Kernel log buffer. */ /** 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. */ /** Write index in the kernel log buffer. */
private static __gshared size_t klog_index; private static __gshared size_t klog_index;