syscall: add basic syscall entry

Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
Michael Shaw 2026-07-15 16:36:38 -04:00
commit c01b1d7eee
12 changed files with 154 additions and 15 deletions

View file

@ -4,6 +4,8 @@
#include <kernel/types.h>
#define IA32_GS_BASE 0xC0000101
u64 rdmsr(u32 msr);
void wrmsr(u32 msr, u64 val);