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/05/09 10:23:55 UTC

[GitHub] [incubator-nuttx] Ouss4 commented on a diff in pull request #6222: xtensa: move fpu register to XCPTCONTEXT_REGS

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


##########
arch/xtensa/include/irq.h:
##########
@@ -155,12 +168,6 @@ struct xcptcontext
 
   uint32_t *regs;
 
-#if XCHAL_CP_NUM > 0
-  /* Co-processor save area */
-
-  struct xtensa_cpstate_s cpstate;

Review Comment:
   It looks like this is fixed for only one owner of the coprocessors and saving/restoring in any context switch.  `struct xtensa_cpstate_s` also contained other members to help managing different owners of coprocessors.
   



-- 
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