summaryrefslogtreecommitdiff
path: root/firmware/target
diff options
context:
space:
mode:
authorMichael Sparmann <theseven@rockbox.org>2009-10-23 23:58:54 +0000
committerMichael Sparmann <theseven@rockbox.org>2009-10-23 23:58:54 +0000
commit6599932f2ff5cea62edb5694b278666d62d2831c (patch)
tree5df338ddc029526106d7abf2bafc8d8d4034fc13 /firmware/target
parent49d4c428dc88c053575fcf17581323d3d49e8071 (diff)
Fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23326 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target')
-rw-r--r--firmware/target/arm/s5l8700/system-s5l8700.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/firmware/target/arm/s5l8700/system-s5l8700.c b/firmware/target/arm/s5l8700/system-s5l8700.c
index 44f9b042cb..fe0fb9ff7c 100644
--- a/firmware/target/arm/s5l8700/system-s5l8700.c
+++ b/firmware/target/arm/s5l8700/system-s5l8700.c
@@ -30,6 +30,8 @@
extern __attribute__((weak,alias("UIRQ"))) void name (void)
void irq_handler(void) __attribute__((interrupt ("IRQ"), naked));
+void fiq_handler(void) __attribute__((interrupt ("FIQ"), naked, \
+ weak, alias("fiq_dummy")));
default_interrupt(EXT0);
default_interrupt(EXT1);
@@ -141,6 +143,14 @@ void irq_handler(void)
"subs pc, lr, #4 \n"); /* Return from IRQ */
}
+void fiq_dummy(void)
+{
+ asm volatile (
+ "subs pc, lr, #4 \r\n"
+ );
+}
+
+
void system_init(void)
{
}