From a302ef42887a1a349d9918d5d1471bbea8f59c2b Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Wed, 10 Mar 2021 19:39:30 +0200 Subject: vmm: display segment map info --- src/boot.S | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src/boot.S') 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. -- cgit v1.2.1