From fbbe5fde57bdc9d0c7f809931c2addb43bc1bd42 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 18 Jul 2003 14:47:55 +0000 Subject: 2003-07-18 Till Straumann PR 430/rtems * include/rtems/score/watchdog.h: _Watchdog_Ticks_since_boot should be a VOLATILE variable. * src/watchdoginsert.c: 'restart' algorithm needs to enforce reloading the list head in case a TICK interrupt during ISR_Flash() modified the list. This is achieved by a proper VOLATILE cast. Also _Watchdog_Sync_count++ should be protected by _ISR_Disable (prevent corruption in case ISR calls watchdoginsert) * src/watchdogadjust.c: ISR protection added. * src/watchdogtickle.c: ISR protection added. NOTE: PowerPC BSPs using the new exception processing MUST BE UPDATED to maintain _ISR_Nest_level. See also PR288 which provides fixes for the affected BSPs distributed with RTEMS. --- cpukit/score/ChangeLog | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'cpukit/score/ChangeLog') diff --git a/cpukit/score/ChangeLog b/cpukit/score/ChangeLog index 4676766ed7..713d99db8d 100644 --- a/cpukit/score/ChangeLog +++ b/cpukit/score/ChangeLog @@ -1,3 +1,19 @@ +2003-07-18 Till Straumann + + PR 430/rtems + * include/rtems/score/watchdog.h: _Watchdog_Ticks_since_boot should + be a VOLATILE variable. + * src/watchdoginsert.c: 'restart' algorithm needs to enforce + reloading the list head in case a TICK interrupt during ISR_Flash() + modified the list. This is achieved by a proper VOLATILE cast. + Also _Watchdog_Sync_count++ should be protected by _ISR_Disable + (prevent corruption in case ISR calls watchdoginsert) + * src/watchdogadjust.c: ISR protection added. + * src/watchdogtickle.c: ISR protection added. + NOTE: PowerPC BSPs using the new exception processing MUST BE UPDATED + to maintain _ISR_Nest_level. See also PR288 which provides fixes + for the affected BSPs distributed with RTEMS. + 2003-07-08 Ralf Corsepius * cpu/Makefile.am: Add DIST_SUBDIRS = $(RTEMS_CPU). -- cgit v1.2.3