From aa595fad9c8062910778bd6fa01ee487eab1a3e9 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Mon, 31 Mar 2025 11:00:59 +0200 Subject: boot: fix framebuffer init and restore boot on real hardware Framebuffer mode selection now defaults gracefully when the expected resolution is unavailable. EFI binaries now boot successfully on physical hardware using a fixed image base and simplified jump logic. Signed-off-by: Amlal El Mahrouss --- dev/boot/src/HEL/AMD64/BootAPI.S | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'dev/boot/src/HEL/AMD64/BootAPI.S') diff --git a/dev/boot/src/HEL/AMD64/BootAPI.S b/dev/boot/src/HEL/AMD64/BootAPI.S index 963ef46a..c4a7ad39 100644 --- a/dev/boot/src/HEL/AMD64/BootAPI.S +++ b/dev/boot/src/HEL/AMD64/BootAPI.S @@ -11,15 +11,10 @@ rt_jump_to_address: mov rbx, rcx mov rcx, rdx - push rbx - push rdx mov rsp, r8 - push rax - jmp rbx - pop rdx - pop rbx - pop rax + cli + jmp rbx ret -- cgit v1.2.3