From 21522ad5f2fe55e633cd025e292537ca37e042fb Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sun, 28 Feb 2021 19:45:41 +0100 Subject: Kinda working paging --- kernel/features/proc.asm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'kernel/features/proc.asm') diff --git a/kernel/features/proc.asm b/kernel/features/proc.asm index 1a2ba65..dfc3448 100644 --- a/kernel/features/proc.asm +++ b/kernel/features/proc.asm @@ -28,3 +28,9 @@ proc_jump_userspace: push dword [_eip] iret + +global paging_invalidate_tlb +paging_invalidate_tlb: + mov eax, cr3 + mov cr3, eax + ret -- cgit v1.2.3