aboutsummaryrefslogtreecommitdiff
path: root/src/arm/PL1/kernel/interrupts.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arm/PL1/kernel/interrupts.c')
-rw-r--r--src/arm/PL1/kernel/interrupts.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/arm/PL1/kernel/interrupts.c b/src/arm/PL1/kernel/interrupts.c
index 121d79c..2c3c752 100644
--- a/src/arm/PL1/kernel/interrupts.c
+++ b/src/arm/PL1/kernel/interrupts.c
@@ -3,10 +3,6 @@
#include "svc_interface.h"
#include "armclock.h"
#include "scheduler.h"
-/**
- @brief The undefined instruction interrupt handler
-**/
-
void __attribute__((noreturn)) setup(void);
@@ -107,19 +103,17 @@ void fiq_handler(void)
}
-/* Here is your interrupt function */
+/* Old, not sure if working interrupt function */
//void
//__attribute__((interrupt("IRQ")))
//__attribute__((section(".interrupt_vectors.text")))
//irq_handler2(void) {
-// /* You code goes here */
//// uart_puts("GOT INTERRUPT!\r\n");
//
// local_timer_clr_reload_reg_t temp = { .IntClear = 1, .Reload = 1 };
// QA7->TimerClearReload = temp; // Clear interrupt & reload
//}
-///* here is your main */
//int enable_timer(void) {
//
// QA7->TimerRouting.Routing = LOCALTIMER_TO_CORE0_IRQ; // Route local timer IRQ to Core0