Up to [local] / funnyos / arch / testarm / dev
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: MAIN
Revision 1.7 / (download) - annotate - [select for diffs], Mon Nov 5 20:11:25 2007 UTC (16 years, 10 months ago) by init
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)
undef TAIRQC_DEBUG; testarm irq controller seems work fine
Revision 1.6 / (download) - annotate - [select for diffs], Sun Nov 4 23:15:57 2007 UTC (16 years, 10 months ago) by init
Branch: MAIN
Changes since 1.5: +27 -3 lines
Diff to previous 1.5 (colored)
add minimal code to tartc_irq(), our trampoline from low-level IRQ isr: upon entering (when core IRQ is asserted) we read irq status from tairqc and execute interrupt handler for every intrno in tairqc status register. be sure to mask all (really all) unwanted interrupts on attachment; explicitly unmask intr no. 4 (Real Time Clock) so we can see if it all is working or not :) this completes irq-related chain: RTC -intr-> IRQC -irq-> CPU Core enters IRQ_mode and jumps to 0x00000018 (_vector_irq): _vector_irq -> irq_trampoline -> irq_trampoline_func (which is tairqc_irq) -> tairqc_irq (read irqc status) -> (execute interrupt handlers for every source) -> tartc_interrupt()
Revision 1.5 / (download) - annotate - [select for diffs], Fri Nov 2 13:27:42 2007 UTC (16 years, 10 months ago) by init
Branch: MAIN
Changes since 1.4: +12 -2 lines
Diff to previous 1.4 (colored)
add debug to tairqc; enabled for now
Revision 1.4 / (download) - annotate - [select for diffs], Fri Nov 2 12:36:13 2007 UTC (16 years, 10 months ago) by init
Branch: MAIN
Changes since 1.3: +3 -1 lines
Diff to previous 1.3 (colored)
return 0 indicating tairqc has been proberly attached
Revision 1.3 / (download) - annotate - [select for diffs], Fri Nov 2 12:35:24 2007 UTC (16 years, 10 months ago) by init
Branch: MAIN
Changes since 1.2: +46 -3 lines
Diff to previous 1.2 (colored)
add functions for masking/unmasking/reading status from an irq controller
Revision 1.2 / (download) - annotate - [select for diffs], Thu Nov 1 13:03:01 2007 UTC (16 years, 10 months ago) by init
Branch: MAIN
Changes since 1.1: +2 -1 lines
Diff to previous 1.1 (colored)
fill dr_attach in tairqc_dr with NULL
Revision 1.1 / (download) - annotate - [select for diffs], Mon Oct 29 20:12:18 2007 UTC (16 years, 10 months ago) by init
Branch: MAIN
add tairqc, driver for testarm Interrupt Controller Unit; this irqc contains only three registers: intr status, mask and unmask. on testarm we will be invoked from low-level when CPU Ext. IRQ is asserted. devconfig machinery will support vectors-table allowing us to switch control flow based on this table into devices' interrupt handlers he-he, still more work on the road, but i need to commit it to work on it.