aboutsummaryrefslogtreecommitdiff
path: root/source/arch/x86_64/src/boot/boot.s
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2023-10-11 15:37:06 +0200
committerFelix Morgner <felix.morgner@ost.ch>2023-10-11 15:37:06 +0200
commit6e1d10528b1c04c34c57995c85b45448715767f2 (patch)
tree08531be2d19fc666a23d96371c8e91aab97ce53f /source/arch/x86_64/src/boot/boot.s
parent74eaee0fcc7390d4290b41a2a92ee34346e2f7c2 (diff)
downloadteachos-6e1d10528b1c04c34c57995c85b45448715767f2.tar.xz
teachos-6e1d10528b1c04c34c57995c85b45448715767f2.zip
x86_64: vga: improve text printing code
Diffstat (limited to 'source/arch/x86_64/src/boot/boot.s')
-rw-r--r--source/arch/x86_64/src/boot/boot.s6
1 files changed, 1 insertions, 5 deletions
diff --git a/source/arch/x86_64/src/boot/boot.s b/source/arch/x86_64/src/boot/boot.s
index 45f261e..7b4e193 100644
--- a/source/arch/x86_64/src/boot/boot.s
+++ b/source/arch/x86_64/src/boot/boot.s
@@ -362,11 +362,7 @@ _transition_to_long_mode:
mov %rax, %fs
mov %rax, %gs
- /* Clear the screen */
- mov $0x0f200f200f200f20, %rax
- mov $0x0b8000, %rdi
- mov $500, %rcx
- rep stosq
+ movl $0xb8000, (vga_buffer_pointer)
call _init