aboutsummaryrefslogtreecommitdiff
path: root/kernel/l0/dbglog.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/l0/dbglog.c')
-rw-r--r--kernel/l0/dbglog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/l0/dbglog.c b/kernel/l0/dbglog.c
index 377e6c8..5a7251b 100644
--- a/kernel/l0/dbglog.c
+++ b/kernel/l0/dbglog.c
@@ -38,7 +38,7 @@ static void vga_update_cursor() {
static void vga_init() {
vga_row = 0;
vga_column = 0;
- vga_buffer = (uint16_t*) (&k_highhalf_addr + 0xB8000);
+ vga_buffer = (uint16_t*) (K_HIGHHALF_ADDR + 0xB8000);
for (size_t y = 0; y < VGA_HEIGHT; y++) {
for (size_t x = 0; x < VGA_WIDTH; x++) {