mirror of
https://github.com/apache/nuttx.git
synced 2026-08-06 21:19:03 +00:00
Consider follow coprocessor configuration case: \#define XCHAL_CP_NUM 1 /* number of coprocessors */ \#define XCHAL_CP_MAX 2 /* max CP ID + 1 (0 if none) */ \#define XCHAL_CP_MASK 0x02 /* bitmask of all CPs by ID */ \#define XCHAL_CP_PORT_MASK 0x00 /* bitmask of only port CPs */ \ \#define XCHAL_CP1_NAME "AudioEngineLX" \#define XCHAL_CP1_IDENT AudioEngineLX \#define XCHAL_CP1_SA_SIZE 208 /* size of state save area */ \#define XCHAL_CP1_SA_ALIGN 8 /* min alignment of save area */ \#define XCHAL_CP_ID_AUDIOENGINELX 1 /* coprocessor ID (0..7) */ In this case, XTENSA_CP_ALLSET is 0x1, but valid coprocessors bitmap is 0x2, use marco XCHAL_CP_MASK instead, it is bitmap of all vaild coprocs. Change-Id: I63ec01e4bd0cbafc62d56636cc11bdc4a2f7857f |
||
|---|---|---|
| .. | ||
| esp32 | ||
| esp32s2 | ||
| lx6 | ||
| lx7 | ||
| xtensa | ||
| .gitignore | ||
| arch.h | ||
| elf.h | ||
| inttypes.h | ||
| irq.h | ||
| limits.h | ||
| loadstore.h | ||
| simcall.h | ||
| spinlock.h | ||
| stdarg.h | ||
| syscall.h | ||
| tls.h | ||
| types.h | ||