diff options
Diffstat (limited to 'src/arch/amd64/debugger.h')
-rw-r--r-- | src/arch/amd64/debugger.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/arch/amd64/debugger.h b/src/arch/amd64/debugger.h new file mode 100644 index 0000000..e679c07 --- /dev/null +++ b/src/arch/amd64/debugger.h @@ -0,0 +1,9 @@ +#pragma once + +#include "idt.h" + +#define DEBUG_INT3 0x00 +#define DEBUG_DBG 0x01 +#define DEBUG_FAULT 0x02 + +void debugger(struct isr_regs *state, int cause); |