mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 18:17:44 +00:00
Kernel: Add serial_debug cmdline parameter
serial_debug will output all the kprintf and dbgprintf data to COM1 at 8-N-1 57600 baud. this is particularly useful for debugging the boot process on live hardware. Note: it must be the first parameter in the boot cmdline.
This commit is contained in:
parent
ee83b1bcf4
commit
3026c37d5d
4 changed files with 89 additions and 8 deletions
|
@ -7,6 +7,8 @@ int dbgprintf(const char* fmt, ...);
|
|||
int dbgputstr(const char*, int);
|
||||
int kprintf(const char* fmt, ...);
|
||||
int ksprintf(char* buf, const char* fmt, ...);
|
||||
void set_serial_debug(bool on_or_off);
|
||||
int get_serial_debug();
|
||||
}
|
||||
|
||||
#ifndef USERLAND
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue