From d4003f1d6daf6883acb83a398e3fdba5336aefef Mon Sep 17 00:00:00 2001 From: Danny Holman Date: Tue, 20 Jul 2021 20:49:03 -0500 Subject: arch: i386: move the kernel to high memory Move the start of the kernel image to the "higher half" of memory. This also enables paging. --- arch/i386/boot/tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/i386/boot/tty.c') diff --git a/arch/i386/boot/tty.c b/arch/i386/boot/tty.c index 9244415..2c75760 100644 --- a/arch/i386/boot/tty.c +++ b/arch/i386/boot/tty.c @@ -6,7 +6,7 @@ static const size_t VGA_WIDTH = 80; static const size_t VGA_HEIGHT = 25; -static uint16_t *const VGA_MEMORY = (uint16_t*)0xB8000; +static uint16_t *const VGA_MEMORY = (uint16_t*)0xC03FF000; static size_t terminal_row; static size_t terminal_column; -- cgit v1.2.3