diff options
Diffstat (limited to 'src/boot.S')
-rw-r--r-- | src/boot.S | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -55,12 +55,9 @@ _start: # Physical address of boot_page_table1. movl $(boot_page_table1 - 0xC0000000), %edi # First address to map is address 0. - # TODO: Start at the first kernel page instead. Alternatively map the first - # 1 MiB as it can be generally useful, and there's no need to - # specially map the VGA buffer. - movl $0, %esi - # Map 1023 pages. The 1024th will be the VGA text buffer. - movl $1023, %ecx + movl $0, %esi + # Map 1023 pages. The 1024th will be the VGA text buffer. + movl $1023, %ecx 1: # Only map the kernel. |