From c83104329214bd618444d6e0242bb0317f52dbbc Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Tue, 21 Apr 2020 00:37:02 +0200 Subject: Finally! EXT2 is working now :) Puuh. --- src/kernel/memory/paging.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/kernel/memory/paging.c') diff --git a/src/kernel/memory/paging.c b/src/kernel/memory/paging.c index 99160d0..d859efc 100644 --- a/src/kernel/memory/paging.c +++ b/src/kernel/memory/paging.c @@ -78,7 +78,7 @@ void paging_switch_directory(int user) asm("mov %0, %%cr3" ::"r"(current_page_directory)); } -inline void invlpg(uint32_t addr) +void invlpg(uint32_t addr) { asm("invlpg (%0)" ::"r"(addr) : "memory"); } -- cgit v1.2.3