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

This commit is contained in:
Josh Holtrop 2022-11-03 16:33:59 -04:00
parent ae49c29c75
commit 8eedf4e267

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;