mirror of
https://github.com/drasko/codezero.git
synced 2026-01-31 04:03:13 +01:00
Code that works until after allocating pgd and pmd caches.
This commit is contained in:
@@ -376,7 +376,7 @@ void start_kernel(void)
|
||||
vectors_init();
|
||||
|
||||
/* Remap 1MB kernel sections as 4Kb pages. */
|
||||
// remap_as_pages((void *)page_align(_start_kernel), (void *)page_align_up(_end));
|
||||
remap_as_pages((void *)page_align(_start_kernel), (void *)page_align_up(_end_kernel));
|
||||
|
||||
/* Move the initial pgd into a more convenient place, mapped as pages. */
|
||||
// relocate_page_tables();
|
||||
|
||||
Reference in New Issue
Block a user