pussuw commented on code in PR #13520: URL: https://github.com/apache/nuttx/pull/13520#discussion_r1777500449
########## arch/arm64/src/common/arm64_vectors.S: ########## @@ -139,164 +139,33 @@ SECTION_FUNC(text, arm64_jump_to_user) GTEXT(arm64_sync_exc) SECTION_FUNC(text, arm64_sync_exc) - /* checking the EC value to see which exception need to be handle */ - -#if CONFIG_ARCH_ARM64_EXCEPTION_LEVEL == 3 - mrs x0, esr_el3 + /* Switch to IRQ stack and save current sp on it. */ +#ifdef CONFIG_SMP Review Comment: @GUIDINGLI I assume this is the code that SMP needs ? I can adapt this part so that kernel mode works like before. I'll try to provide a patch tomorrow, or on Monday. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
