From 8288ab6da7c536de303fdd3fb2e282d75ec0fa48 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sun, 8 Jun 2025 09:40:01 +0200 Subject: fix: boot/arm64: fix `rt_jump_to_address` why? - It wasn't a conform procedure here, made it ABI compliant on clang. Signed-off-by: Amlal El Mahrouss --- dev/boot/src/HEL/ARM64/BootAPI.S | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'dev') diff --git a/dev/boot/src/HEL/ARM64/BootAPI.S b/dev/boot/src/HEL/ARM64/BootAPI.S index a60ad218..6896ed0c 100644 --- a/dev/boot/src/HEL/ARM64/BootAPI.S +++ b/dev/boot/src/HEL/ARM64/BootAPI.S @@ -6,7 +6,7 @@ @brief this function setups a stack and then jumps to a function */ rt_jump_to_address: - mov x19, x0 - mov sp, x2 - blr x19 + mov sp, x10 + br x9 + ret -- cgit v1.2.3