aboutsummaryrefslogtreecommitdiff
path: root/interrupts.h
diff options
context:
space:
mode:
authorvetch <vetch97@gmail.com>2020-01-02 17:49:42 +0100
committervetch <vetch97@gmail.com>2020-01-02 17:49:42 +0100
commit8d08aa3662ed44ef2f4b35b1e79f44adaf3229c9 (patch)
treeb803375047e56d8b9b0669e032a88edb18ff9d99 /interrupts.h
parent5cb10bcc7d0c6d4159103f05ba228a09ca365fac (diff)
downloadrpi-MMU-example-8d08aa3662ed44ef2f4b35b1e79f44adaf3229c9.tar.gz
rpi-MMU-example-8d08aa3662ed44ef2f4b35b1e79f44adaf3229c9.zip
update, may not work now
Diffstat (limited to 'interrupts.h')
-rw-r--r--interrupts.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/interrupts.h b/interrupts.h
index 9f80668..e9ade80 100644
--- a/interrupts.h
+++ b/interrupts.h
@@ -121,7 +121,7 @@ struct __attribute__((__packed__, aligned(4))) QA7Registers {
generic_timer_int_ctrl_reg_t Core2TimerIntControl; // 0x48
generic_timer_int_ctrl_reg_t Core3TimerIntControl; // 0x4C
};
-#define QA7 ((volatile __attribute__((aligned(4))) struct QA7Registers*)(uintptr_t)(0x40000040))
+#define QA7 ((volatile __attribute__((aligned(4))) struct QA7Registers*)(uintptr_t)(0x40000024))
//40000040
int enable_timer(void);