1
0
Fork 0
forked from len0rd/rockbox

imx233: enhance icoll with priority and soft IRQ

Change-Id: If9568ab6e11bf933b2cc607e5a86866a975886bc
This commit is contained in:
Amaury Pouly 2014-02-02 04:20:41 +01:00
parent ab5dfd55aa
commit 0ba4c3b078
3 changed files with 38 additions and 1 deletions

View file

@ -518,7 +518,8 @@ bool dbg_hw_info_icoll(void)
for(int i = first_irq, j = 0; i < dbg_irqs_count && j < line_count; i++, j++)
{
struct imx233_icoll_irq_info_t info = imx233_icoll_get_irq_info(dbg_irqs[i].src);
lcd_putsf(0, j, "%s", dbg_irqs[i].name);
static char prio[4] = {'-', '+', '^', '!'};
lcd_putsf(0, j, "%c%s", prio[info.priority & 3], dbg_irqs[i].name);
if(info.enabled || info.freq > 0)
lcd_putsf(10, j, "%d", info.freq);
}