From f3343c6e79cf46b37d46cbb332ba1cb494b68ca4 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 12 Sep 2007 15:15:32 +0000 Subject: 2007-09-12 Joel Sherrill PR 1257/bsps * csb336/network/lan91c11x.c, csb337/startup/bspstart.c, edb7312/irq/irq.c, gba/irq/irq.c, gba/irq/irq_init.c, gp32/startup/bspstart.c, rtl22xx/startup/bspstart.c, shared/abort/abort.c, shared/abort/simple_abort.c, shared/irq/irq_init.c: Code outside of cpukit should use the public API for rtems_interrupt_disable/rtems_interrupt_enable. By bypassing the public API and directly accessing _CPU_ISR_Disable and _CPU_ISR_Enable, they were bypassing the compiler memory barrier directive which could lead to problems. This patch also changes the type of the variable passed into these routines and addresses minor style issues. --- c/src/lib/libbsp/arm/ChangeLog | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'c/src/lib/libbsp/arm/ChangeLog') diff --git a/c/src/lib/libbsp/arm/ChangeLog b/c/src/lib/libbsp/arm/ChangeLog index 8a628d1370..71c469ed35 100644 --- a/c/src/lib/libbsp/arm/ChangeLog +++ b/c/src/lib/libbsp/arm/ChangeLog @@ -1,3 +1,18 @@ +2007-09-12 Joel Sherrill + + PR 1257/bsps + * csb336/network/lan91c11x.c, csb337/startup/bspstart.c, + edb7312/irq/irq.c, gba/irq/irq.c, gba/irq/irq_init.c, + gp32/startup/bspstart.c, rtl22xx/startup/bspstart.c, + shared/abort/abort.c, shared/abort/simple_abort.c, + shared/irq/irq_init.c: Code outside of cpukit should use the public + API for rtems_interrupt_disable/rtems_interrupt_enable. By bypassing + the public API and directly accessing _CPU_ISR_Disable and + _CPU_ISR_Enable, they were bypassing the compiler memory barrier + directive which could lead to problems. This patch also changes the + type of the variable passed into these routines and addresses minor + style issues. + 2007-09-08 Joel Sherrill * shared/abort/abort.c, shared/abort/simple_abort.c: Remove incorrect -- cgit v1.2.3