eenurkka commented on code in PR #12353:
URL: https://github.com/apache/nuttx/pull/12353#discussion_r1601584026


##########
arch/arm64/src/common/arm64_head.S:
##########
@@ -235,6 +235,15 @@ switch_el:
 
     bl    arm64_boot_el3_init
 
+#ifdef CONFIG_ARCH_BOOT_EL3
+    msr   SPSel, #1
+
+    /* Set SP_EL3 (with SPSel = 1) */
+
+    mov   sp, x24
+    b     el3_boot
+#endif

Review Comment:
   Actually it's compilated by #ifdef CONFIG_ARCH_HAVE_EL3 ?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to