diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2021-03-10 19:39:30 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2021-03-10 19:39:30 +0200 |
commit | a302ef42887a1a349d9918d5d1471bbea8f59c2b (patch) | |
tree | ce655d3c31574c6cb77bc437abedf66d32ac9d90 /src/boot.S | |
parent | Move elf and iso to builddir (diff) | |
download | kernel.cpp-a302ef42887a1a349d9918d5d1471bbea8f59c2b.tar.xz |
vmm: display segment map info
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. |