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"); \
|
||||
} while(false)
|
||||
|
||||
#define BOCHS_BREAK() asm volatile("xchgw %bx, %bx")
|
||||
|
||||
namespace Serial
|
||||
{
|
||||
|
||||
|
|
Loading…
Reference in New Issue