#include <machine/pal_routines.h>
#include <i386/proc_reg.h>
#include <os/log_private.h>
+#include <libkern/section_keywords.h>
/* Globals */
void (*PE_kputc)(char c);
/* DEBUG kernel starts with true serial, but
* may later disable or switch to video
* console */
-unsigned int disable_serial_output = FALSE;
+SECURITY_READ_ONLY_LATE(unsigned int) disable_serial_output = FALSE;
#else
-unsigned int disable_serial_output = TRUE;
+SECURITY_READ_ONLY_LATE(unsigned int) disable_serial_output = TRUE;
#endif
decl_simple_lock_data(static, kprintf_lock)