[boot] Consolidate mapping code into iterator obj
The page table code had been copied mostly verbatim from the kernel, and was a dense mess. I abstraced the `page_table_indices` class and the old loop behavior of `map_in` into a new `page_entry_iterator` class, making both `map_pages` and the initial offset mapping code much cleaner. Tags: vmem paging
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
ENTRY(_start)
|
||||
SECTIONS
|
||||
{
|
||||
OFFSET = 0xFFFFFF0000000000;
|
||||
OFFSET = 0xFFFF800000000000;
|
||||
. = OFFSET + 0x100000;
|
||||
|
||||
.header : {
|
||||
|
||||
Reference in New Issue
Block a user