From fe468b476d567b6aa0695a030c408ccf46278c7d Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Fri, 2 Apr 2021 19:04:34 +0200 Subject: Mapped .text and .rodata readonly --- kernel/main.c | 1 - 1 file changed, 1 deletion(-) (limited to 'kernel/main.c') diff --git a/kernel/main.c b/kernel/main.c index e28915b..326bd5c 100644 --- a/kernel/main.c +++ b/kernel/main.c @@ -28,7 +28,6 @@ void kernel_main(struct mem_info *mem_info, struct vid_info *vid_info) memory_install(mem_info, vid_info); memory_switch_dir(virtual_kernel_dir()); - paging_enable(); cpu_enable_features(); cpu_print(); -- cgit v1.2.3