summaryrefslogtreecommitdiff
path: root/interrupt/interrupt.cpp
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2021-01-15 13:04:35 +0100
committerVegard Storheil Eriksen <zyp@jvnv.net>2021-01-15 13:04:35 +0100
commitd834303f5e642266874b1c99be04dcb9149fefb1 (patch)
treeb27d485646e983ea579cee6a5ce46ad76d824c46 /interrupt/interrupt.cpp
parent082db0c6b5b70df45ef16b7124a982df3054e3c8 (diff)
interrupt: Removed mf_vectors.
Diffstat (limited to 'interrupt/interrupt.cpp')
-rw-r--r--interrupt/interrupt.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/interrupt/interrupt.cpp b/interrupt/interrupt.cpp
index ebda829..b50c01e 100644
--- a/interrupt/interrupt.cpp
+++ b/interrupt/interrupt.cpp
@@ -1,20 +1,8 @@
#include "interrupt.h"
-namespace Interrupt {
- MFP mf_vectors[16 + NUM_IRQs];
-};
-
void entry();
-void member_function_interrupt_gate() {
- uint32_t interrupt_num;
- asm ("mrs %0, ipsr" : "=r" (interrupt_num));
-
- Interrupt::mf_vectors[interrupt_num].func_p(Interrupt::mf_vectors[interrupt_num].instance_p);
-}
-
extern "C" void unused_interrupt() {
- member_function_interrupt_gate();
//while(1);
}