Rockbox

This is the bug/patch tracker for Rockbox. Click here for more information.

Quick links: Bugs · Patches · Rockbox frontpage

Tasklist

FS#8687 - Use hardware interrupt handler table lookups available in DM320 interrupt controller

Attached to Project: Rockbox
Opened by Maurus Cuelenaere (mcuelenaere) - Wednesday, 05 March 2008, 23:04 GMT+2
Task Type Patches
Category Drivers
Status Unconfirmed
Assigned To No-one
Player type Another
Severity Low
Priority Normal
Reported Version current build
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Private No

Details

This is the modifications to system-dm320.c also included in FS#8686.
   cat.diff (4.4 KiB)
This task depends upon

Comment by Maurus Cuelenaere (mcuelenaere) - Wednesday, 05 March 2008, 23:04 GMT+2
Woops, spelling mistakes:

These are the ...
Comment by Catalin Patulea (Catalin Patulea) - Wednesday, 05 March 2008, 23:04 GMT+2
As owner of a m:robe 500i (also DM320 platform), I'll review this patch and make sure it doesn't break anything on that side.
Comment by Maurus Cuelenaere (mcuelenaere) - Wednesday, 05 March 2008, 23:12 GMT+2
Short description:
This changes the way interrupts are handled to take advantage of the hardware looking of handler address(as described in the DM320 datasheet), it should save a few instruction in the IRQ/FIQ handlers and could save custom IRQ handler code bugs.
Comment by Maurus Cuelenaere (mcuelenaere) - Tuesday, 11 March 2008, 17:53 GMT+2
This patch is (partially) incorrect: after rereading the datasheet it seems EABASE0 (IO_INTC_ENTRY_TBA0 in the code) wasn't filled in correctly; I'll have to rework that one. But as I've disabled this in my patch for the ZVM it is low priority, so don't expect it soon.
Comment by Maurus Cuelenaere (mcuelenaere) - Thursday, 01 May 2008, 17:32 GMT+2
This patch uses the correct implementation (according to the datasheet), but isn't working for some unknown reason.
   irq.diff (2.8 KiB)

Loading...