aboutsummaryrefslogtreecommitdiff
path: root/source/boot/arch/x86_64/src
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2023-10-07 17:15:31 +0200
committerFelix Morgner <felix.morgner@ost.ch>2023-10-07 17:15:31 +0200
commitff81b5438f280a59ca1825bfdf120d8f256bd154 (patch)
tree0a63ea3eb9fc28ca655c3ca3d1c70000d514aecd /source/boot/arch/x86_64/src
parent7e785ff5a7a2e9c98fd1679e74a728f4babf722a (diff)
downloadteachos-ff81b5438f280a59ca1825bfdf120d8f256bd154.tar.xz
teachos-ff81b5438f280a59ca1825bfdf120d8f256bd154.zip
x86_64: implement very simple VGA text output
Diffstat (limited to 'source/boot/arch/x86_64/src')
-rw-r--r--source/boot/arch/x86_64/src/boot.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/boot/arch/x86_64/src/boot.s b/source/boot/arch/x86_64/src/boot.s
index 4781773..45f261e 100644
--- a/source/boot/arch/x86_64/src/boot.s
+++ b/source/boot/arch/x86_64/src/boot.s
@@ -103,6 +103,7 @@ mesage_long_mode_not_supported:
/**
* We need a pointer to our current position in the VGA text buffer.
*/
+.global vga_buffer_pointer
vga_buffer_pointer: .long 0xb8000
/**
@@ -369,6 +370,5 @@ _transition_to_long_mode:
call _init
- mov multiboot_information_pointer, %rdi
call kernel_main
hlt