mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:08:12 +00:00
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:
parent
77299cf54d
commit
56c1f9db8e
8 changed files with 96 additions and 42 deletions
|
@ -3,25 +3,6 @@
|
|||
#include "Task.h"
|
||||
#include "Syscall.h"
|
||||
|
||||
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;
|
||||
|
||||
extern "C" void syscall_entry();
|
||||
extern "C" void syscall_ISR();
|
||||
extern volatile RegisterDump* syscallRegDump;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue