[rtems commit] bsps/sparc: Add interrupt controller registers

Sebastian Huber sebh at rtems.org
Tue Oct 18 20:21:13 UTC 2016


Module:    rtems
Branch:    master
Commit:    f94155b8ec8ed0f9c89e1add48f0bcbe78dcda80
Changeset: http://git.rtems.org/rtems/commit/?id=f94155b8ec8ed0f9c89e1add48f0bcbe78dcda80

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Wed Oct 19 00:22:57 2016 +0200

bsps/sparc: Add interrupt controller registers

---

 c/src/lib/libbsp/sparc/shared/include/grlib.h | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/c/src/lib/libbsp/sparc/shared/include/grlib.h b/c/src/lib/libbsp/sparc/shared/include/grlib.h
index 72698e6..a744899 100644
--- a/c/src/lib/libbsp/sparc/shared/include/grlib.h
+++ b/c/src/lib/libbsp/sparc/shared/include/grlib.h
@@ -66,8 +66,11 @@ struct irqmp_regs {
   volatile unsigned int intid[16];   /* 0xc0 */
   volatile struct irqmp_timestamp_regs timestamp[16]; /* 0x100 */
   volatile unsigned int resetaddr[4]; /* 0x200 */
-  /* 0x210, align to 4Kb boundary */
-  volatile unsigned int resv1[(0x1000-0x210)/4];
+  volatile unsigned int resv0[12];    /* 0x210 - 0x23C */
+  volatile unsigned int pboot;        /* 0x240 */
+  volatile unsigned int resv1[47];    /* 0x244 - 0x2FC */
+  volatile unsigned int irqmap[8];    /* 0x300 - 0x31C */
+  volatile unsigned int resv2[824];   /* 0x320 - 0x1000 */
 };
 
 /* GPTIMER Timer instance */



More information about the vc mailing list