syscall: add basic syscall entry
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
parent
1b8fe6b24d
commit
c01b1d7eee
12 changed files with 154 additions and 15 deletions
|
|
@ -4,6 +4,8 @@
|
|||
|
||||
#include <kernel/types.h>
|
||||
|
||||
#define IA32_GS_BASE 0xC0000101
|
||||
|
||||
u64 rdmsr(u32 msr);
|
||||
void wrmsr(u32 msr, u64 val);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue