if serial output is enabled in the boot monitor, on the first serial line,

enable serial debug output in the kernel too.
This commit is contained in:
Ben Gras
2008-12-19 13:21:42 +00:00
parent 7fdc181d5f
commit b740ff055f
4 changed files with 24 additions and 4 deletions

View File

@@ -71,6 +71,9 @@ U16_t parmoff, parmsize; /* boot parameters offset and length */
system_hz = atoi(value);
if(!value || system_hz < 2 || system_hz > 50000) /* sanity check */
system_hz = DEFAULT_HZ;
value = get_value(params_buffer, "cttyline");
if(value && atoi(value) == 0)
do_serial_debug=1;
/* Return to assembler code to switch to protected mode (if 286),
* reload selectors and call main().