diff options
author | vetch <vetch97@gmail.com> | 2020-01-02 17:49:42 +0100 |
---|---|---|
committer | vetch <vetch97@gmail.com> | 2020-01-02 17:49:42 +0100 |
commit | 8d08aa3662ed44ef2f4b35b1e79f44adaf3229c9 (patch) | |
tree | b803375047e56d8b9b0669e032a88edb18ff9d99 /interrupts.h | |
parent | 5cb10bcc7d0c6d4159103f05ba228a09ca365fac (diff) | |
download | rpi-MMU-example-8d08aa3662ed44ef2f4b35b1e79f44adaf3229c9.tar.gz rpi-MMU-example-8d08aa3662ed44ef2f4b35b1e79f44adaf3229c9.zip |
update, may not work now
Diffstat (limited to 'interrupts.h')
-rw-r--r-- | interrupts.h | 2 |
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); |