diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-06-08 09:40:01 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-06-08 09:40:01 +0200 |
| commit | 8288ab6da7c536de303fdd3fb2e282d75ec0fa48 (patch) | |
| tree | 148f4584033e442da01e7a47cec4dabb8185ded4 /dev/boot/src/HEL/ARM64/BootAPI.S | |
| parent | 29f0db9b82ae826eb3bfa8b87efe53c3105ac456 (diff) | |
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 <amlal@nekernel.org>
Diffstat (limited to 'dev/boot/src/HEL/ARM64/BootAPI.S')
| -rw-r--r-- | dev/boot/src/HEL/ARM64/BootAPI.S | 6 |
1 files changed, 3 insertions, 3 deletions
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 |
