Skip to content

Commit

Permalink
arch,pt: do not map all used memory
Browse files Browse the repository at this point in the history
Since all necessary pages have been mapped, no need to map anything
else.

Signed-off-by: Pawel Wieczorkiewicz <[email protected]>
  • Loading branch information
wipawel committed Oct 27, 2023
1 parent 3c4f6ef commit 4978793
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion arch/x86/pagetables.c
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,6 @@ void init_pagetables(void) {

map_frames_array();
map_multiboot_areas();
map_used_memory();
map_tmp_mapping();

write_cr3(cr3.paddr);
Expand Down

0 comments on commit 4978793

Please sign in to comment.