Load kernel CR3
This commit is contained in:
@@ -12,6 +12,8 @@
|
||||
extern void amd64_syscall_entry (void);
|
||||
|
||||
int amd64_syscall_dispatch (void* stack_ptr) {
|
||||
amd64_load_kernel_cr3 ();
|
||||
|
||||
struct saved_regs* regs = stack_ptr;
|
||||
|
||||
int syscall_num = regs->rax;
|
||||
|
||||
Reference in New Issue
Block a user