aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bcmclock.h4
-rw-r--r--global.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/bcmclock.h b/bcmclock.h
index 7fd192d..40d0559 100644
--- a/bcmclock.h
+++ b/bcmclock.h
@@ -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)
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