You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/04/20 15:45:22 UTC

[GitHub] [incubator-nuttx] Ouss4 commented on a diff in pull request #6111: arch/xtensa: Use syscall interface for xtensa_save/restore_context.

Ouss4 commented on code in PR #6111:
URL: https://github.com/apache/incubator-nuttx/pull/6111#discussion_r854293104


##########
arch/xtensa/src/common/xtensa.h:
##########
@@ -112,6 +113,17 @@
 #define xtensa_savestate(regs)    xtensa_copystate(regs, (uint32_t*)CURRENT_REGS)
 #define xtensa_restorestate(regs) do { CURRENT_REGS = regs; } while (0)
 
+/* Context switching via system calls ***************************************/
+
+#define xtensa_context_save(regs)\

Review Comment:
   Thanks, done.



-- 
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-unsubscribe@nuttx.apache.org

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