mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:24:57 +00:00
Kernel: Don't blindly compile Bochs debug output code in ConsoleDevice
Only use the Bochs debug output if we compile a x86 build since bochs debug output relies on x86 specific instructions. We also remove the CONSOLE_OUT_TO_BOCHS_DEBUG_PORT flag as we always compile bochs debug output for x86 builds and we always want to include the bochs debug output capability as it is very handy and doesn't hurt bare metal hardware or do any other problem besides taking a small amount of CPU cycles.
This commit is contained in:
parent
fdef8d0d37
commit
5576151e68
3 changed files with 11 additions and 7 deletions
|
@ -13,6 +13,7 @@ extern "C" {
|
|||
void dbgputstr(char const*, size_t);
|
||||
void kernelputstr(char const*, size_t);
|
||||
void kernelcriticalputstr(char const*, size_t);
|
||||
void dbgputchar(char);
|
||||
void kernelearlyputstr(char const*, size_t);
|
||||
int snprintf(char* buf, size_t, char const* fmt, ...) __attribute__((format(printf, 3, 4)));
|
||||
void set_serial_debug_enabled(bool desired_state);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue