Kernel: Add helper macro for bochs magic break point

This commit is contained in:
Bananymous 2023-01-12 13:21:43 +02:00
parent 8fd51fb47d
commit 33a4fcc662
1 changed files with 2 additions and 0 deletions

View File

@ -24,6 +24,8 @@
BAN::Formatter::print(Serial::serial_putc, "\e[m"); \
} while(false)
#define BOCHS_BREAK() asm volatile("xchgw %bx, %bx")
namespace Serial
{