[rtems commit] ARM: New define ARMV7M_EXCEPTION_PRIORITY_LOWEST
Sebastian Huber
sebh at rtems.org
Sat Mar 24 19:21:50 UTC 2012
Module: rtems
Branch: master
Commit: f9ec60046ba2eeb3a17d7385b9f640fc82c23e80
Changeset: http://git.rtems.org/rtems/commit/?id=f9ec60046ba2eeb3a17d7385b9f640fc82c23e80
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Sat Mar 24 20:07:17 2012 +0100
ARM: New define ARMV7M_EXCEPTION_PRIORITY_LOWEST
---
cpukit/score/cpu/arm/rtems/score/armv7m.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/cpukit/score/cpu/arm/rtems/score/armv7m.h b/cpukit/score/cpu/arm/rtems/score/armv7m.h
index 4100862..936c452 100644
--- a/cpukit/score/cpu/arm/rtems/score/armv7m.h
+++ b/cpukit/score/cpu/arm/rtems/score/armv7m.h
@@ -296,6 +296,8 @@ typedef struct {
#define ARMV7M_VECTOR_IRQ(n) ((n) + 16)
#define ARMV7M_IRQ_OF_VECTOR(n) ((n) - 16)
+#define ARMV7M_EXCEPTION_PRIORITY_LOWEST 255
+
static inline bool _ARMV7M_Is_vector_an_irq( int vector )
{
return vector >= 16;
More information about the vc
mailing list