forked from len0rd/rockbox
i.MX31 avic: Fix super-stale comment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30748 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
830531b7d4
commit
e4f64da35f
1 changed files with 2 additions and 3 deletions
|
@ -74,9 +74,8 @@ static inline void avic_unmask_int(enum IMX31_INT_LIST ints)
|
||||||
{ AVIC_INTENNUM = ints; }
|
{ AVIC_INTENNUM = ints; }
|
||||||
|
|
||||||
/* Call a service routine while allowing preemption by interrupts of higher
|
/* Call a service routine while allowing preemption by interrupts of higher
|
||||||
* priority. Avoid using any app or other SVC stack by doing it with a mini
|
* priority. Avoid actually enabling IRQ until the routine decides to do so;
|
||||||
* "stack on irq stack". Avoid actually enabling IRQ until the routine
|
* epilogue code will always disable them again. */
|
||||||
* decides to do so; epilogue code will always disable them again. */
|
|
||||||
#define AVIC_NESTED_NI_CALL(fn, prio) \
|
#define AVIC_NESTED_NI_CALL(fn, prio) \
|
||||||
({ asm volatile ( \
|
({ asm volatile ( \
|
||||||
"sub lr, lr, #4 \n" /* prepare return address */ \
|
"sub lr, lr, #4 \n" /* prepare return address */ \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue