diff options
author | Wojtek Kosior <kwojtus@protonmail.com> | 2019-12-31 23:32:42 +0100 |
---|---|---|
committer | Wojtek Kosior <kwojtus@protonmail.com> | 2019-12-31 23:32:42 +0100 |
commit | fc852b23608c2162b264302e6f48e5f8b3b0b512 (patch) | |
tree | 12d63540716c0a3487165f638d0563b9b28b1035 | |
parent | 13199395faf225fe78d2ef4540ea3e75edb4e640 (diff) | |
download | rpi-MMU-example-fc852b23608c2162b264302e6f48e5f8b3b0b512.tar.gz rpi-MMU-example-fc852b23608c2162b264302e6f48e5f8b3b0b512.zip |
move ARM_BASE definition to global.h
-rw-r--r-- | bcmclock.h | 4 | ||||
-rw-r--r-- | global.h | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -15,10 +15,6 @@ #define ST_C2 (ST_BASE + 0x14) // System Timer Compare 2 #define ST_C3 (ST_BASE + 0x18) // System Timer Compare 3 -// ARM control block -// called "base address for the ARM interrupt register" elsewhere -#define ARM_BASE (PERIF_BASE + 0xB000) - #define ARM_IRQ_BASIC_PENDING (ARM_BASE + 0x200) #define ARM_IRQ_PENDING_1 (ARM_BASE + 0x204) #define ARM_IRQ_PENDING_2 (ARM_BASE + 0x208) @@ -23,4 +23,8 @@ // (as in sane kernels - like linux, not like in wiki.osdev codes...) #define GPIO_BASE (PERIF_BASE + 0x200000) +// ARM control block +// called "base address for the ARM interrupt register" elsewhere +#define ARM_BASE (PERIF_BASE + 0xB000) + #endif // GLOBAL_H |