diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2016-01-16 11:40:42 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2016-01-16 11:40:42 +0000 |
commit | 9bec8d317920fba8fa8ab59a45c112432ff39481 (patch) | |
tree | 3c65d98a2cb2d69b96fc2e069fda2ab676891206 | |
parent | c2ffa54ce115fa017ca086bd82245783d0619304 (diff) | |
download | ChibiOS-9bec8d317920fba8fa8ab59a45c112432ff39481.tar.gz ChibiOS-9bec8d317920fba8fa8ab59a45c112432ff39481.tar.bz2 ChibiOS-9bec8d317920fba8fa8ab59a45c112432ff39481.zip |
Fixed bug #693.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8766 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r-- | os/rt/src/chstats.c | 2 | ||||
-rw-r--r-- | readme.txt | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/os/rt/src/chstats.c b/os/rt/src/chstats.c index 40169642e..82d2a67a1 100644 --- a/os/rt/src/chstats.c +++ b/os/rt/src/chstats.c @@ -72,7 +72,9 @@ void _stats_init(void) { */
void _stats_increase_irq(void) {
+ port_lock_from_isr();
ch.kernel_stats.n_irq++;
+ port_unlock_from_isr();
}
/**
diff --git a/readme.txt b/readme.txt index 7a4c9481d..29afe7a02 100644 --- a/readme.txt +++ b/readme.txt @@ -76,6 +76,8 @@ - RT: Removed the p_msg field from the thread_t structure saving a
msg_t-sized field from the structure. Messages now use a new field
into the p_u union. Now synchronous messages are even faster.
+- RT: Fixed ISR statistics are not updated from a critical zone in RT
+ (bug #693)(backported to 3.0.5 and 16.1.1).
- NIL: Fixed NIL test suite calls I and S functions outside critical zone
(bug #692)(backported to 3.0.5 and 16.1.1).
- NIL: Fixed protocol violation in NIL OSAL (bug #691)(backported to
|