X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/3903760236c30e3b5ace7a4eefac3a269d68957c..b226f5e54a60dc81db17b1260381d7dbfea3cdf1:/pexpert/i386/pe_kprintf.c diff --git a/pexpert/i386/pe_kprintf.c b/pexpert/i386/pe_kprintf.c index c9f720e21..d1d51da43 100644 --- a/pexpert/i386/pe_kprintf.c +++ b/pexpert/i386/pe_kprintf.c @@ -39,6 +39,7 @@ #include #include #include +#include /* Globals */ void (*PE_kputc)(char c); @@ -47,9 +48,9 @@ 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)