aboutsummaryrefslogtreecommitdiff
path: root/src/boot.S
diff options
context:
space:
mode:
Diffstat (limited to 'src/boot.S')
-rw-r--r--src/boot.S9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/boot.S b/src/boot.S
index 635b38f..e5686c8 100644
--- a/src/boot.S
+++ b/src/boot.S
@@ -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.