diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2011-10-14 00:01:41 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2011-10-14 00:01:41 +0000 |
commit | 830531b7d463155018857ca9899e760d72208279 (patch) | |
tree | 59a5804735e7a28881f1525351d9c39a411dfe10 /firmware/target/arm/imx31/avic-imx31.c | |
parent | 0dc76136ca3fcf46b9a9993b75e7e7ed1e76816c (diff) | |
download | rockbox-830531b7d463155018857ca9899e760d72208279.tar.gz rockbox-830531b7d463155018857ca9899e760d72208279.zip |
i.MX31: Simplify nested interrupt handling. Give SVC mode its own stack by grabbing the FIQ stack that's just been taking up space. Just get rid of all FIQ setup since it isn't used anyway.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30747 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/imx31/avic-imx31.c')
-rw-r--r-- | firmware/target/arm/imx31/avic-imx31.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/target/arm/imx31/avic-imx31.c b/firmware/target/arm/imx31/avic-imx31.c index b2b62755e1..5b0aad434c 100644 --- a/firmware/target/arm/imx31/avic-imx31.c +++ b/firmware/target/arm/imx31/avic-imx31.c | |||
@@ -103,6 +103,7 @@ void __attribute__((interrupt("IRQ"))) irq_handler(void) | |||
103 | } | 103 | } |
104 | #endif /* 0 */ | 104 | #endif /* 0 */ |
105 | 105 | ||
106 | #if 0 | ||
106 | /* Accoring to section 9.3.5 of the UM, the AVIC doesn't accelerate | 107 | /* Accoring to section 9.3.5 of the UM, the AVIC doesn't accelerate |
107 | * fast interrupts and they must be dispatched */ | 108 | * fast interrupts and they must be dispatched */ |
108 | void __attribute__((naked)) fiq_handler(void) | 109 | void __attribute__((naked)) fiq_handler(void) |
@@ -115,6 +116,7 @@ void __attribute__((naked)) fiq_handler(void) | |||
115 | "bx r8 \n" /* jump to FIQ service routine */ | 116 | "bx r8 \n" /* jump to FIQ service routine */ |
116 | ); | 117 | ); |
117 | } | 118 | } |
119 | #endif /* 0 */ | ||
118 | 120 | ||
119 | void INIT_ATTR avic_init(void) | 121 | void INIT_ATTR avic_init(void) |
120 | { | 122 | { |