add bochs magic breakpoint support

This commit is contained in:
Quinten Kock 2020-12-04 04:45:56 +01:00
parent f658a80f6e
commit 0eb8a48bb3
2 changed files with 4 additions and 0 deletions

View File

@ -0,0 +1,3 @@
void breakpoint() {
asm volatile ("xchgw %bx, %bx");
}

1
kernel/src/hal/debug.h Normal file
View File

@ -0,0 +1 @@
void breakpoint();