This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new d8bdf23e8a arch/arm64: bug fix,arm64_fatal_handler need regs parms
d8bdf23e8a is described below

commit d8bdf23e8a2bd929e8864b350f33d7482eea123b
Author: lipengfei28 <[email protected]>
AuthorDate: Mon Nov 11 21:49:41 2024 +0800

    arch/arm64: bug fix,arm64_fatal_handler need regs parms
    
    Signed-off-by: lipengfei28 <[email protected]>
---
 arch/arm64/src/common/arm64_vectors.S | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/src/common/arm64_vectors.S 
b/arch/arm64/src/common/arm64_vectors.S
index 62c31b4687..b9bc2b2913 100644
--- a/arch/arm64/src/common/arm64_vectors.S
+++ b/arch/arm64/src/common/arm64_vectors.S
@@ -190,6 +190,7 @@ reserved_syscall:
     mov    sp, x0
     b      arm64_exit_exception
 2:
+    mov    x0, sp
     adrp   x5, arm64_fatal_handler
     add    x5, x5, #:lo12:arm64_fatal_handler
     br     x5

Reply via email to