Kernel: Add helper macro for bochs magic break point
This commit is contained in:
parent
8fd51fb47d
commit
33a4fcc662
|
@ -24,6 +24,8 @@
|
||||||
BAN::Formatter::print(Serial::serial_putc, "\e[m"); \
|
BAN::Formatter::print(Serial::serial_putc, "\e[m"); \
|
||||||
} while(false)
|
} while(false)
|
||||||
|
|
||||||
|
#define BOCHS_BREAK() asm volatile("xchgw %bx, %bx")
|
||||||
|
|
||||||
namespace Serial
|
namespace Serial
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue