Changeset 0f7abd99 in rtems


Ignore:
Timestamp:
Jan 4, 2013, 3:25:19 PM (7 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
0d8cde9
Parents:
8df0e91
git-author:
Sebastian Huber <sebastian.huber@…> (01/04/13 15:25:19)
git-committer:
Sebastian Huber <sebastian.huber@…> (01/07/13 14:07:41)
Message:

arm: Rename inline functions

Rename arm_status_irq_enable() to _ARMV4_Status_irq_enable() and
arm_status_restore() to _ARMV4_Status_restore().

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/lpc24xx/irq/irq-dispatch.c

    r8df0e91 r0f7abd99  
    3636
    3737  /* Enable interrupts in program status register */
    38   uint32_t psr = arm_status_irq_enable();
     38  uint32_t psr = _ARMV4_Status_irq_enable();
    3939
    4040  /* Dispatch interrupt handlers */
     
    4242
    4343  /* Restore program status register */
    44   arm_status_restore(psr);
     44  _ARMV4_Status_restore(psr);
    4545
    4646  /* Acknowledge interrupt */
  • c/src/lib/libbsp/arm/lpc32xx/irq/irq.c

    r8df0e91 r0f7abd99  
    255255  lpc32xx.sic_2.er = er_sic_2 & masks->field.sic_2;
    256256
    257   psr = arm_status_irq_enable();
     257  psr = _ARMV4_Status_irq_enable();
    258258
    259259  bsp_interrupt_handler_dispatch(vector);
    260260
    261   arm_status_restore(psr);
     261  _ARMV4_Status_restore(psr);
    262262
    263263  lpc32xx.mic.er = er_mic & lpc32xx_irq_enable.field.mic;
  • cpukit/score/cpu/arm/rtems/score/armv4.h

    r8df0e91 r0f7abd99  
    5656void _ARMV4_Exception_fiq_default( void );
    5757
    58 static inline uint32_t arm_status_irq_enable( void )
     58static inline uint32_t _ARMV4_Status_irq_enable( void )
    5959{
    6060  uint32_t arm_switch_reg;
     
    7575}
    7676
    77 static inline void arm_status_restore( uint32_t psr )
     77static inline void _ARMV4_Status_restore( uint32_t psr )
    7878{
    7979  ARM_SWITCH_REGISTERS;
Note: See TracChangeset for help on using the changeset viewer.