[rtems commit] bsps/arm: Use proper default priority for GIC

Sebastian Huber sebh at rtems.org
Tue Aug 13 12:42:55 UTC 2013


Module:    rtems
Branch:    master
Commit:    c32c80ea04272c33447191828ce06fb899f730f5
Changeset: http://git.rtems.org/rtems/commit/?id=c32c80ea04272c33447191828ce06fb899f730f5

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Aug 13 14:43:54 2013 +0200

bsps/arm: Use proper default priority for GIC

Some GIC implementations do not have the complete range of priorities.
The upper bits are RAZ/WI in this case.

---

 c/src/lib/libbsp/arm/shared/arm-gic-irq.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/c/src/lib/libbsp/arm/shared/arm-gic-irq.c b/c/src/lib/libbsp/arm/shared/arm-gic-irq.c
index ed2d389..c319c1e 100644
--- a/c/src/lib/libbsp/arm/shared/arm-gic-irq.c
+++ b/c/src/lib/libbsp/arm/shared/arm-gic-irq.c
@@ -24,7 +24,7 @@
 
 #define GIC_CPUIF ((volatile gic_cpuif *) BSP_ARM_GIC_CPUIF_BASE)
 
-#define PRIORITY_DEFAULT 128
+#define PRIORITY_DEFAULT 127
 
 void bsp_interrupt_dispatch(void)
 {




More information about the vc mailing list