Changeset 0d8cde9 in rtems


Ignore:
Timestamp:
Jan 7, 2013, 7:39:45 AM (7 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
e377ad7
Parents:
0f7abd99
git-author:
Sebastian Huber <sebastian.huber@…> (01/07/13 07:39:45)
git-committer:
Sebastian Huber <sebastian.huber@…> (01/07/13 14:07:41)
Message:

arm: Provide CPU_Exception_frame for ARMv7-M

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/cpu/arm/rtems/score/cpu.h

    r0f7abd99 r0d8cde9  
    483483/** @} */
    484484
    485 #if defined(ARM_MULTILIB_ARCH_V4)
    486 
    487485/**
    488486 * @addtogroup ScoreCPUARM
     
    490488 * @{
    491489 */
     490
     491#if defined(ARM_MULTILIB_ARCH_V4)
    492492
    493493typedef enum {
     
    504504} Arm_symbolic_exception_name;
    505505
    506 /** @} */
     506#endif /* defined(ARM_MULTILIB_ARCH_V4) */
    507507
    508508typedef struct {
     
    521521  uint32_t register_r12;
    522522  uint32_t register_sp;
    523   uint32_t register_lr;
    524   uint32_t register_pc;
     523  void *register_lr;
     524  void *register_pc;
     525#if defined(ARM_MULTILIB_ARCH_V4)
    525526  uint32_t register_cpsr;
    526527  Arm_symbolic_exception_name vector;
     528#elif defined(ARM_MULTILIB_ARCH_V7M)
     529  uint32_t register_xpsr;
     530  uint32_t vector;
     531#endif
    527532} CPU_Exception_frame;
    528533
    529534typedef CPU_Exception_frame CPU_Interrupt_frame;
    530535
    531 #else /* !defined(ARM_MULTILIB_ARCH_V4) */
    532 
    533 typedef void CPU_Interrupt_frame;
    534 
    535 /* FIXME */
    536 typedef CPU_Interrupt_frame CPU_Exception_frame;
    537 
    538 #endif /* !defined(ARM_MULTILIB_ARCH_V4) */
    539 
    540536void _CPU_Exception_frame_print( const CPU_Exception_frame *frame );
    541537
    542538void _ARM_Exception_default( CPU_Exception_frame *frame );
     539
     540/** @} */
    543541
    544542#ifdef __cplusplus
Note: See TracChangeset for help on using the changeset viewer.