projects
/
ppcskel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a17a57
)
just commented out unneeded line in irq init
author
theStack
<sebastian.falbesoner@gmail.com>
Thu, 3 Sep 2009 23:54:33 +0000
(
01:54
+0200)
committer
theStack
<sebastian.falbesoner@gmail.com>
Thu, 3 Sep 2009 23:54:33 +0000
(
01:54
+0200)
due to the fact that (HW_PPCIRQMASK+0x04 == HW_ARMIRQFLAG),
that write concerns arm irqs and is thus not needed here.
besides that, writing 0 to a flag register seems to be
senseless anyway (what have mini people done here? :P).
irq.c
patch
|
blob
|
history
diff --git
a/irq.c
b/irq.c
index da2456b7084e9e6361fbf47a7ab9113e5252bc11..7288be0224a890c9058ac3b70e8dc7ff2c7d9334 100644
(file)
--- a/
irq.c
+++ b/
irq.c
@@
-31,7
+31,7
@@
void irq_initialize(void)
//??? -- needed?!
- write32(HW_PPCIRQMASK+0x04, 0);
+ //write32(HW_ARMIRQFLAG, 0); // this does nothing?
write32(HW_PPCIRQMASK+0x20, 0);
_CPU_ISR_Enable()