37#ifndef RTEMS_SCORE_ARMV4_H
38#define RTEMS_SCORE_ARMV4_H
40#include <rtems/score/cpu.h>
52#ifdef ARM_MULTILIB_ARCH_V4
54void bsp_interrupt_dispatch(
void );
56void _ARMV4_Exception_interrupt(
void );
60void _ARMV4_Exception_data_abort_set_handler(
61 ARMV4_Exception_abort_handler handler
64void _ARMV4_Exception_data_abort(
void );
66void _ARMV4_Exception_prefetch_abort_set_handler(
67 ARMV4_Exception_abort_handler handler
70void _ARMV4_Exception_prefetch_abort(
void );
72void _ARMV4_Exception_undef_default(
void );
74void _ARMV4_Exception_swi_default(
void );
76void _ARMV4_Exception_data_abort_default(
void );
78void _ARMV4_Exception_pref_abort_default(
void );
80void _ARMV4_Exception_fiq_default(
void );
82static inline uint32_t _ARMV4_Status_irq_enable(
void )
84 uint32_t arm_switch_reg;
92 "bic %[arm_switch_reg], %[psr], #0x80\n"
93 "msr cpsr, %[arm_switch_reg]\n"
95 : [arm_switch_reg]
"=&r" (arm_switch_reg), [psr]
"=&r" (psr)
101static inline void _ARMV4_Status_restore( uint32_t psr )
103 ARM_SWITCH_REGISTERS;
#define RTEMS_COMPILER_MEMORY_BARRIER()
This macro forbids the compiler to reorder read and write commands around it.
Definition: basedefs.h:258
The set of registers that specifies the complete processor state.
Definition: cpu.h:446