summaryrefslogtreecommitdiffhomepage
path: root/dev/BootLoader/src/HEL/ARM64/BootAPI.S
diff options
context:
space:
mode:
authorAmlal <amlalelmahrouss@icloud.com>2024-12-21 21:59:13 +0100
committerAmlal <amlalelmahrouss@icloud.com>2024-12-21 21:59:45 +0100
commit610f91d87152cbe48d3054fcf437d8239da6ef35 (patch)
treea386f7047ab73d088169ab2371ddc6ffe8020f1c /dev/BootLoader/src/HEL/ARM64/BootAPI.S
parent509fcca5986651c8ba712fb395f8498f2dea4109 (diff)
IMP: :boom: Breaking changes some checks are needed to be done.
Signed-off-by: Amlal <amlalelmahrouss@icloud.com>
Diffstat (limited to 'dev/BootLoader/src/HEL/ARM64/BootAPI.S')
-rw-r--r--dev/BootLoader/src/HEL/ARM64/BootAPI.S12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev/BootLoader/src/HEL/ARM64/BootAPI.S b/dev/BootLoader/src/HEL/ARM64/BootAPI.S
new file mode 100644
index 00000000..a60ad218
--- /dev/null
+++ b/dev/BootLoader/src/HEL/ARM64/BootAPI.S
@@ -0,0 +1,12 @@
+.global rt_jump_to_address
+
+.text
+
+/**
+ @brief this function setups a stack and then jumps to
+ a function */
+rt_jump_to_address:
+ mov x19, x0
+ mov sp, x2
+ blr x19
+