arch: arm: Add Cortex-R support
This adds initial Cortex-R support for interrupts and context switching. Signed-off-by: Bradley Bolen <bbolen@lexmark.com>
This commit is contained in:
parent
7daf42b123
commit
c30a71df95
37 changed files with 1516 additions and 82 deletions
|
@ -31,7 +31,13 @@ struct _callee_saved {
|
|||
u32_t v6; /* r9 */
|
||||
u32_t v7; /* r10 */
|
||||
u32_t v8; /* r11 */
|
||||
#if defined(CONFIG_CPU_CORTEX_R)
|
||||
u32_t spsr;/* r12 */
|
||||
u32_t psp; /* r13 */
|
||||
u32_t lr; /* r14 */
|
||||
#else
|
||||
u32_t psp; /* r13 */
|
||||
#endif
|
||||
};
|
||||
|
||||
typedef struct _callee_saved _callee_saved_t;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue