A userspace process can now GPF and the OS goes on!

This is really rickety, but it kinda sorta works for my test GPF!
This commit is contained in:
Andreas Kling 2018-10-17 23:49:32 +02:00
commit 56c1f9db8e
Notes: sideshowbarker 2024-07-19 18:46:40 +09:00
8 changed files with 96 additions and 42 deletions

View file

@ -63,25 +63,6 @@ asm(
/* Miscellaneous */
#define BASE_FREQUENCY 1193182
struct RegisterDump {
WORD gs;
WORD fs;
WORD es;
WORD ds;
DWORD edi;
DWORD esi;
DWORD ebp;
DWORD esp;
DWORD ebx;
DWORD edx;
DWORD ecx;
DWORD eax;
DWORD eip;
WORD cs;
WORD __csPadding;
DWORD eflags;
} PACKED;
void clock_handle()
{
IRQHandlerScope scope(IRQ_TIMER);