From 6e1d10528b1c04c34c57995c85b45448715767f2 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Wed, 11 Oct 2023 15:37:06 +0200 Subject: x86_64: vga: improve text printing code --- source/arch/x86_64/src/boot/boot.s | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'source/arch/x86_64/src/boot') 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 -- cgit v1.2.3