From f22a356c30571fa71a5cce66fea5682567818b97 Mon Sep 17 00:00:00 2001 From: batt Date: Wed, 17 Mar 2010 13:08:31 +0000 Subject: [PATCH] AT91SAM7: clarify sysirq_dispatcher description. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3226 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/cpu/arm/drv/sysirq_at91.c | 6 ++++-- bertos/cpu/arm/drv/timer_at91.h | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/bertos/cpu/arm/drv/sysirq_at91.c b/bertos/cpu/arm/drv/sysirq_at91.c index d08f79b5..6de17602 100644 --- a/bertos/cpu/arm/drv/sysirq_at91.c +++ b/bertos/cpu/arm/drv/sysirq_at91.c @@ -94,8 +94,10 @@ STATIC_ASSERT(countof(sysirq_tab) == SYSIRQ_CNT); * various sources (system timer, etc..) and calls * the corresponding handler. * - * \note On ARM all IRQs are handled by the sysirq_dispatcher, so we can't - * differentiate between context-switch and non-context-switch ISR. + * \note On AT91SAM7, all system IRQs (timer included) are handled + * by the sysirq_dispatcher, so we can't differentiate between + * context-switch and non-context-switch ISR inside this + * class of IRQs. */ static DECLARE_ISR_CONTEXT_SWITCH(sysirq_dispatcher) { diff --git a/bertos/cpu/arm/drv/timer_at91.h b/bertos/cpu/arm/drv/timer_at91.h index 68e5561e..90a72cf0 100644 --- a/bertos/cpu/arm/drv/timer_at91.h +++ b/bertos/cpu/arm/drv/timer_at91.h @@ -65,7 +65,7 @@ #if (CONFIG_TIMER == TIMER_ON_PIT) /* - * On ARM all IRQs are handled by the sysirq_dispatcher, so the actual + * On ARM all system IRQs are handled by the sysirq_dispatcher, so the actual * timer handler can be treated like any other normal routine. */ #define DEFINE_TIMER_ISR void timer_handler(void); \ -- 2.25.1