arch: arm: Move Cortex-M specific CPU defines
These defines are specific to the Cortex-M. Move them to their own header file to prepare for Cortex-R support. Signed-off-by: Bradley Bolen <bbolen@lexmark.com>
This commit is contained in:
parent
4cee0eecdc
commit
1514c41cd1
3 changed files with 22 additions and 8 deletions
|
@ -20,15 +20,8 @@ extern "C" {
|
|||
* Include arch/cpu.h instead
|
||||
*/
|
||||
|
||||
#ifdef _ASMLANGUAGE
|
||||
#ifndef _ASMLANGUAGE
|
||||
|
||||
#define _SCS_BASE_ADDR _PPB_INT_SCS
|
||||
#define _SCS_ICSR (_SCS_BASE_ADDR + 0xd04)
|
||||
#define _SCS_ICSR_PENDSV (1 << 28)
|
||||
#define _SCS_ICSR_UNPENDSV (1 << 27)
|
||||
#define _SCS_ICSR_RETTOBASE (1 << 11)
|
||||
|
||||
#else /* !_ASMLANGUAGE */
|
||||
#include <zephyr/types.h>
|
||||
#include <arch/arm/exc.h>
|
||||
#include <irq.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue