Changeset 67518231 in rtems


Ignore:
Timestamp:
Sep 2, 2011, 3:06:00 PM (10 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, master
Children:
826eb30
Parents:
63f871f
Message:

2011-09-02 Sebastian Huber <sebastian.huber@…>

  • rtems/score/nios2-utility.h, nios2-isr-set-level.c, nios2-isr-get-level.c: Renamed functions.
Location:
cpukit/score/cpu/nios2
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/cpu/nios2/ChangeLog

    r63f871f r67518231  
     12011-09-02      Sebastian Huber <sebastian.huber@embedded-brains.de>
     2
     3        * rtems/score/nios2-utility.h, nios2-isr-set-level.c,
     4        nios2-isr-get-level.c: Renamed functions.
     5
    162011-09-02      Sebastian Huber <sebastian.huber@embedded-brains.de>
    27
  • cpukit/score/cpu/nios2/nios2-isr-get-level.c

    r63f871f r67518231  
    2727  uint32_t level = 0;
    2828
    29   switch ( _Nios2_Get_ISR_status_mask() ) {
     29  switch ( _Nios2_ISR_Get_status_mask() ) {
    3030    case NIOS2_ISR_STATUS_MASK_IIC:
    3131      level = (status & NIOS2_STATUS_PIE) == 0;
  • cpukit/score/cpu/nios2/nios2-isr-set-level.c

    r63f871f r67518231  
    2424uint32_t _Nios2_ISR_Set_level( uint32_t new_level, uint32_t status )
    2525{
    26   switch ( _Nios2_Get_ISR_status_mask() ) {
     26  switch ( _Nios2_ISR_Get_status_mask() ) {
    2727    case NIOS2_ISR_STATUS_MASK_IIC:
    2828      if ( new_level == 0 ) {
  • cpukit/score/cpu/nios2/rtems/score/nios2-utility.h

    r63f871f r67518231  
    287287}
    288288
    289 static inline uint32_t _Nios2_Get_ISR_status_mask( void )
     289static inline uint32_t _Nios2_ISR_Get_status_mask( void )
    290290{
    291291  return (uint32_t) &_Nios2_ISR_Status_mask [0];
    292292}
    293293
    294 static inline uint32_t _Nios2_Get_ISR_status_bits( void )
     294static inline uint32_t _Nios2_ISR_Get_status_bits( void )
    295295{
    296296  return (uint32_t) &_Nios2_ISR_Status_bits [0];
     
    299299static inline bool _Nios2_Has_internal_interrupt_controller( void )
    300300{
    301   return _Nios2_Get_ISR_status_mask() == NIOS2_ISR_STATUS_MASK_IIC;
     301  return _Nios2_ISR_Get_status_mask() == NIOS2_ISR_STATUS_MASK_IIC;
    302302}
    303303
Note: See TracChangeset for help on using the changeset viewer.