summaryrefslogtreecommitdiff
path: root/arch/i386/boot/tty.c
diff options
context:
space:
mode:
authorDanny Holman <dholman@gymli.xyz>2021-07-20 20:49:03 -0500
committerDanny Holman <dholman@gymli.xyz>2021-07-20 20:49:03 -0500
commitd4003f1d6daf6883acb83a398e3fdba5336aefef (patch)
treedd6787232c0a8feae57d63bfa7e220e2c9fed945 /arch/i386/boot/tty.c
parentefad89a1b70e265c3706662a8392fd1164c06bd7 (diff)
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.
Diffstat (limited to 'arch/i386/boot/tty.c')
-rw-r--r--arch/i386/boot/tty.c2
1 files changed, 1 insertions, 1 deletions
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;