aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/arm/PL1/kernel/interrupts.c8
-rw-r--r--src/arm/PL1/kernel/interrupts.h2
2 files changed, 2 insertions, 8 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
diff --git a/src/arm/PL1/kernel/interrupts.h b/src/arm/PL1/kernel/interrupts.h
index c2818ee..6d820fa 100644
--- a/src/arm/PL1/kernel/interrupts.h
+++ b/src/arm/PL1/kernel/interrupts.h
@@ -29,7 +29,7 @@
#define RPI_BASIC_ACCESS_ERROR_1_IRQ (1 << 6)
#define RPI_BASIC_ACCESS_ERROR_0_IRQ (1 << 7)
-// @brief The interrupt controller memory mapped register set
+// The interrupt controller memory mapped register set
typedef struct {
volatile uint32_t IRQ_basic_pending;
volatile uint32_t IRQ_pending_1;