From 3d7fa72bc2ba2f723e6bcf84180637fb8c84f713 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 12 Sep 2007 15:23:49 +0000 Subject: 2007-09-12 Joel Sherrill PR 1257/bsps * sh7032/score/cpu_asm.c, sh7032/timer/timer.c, sh7045/score/cpu_asm.c, sh7045/timer/timer.c, sh7750/score/cpu_asm.c, sh7750/timer/timer.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/libcpu/sh/ChangeLog | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'c/src/lib/libcpu/sh/ChangeLog') diff --git a/c/src/lib/libcpu/sh/ChangeLog b/c/src/lib/libcpu/sh/ChangeLog index 24acfbd0e5..6cb9cab3a3 100644 --- a/c/src/lib/libcpu/sh/ChangeLog +++ b/c/src/lib/libcpu/sh/ChangeLog @@ -1,3 +1,16 @@ +2007-09-12 Joel Sherrill + + PR 1257/bsps + * sh7032/score/cpu_asm.c, sh7032/timer/timer.c, sh7045/score/cpu_asm.c, + sh7045/timer/timer.c, sh7750/score/cpu_asm.c, sh7750/timer/timer.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-04-17 Ralf Corsépius * sh7032/score/cpu_asm.c, sh7045/score/cpu_asm.c, -- cgit v1.2.3