<div dir="ltr">This should be committed now. Thanks.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 19, 2016 at 8:32 AM, Martin Galvan <span dir="ltr"><<a href="mailto:martin.galvan@tallertechnologies.com" target="_blank">martin.galvan@tallertechnologies.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Also add a comment explaining why we use that value.<br>
---<br>
 cpukit/score/cpu/arm/rtems/score/armv7m.h | 3 ++-<br>
 1 file changed, 2 insertions(+), 1 deletion(-)<br>
<br>
diff --git a/cpukit/score/cpu/arm/rtems/score/armv7m.h b/cpukit/score/cpu/arm/rtems/score/armv7m.h<br>
index 251ecdc..0a69363 100644<br>
--- a/cpukit/score/cpu/arm/rtems/score/armv7m.h<br>
+++ b/cpukit/score/cpu/arm/rtems/score/armv7m.h<br>
@@ -386,7 +386,8 @@ typedef struct {<br>
<br>
 static inline bool _ARMV7M_Is_vector_an_irq( int vector )<br>
 {<br>
-  return vector >= 16;<br>
+  /* External (i.e. non-system) IRQs start after the SysTick vector. */<br>
+  return vector > ARMV7M_VECTOR_SYSTICK;<br>
 }<br>
<br>
 static inline uint32_t _ARMV7M_Get_basepri(void)<br>
<span class="HOEnZb"><font color="#888888">--<br>
2.7.1<br>
<br>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
</font></span></blockquote></div><br></div>