forked from len0rd/rockbox
as3525: reorder vectored interrupts
The list is ordered by priority, put the DMA and SD interrupts at the top This seems to fix the random freezes on heavy storage operation like building database or pictureflow cache The recently added audio interrupt had a priority higher than SD slot on as3525v1, give it a lower priority git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26160 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a53785911a
commit
6f2afd36bc
1 changed files with 10 additions and 8 deletions
|
@ -108,22 +108,24 @@ struct vec_int_src
|
||||||
/* Vectored interrupts (16 available) */
|
/* Vectored interrupts (16 available) */
|
||||||
struct vec_int_src vec_int_srcs[] =
|
struct vec_int_src vec_int_srcs[] =
|
||||||
{
|
{
|
||||||
{ INT_SRC_TIMER1, INT_TIMER1 },
|
/* Highest priority at the top of the list */
|
||||||
{ INT_SRC_TIMER2, INT_TIMER2 },
|
|
||||||
{ INT_SRC_DMAC, INT_DMAC },
|
{ INT_SRC_DMAC, INT_DMAC },
|
||||||
{ INT_SRC_NAND, INT_NAND },
|
{ INT_SRC_NAND, INT_NAND },
|
||||||
{ INT_SRC_I2C_AUDIO, INT_I2C_AUDIO },
|
|
||||||
{ INT_SRC_AUDIO, INT_AUDIO },
|
|
||||||
{ INT_SRC_USB, INT_USB, },
|
|
||||||
#if (defined HAVE_MULTIDRIVE && CONFIG_CPU == AS3525)
|
#if (defined HAVE_MULTIDRIVE && CONFIG_CPU == AS3525)
|
||||||
{ INT_SRC_MCI0, INT_MCI0 },
|
{ INT_SRC_MCI0, INT_MCI0 },
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_HOTSWAP
|
{ INT_SRC_USB, INT_USB, },
|
||||||
{ INT_SRC_GPIOA, INT_GPIOA, },
|
|
||||||
#endif
|
|
||||||
#ifdef HAVE_RECORDING
|
#ifdef HAVE_RECORDING
|
||||||
{ INT_SRC_I2SIN, INT_I2SIN, },
|
{ INT_SRC_I2SIN, INT_I2SIN, },
|
||||||
#endif
|
#endif
|
||||||
|
{ INT_SRC_TIMER1, INT_TIMER1 },
|
||||||
|
{ INT_SRC_TIMER2, INT_TIMER2 },
|
||||||
|
{ INT_SRC_I2C_AUDIO, INT_I2C_AUDIO },
|
||||||
|
{ INT_SRC_AUDIO, INT_AUDIO },
|
||||||
|
#ifdef HAVE_HOTSWAP
|
||||||
|
{ INT_SRC_GPIOA, INT_GPIOA, },
|
||||||
|
#endif
|
||||||
|
/* Lowest priority at the end of the list */
|
||||||
};
|
};
|
||||||
|
|
||||||
static void setup_vic(void)
|
static void setup_vic(void)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue