From: theStack Date: Thu, 3 Sep 2009 23:54:33 +0000 (+0200) Subject: just commented out unneeded line in irq init X-Git-Tag: firstresponse~44 X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=ppcskel.git;a=commitdiff_plain;h=6c7f1b47248745511987036b3aa20b5055c39c22 just commented out unneeded line in irq init 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). --- diff --git a/irq.c b/irq.c index da2456b..7288be0 100644 --- 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()