aboutsummaryrefslogtreecommitdiff
path: root/kernel/main.c
diff options
context:
space:
mode:
authorMarvin Borner2021-04-02 19:04:34 +0200
committerMarvin Borner2021-04-02 19:11:56 +0200
commitfe468b476d567b6aa0695a030c408ccf46278c7d (patch)
tree36b664e7f4ecbf991c7a563af75d81a4a604c45f /kernel/main.c
parentb62b9d1f33a4911feb9f318ece0c1565f27abf8d (diff)
Mapped .text and .rodata readonly
Diffstat (limited to 'kernel/main.c')
-rw-r--r--kernel/main.c1
1 files changed, 0 insertions, 1 deletions
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();