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:
Bradley Bolen 2018-06-25 09:15:14 -04:00 committed by Ioannis Glaropoulos
commit c30a71df95
37 changed files with 1516 additions and 82 deletions

View file

@ -34,6 +34,14 @@ extern int z_arch_irq_is_enabled(unsigned int irq);
extern void _IntExit(void);
#if defined(CONFIG_ARMV7_R)
static ALWAYS_INLINE void z_IntLibInit(void)
{
}
#else
extern void z_IntLibInit(void);
#endif
/* macros convert value of it's argument to a string */
#define DO_TOSTR(s) #s
#define TOSTR(s) DO_TOSTR(s)