arm: Move type definition and prototypes

This commit is contained in:
Sebastian Huber
2013-01-07 15:07:40 +01:00
parent 370c2c8021
commit c04ac2ca4a
2 changed files with 10 additions and 10 deletions
+10
View File
@@ -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
-10
View File
@@ -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 */