aboutsummaryrefslogtreecommitdiff
path: root/global.h
diff options
context:
space:
mode:
authorWojtek Kosior <kwojtus@protonmail.com>2019-12-31 23:32:42 +0100
committerWojtek Kosior <kwojtus@protonmail.com>2019-12-31 23:32:42 +0100
commitfc852b23608c2162b264302e6f48e5f8b3b0b512 (patch)
tree12d63540716c0a3487165f638d0563b9b28b1035 /global.h
parent13199395faf225fe78d2ef4540ea3e75edb4e640 (diff)
downloadrpi-MMU-example-fc852b23608c2162b264302e6f48e5f8b3b0b512.tar.gz
rpi-MMU-example-fc852b23608c2162b264302e6f48e5f8b3b0b512.zip
move ARM_BASE definition to global.h
Diffstat (limited to 'global.h')
-rw-r--r--global.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/global.h b/global.h
index 202ca85..34867a1 100644
--- a/global.h
+++ b/global.h
@@ -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