Changeset 86a276b in rtems


Ignore:
Timestamp:
Feb 19, 2016, 2:32:47 PM (3 years ago)
Author:
Martin Galvan <martin.galvan@…>
Branches:
master
Children:
5774b752
Parents:
42989d6
git-author:
Martin Galvan <martin.galvan@…> (02/19/16 14:32:47)
git-committer:
Joel Sherrill <joel@…> (02/19/16 22:11:29)
Message:

_ARMV7M_Is_vector_an_irq: Use ARMV7M_VECTOR_SYSTICK instead of hardcoded 16

Also add a comment explaining why we use that value.

File:
1 edited

Legend:

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

    r42989d6 r86a276b  
    387387static inline bool _ARMV7M_Is_vector_an_irq( int vector )
    388388{
    389   return vector >= 16;
     389  /* External (i.e. non-system) IRQs start after the SysTick vector. */
     390  return vector > ARMV7M_VECTOR_SYSTICK;
    390391}
    391392
Note: See TracChangeset for help on using the changeset viewer.