Changeset cddb8f4 in rtems


Ignore:
Timestamp:
Jun 20, 2013, 7:48:27 AM (6 years ago)
Author:
Ric Claus <claus@…>
Branches:
4.11, master
Children:
6520aef1
Parents:
9a037da9
git-author:
Ric Claus <claus@…> (06/20/13 07:48:27)
git-committer:
Sebastian Huber <sebastian.huber@…> (06/20/13 08:15:14)
Message:

bsps/arm: Fix some GIC functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/shared/include/arm-gic.h

    r9a037da9 rcddb8f4  
    128128  uint32_t bit = 1U << o;
    129129
    130   return dist->icdicfr[i] & bit;
     130  return (dist->icdicfr[i] & bit) != 0 ?
     131    GIC_EDGE_TRIGGERED : GIC_LEVEL_SENSITIVE;
    131132}
    132133
     
    163164  uint32_t bit = 1U << o;
    164165
    165   return dist->icdicfr[i] & bit;
     166  return (dist->icdicfr[i] & bit) != 0 ? GIC_1_TO_N : GIC_N_TO_N;
    166167}
    167168
Note: See TracChangeset for help on using the changeset viewer.