projects
/
bertos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c3d298
)
Enable system IRQ generation.
author
batt
<batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 9 Oct 2007 07:16:57 +0000
(07:16 +0000)
committer
batt
<batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 9 Oct 2007 07:16:57 +0000
(07:16 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@843
38d2e660
-2303-0410-9eaa-
f027e97ec537
drv/at91/sysirq.c
patch
|
blob
|
history
diff --git
a/drv/at91/sysirq.c
b/drv/at91/sysirq.c
index d7529e6528647f9a1e80b79e5b4cf0032eb39af0..d3991fddbec7c6bb2ba1911a7f171e6452010153 100644
(file)
--- a/
drv/at91/sysirq.c
+++ b/
drv/at91/sysirq.c
@@
-127,8
+127,10
@@
void sysirq_init(void)
AIC_SVR(SYSC_ID) = sysirq_dispatcher;
/* Initialize to edge triggered with defined priority. */
AIC_SMR(SYSC_ID) = AIC_SRCTYPE_INT_EDGE_TRIGGERED | SYSIRQ_PRIORITY;
- /* Clear interrupt */
+ /* Clear
pending
interrupt */
AIC_ICCR = BV(SYSC_ID);
+ /* Enable the system IRQ */
+ AIC_IECR = BV(SYSC_ID);
IRQ_RESTORE(flags);
MOD_INIT(sysirq);