]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/i386/i386_init.c
xnu-7195.101.1.tar.gz
[apple/xnu.git] / osfmk / i386 / i386_init.c
index 12cdef33aa3737c1db754d7747b97985bbb1e4ec..ad1f15c1f8d08cc3199a1835ed6ec0daae68b770 100644 (file)
@@ -129,6 +129,8 @@ int                     debug_task;
 
 int                     early_boot = 1;
 
+bool                    serial_console_enabled = false;
+
 static boot_args        *kernelBootArgs;
 
 extern int              disableConsoleOutput;
@@ -932,6 +934,7 @@ i386_init(void)
                }
        }
        if (serialmode & SERIALMODE_OUTPUT) {
+               serial_console_enabled = true;
                (void)switch_to_serial_console();
                disableConsoleOutput = FALSE; /* Allow printfs to happen */
        }