aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--interrupts.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/interrupts.c b/interrupts.c
index 1b0590a..1a0150e 100644
--- a/interrupts.c
+++ b/interrupts.c
@@ -15,10 +15,7 @@ void reset_handler(void)
while(1);
}
-void
-__attribute__((interrupt("UNDEF")))
-__attribute__((section(".interrupts.text")))
-undefined_instruction_vector(void)
+void undefined_instruction_vector(void)
{
uart_puts("Undefined instruction occured");
while( 1 )
@@ -34,9 +31,7 @@ void supervisor_call_handler(void)
while(1);
}
-void
-__attribute__((interrupt("ABORT")))
-abort_handler(void)
+void abort_handler(void)
{
uart_puts("re-entered system\n\r");