1
0
Fork 0
forked from len0rd/rockbox
foxbox/firmware/target
Michael Sevakis 307cb04948 AS3525v1/2: Enable nested handling of interrupts
Mostly for the sake of reducing latency for audio servicing where other service
routines can take a long time to complete, leading to occasional drops of a
few samples, especially in recording, where they are fairly frequent.

One mystery that remains is GPIOA IRQ being interrupted causes strange
undefined instruction exceptions, most easily produced on my Fuze V2 with a
scrollwheel. Making GPIOA the top ISR for now, thus not interruptible, cures it.

SVC mode is used during the actual calls. Hopefully the SVC stack size is
sufficient. Prologue and epilogue code only uses the IRQ stack and is large
enough.

Any routine code that should not be interrupted should disable IRQ itself from
here on in.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31642 a1c6a512-1295-4272-9138-f99709370657
2012-01-08 22:29:25 +00:00
..
arm AS3525v1/2: Enable nested handling of interrupts 2012-01-08 22:29:25 +00:00
coldfire adc-target.h: cleanup 2012-01-08 00:39:29 +00:00
hosted ascodec-target.h: remove 2012-01-08 01:43:16 +00:00
mips lcd-target.h: remove some duplicate declarations 2012-01-08 00:52:55 +00:00
sh fix previous commit 2012-01-08 00:18:43 +00:00