summaryrefslogtreecommitdiffhomepage
path: root/dev/boot/src/HEL/AMD64/BootAPI.S
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-03-31 11:00:59 +0200
committerAmlal El Mahrouss <amlal@nekernel.org>2025-03-31 11:00:59 +0200
commitaa595fad9c8062910778bd6fa01ee487eab1a3e9 (patch)
tree2faa45d3984d15b2742a3657af6ab31f25bcfab3 /dev/boot/src/HEL/AMD64/BootAPI.S
parentb91ada1d1fec572ee5d7ae9b98ff54ac929c7a72 (diff)
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 <amlal@nekernel.org>
Diffstat (limited to 'dev/boot/src/HEL/AMD64/BootAPI.S')
-rw-r--r--dev/boot/src/HEL/AMD64/BootAPI.S9
1 files changed, 2 insertions, 7 deletions
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