]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/console/serial_general.c
xnu-3789.70.16.tar.gz
[apple/xnu.git] / osfmk / console / serial_general.c
index 8551fd6b7c039f4574ff396046432e0d8f3f7cb2..c6d43f858c4ec88260cc774c7431871694e1111d 100644 (file)
  * @APPLE_FREE_COPYRIGHT@
  */
 
-#include <platforms.h>
 #include <kern/spl.h>
 #include <mach/std_types.h>
 #include <types.h>
 #include <kern/thread.h>
 #include <console/serial_protos.h>
+#include <libkern/section_keywords.h>
 
 extern void cons_cinput(char ch);              /* The BSD routine that gets characters */
 
-unsigned int serialmode;                               /* Serial mode keyboard and console control */
+SECURITY_READ_ONLY_LATE(unsigned int) serialmode;                              /* Serial mode keyboard and console control */
 
 /*
  *  This routine will start a thread that polls the serial port, listening for