mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-21 02:44:35 +08:00
arm: Move type definition and prototypes
This commit is contained in:
@@ -27,6 +27,16 @@ void bsp_interrupt_dispatch( void );
|
||||
|
||||
void _ARMV4_Exception_interrupt( void );
|
||||
|
||||
typedef void arm_exc_abort_handler( arm_cpu_context *context );
|
||||
|
||||
void arm_exc_data_abort_set_handler( arm_exc_abort_handler handler );
|
||||
|
||||
void arm_exc_data_abort( void );
|
||||
|
||||
void arm_exc_prefetch_abort_set_handler( arm_exc_abort_handler handler );
|
||||
|
||||
void arm_exc_prefetch_abort( void );
|
||||
|
||||
#endif /* ARM_MULTILIB_ARCH_V4 */
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
@@ -510,8 +510,6 @@ typedef struct {
|
||||
uint32_t cpsr;
|
||||
} arm_cpu_context;
|
||||
|
||||
typedef void arm_exc_abort_handler( arm_cpu_context *context );
|
||||
|
||||
typedef enum {
|
||||
ARM_EXCEPTION_RESET = 0,
|
||||
ARM_EXCEPTION_UNDEF = 1,
|
||||
@@ -558,14 +556,6 @@ static inline void arm_status_restore( uint32_t psr )
|
||||
RTEMS_COMPILER_MEMORY_BARRIER();
|
||||
}
|
||||
|
||||
void arm_exc_data_abort_set_handler( arm_exc_abort_handler handler );
|
||||
|
||||
void arm_exc_data_abort( void );
|
||||
|
||||
void arm_exc_prefetch_abort_set_handler( arm_exc_abort_handler handler );
|
||||
|
||||
void arm_exc_prefetch_abort( void );
|
||||
|
||||
/** @} */
|
||||
|
||||
/* XXX This is out of date */
|
||||
|
||||
Reference in New Issue
Block a user