mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-08 18:46:03 +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
Notes:
sideshowbarker
2024-07-19 12:46:00 +09:00
Author: https://github.com/deoxxa
Commit: 3026c37d5d
Pull-request: https://github.com/SerenityOS/serenity/pull/435
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