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 2021/10/14 08:28:37 UTC

[GitHub] [incubator-nuttx] Ouss4 commented on a change in pull request #4663: arch/xtensa: Correctly save/restore coprocessor0 state.

Ouss4 commented on a change in pull request #4663:
URL: https://github.com/apache/incubator-nuttx/pull/4663#discussion_r728753924



##########
File path: arch/xtensa/include/esp32s2/tie.h
##########
@@ -39,156 +37,102 @@
  * Pre-processor Definitions
  ****************************************************************************/
 
-#define XCHAL_CP_NUM               1       /* number of coprocessors */
-#define XCHAL_CP_MAX               1       /* max CP ID + 1 (0 if none) */
-#define XCHAL_CP_MASK              0x01    /* bitmask of all CPs by ID */
-#define XCHAL_CP_PORT_MASK         0x00    /* bitmask of only port CPs */
-
-/* Basic parameters of each coprocessor: */
-
-#define XCHAL_CP0_NAME             "FPU"
-#define XCHAL_CP0_IDENT            FPU
-#define XCHAL_CP0_SA_SIZE          72      /* size of state save area */
-#define XCHAL_CP0_SA_ALIGN         4       /* min alignment of save area */
-#define XCHAL_CP_ID_FPU            0       /* coprocessor ID (0..7) */
+#define XCHAL_CP_NUM			    0	    /* number of coprocessors */

Review comment:
       I run the file through `detab`.




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