diff options
Diffstat (limited to 'chopstx-cortex-m.h')
-rw-r--r-- | chopstx-cortex-m.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/chopstx-cortex-m.h b/chopstx-cortex-m.h new file mode 100644 index 0000000..36515f6 --- /dev/null +++ b/chopstx-cortex-m.h @@ -0,0 +1,12 @@ +/* + * The thread context: specific to ARM Cortex-M0/M3. + * + * In this structure, it's only partial information; Other part of the + * context is on the stack. + * + */ +struct tcontext { + uint32_t reg[9]; /* r4, r5, r6, r7, r8, r9, r10, r11, r13(sp) */ +}; + +typedef struct tcontext tcontext_t; |