summaryrefslogtreecommitdiff
path: root/include/grlib/irqmp.h
diff options
context:
space:
mode:
authorDaniel Hellstrom <daniel@gaisler.com>2010-01-21 16:09:37 +0100
committerFrancois Retief <fgretief@spaceteq.co.za>2015-11-13 10:23:33 +0200
commitf2879f5952b35009c76de92ca57d67ab628bac0c (patch)
treecd79e349a44c8ed6dfc3cead9cf69b7e37fafb52 /include/grlib/irqmp.h
parentcff009ed6ff7da2e87f8213d34ed869be4373604 (diff)
sparc: leon3: Moved GRLIB core header files to common include/grlib directory
Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
Diffstat (limited to 'include/grlib/irqmp.h')
-rw-r--r--include/grlib/irqmp.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/include/grlib/irqmp.h b/include/grlib/irqmp.h
new file mode 100644
index 0000000000..0354d5c21c
--- /dev/null
+++ b/include/grlib/irqmp.h
@@ -0,0 +1,23 @@
+/* GRLIB IRQMP (IRQ Multi-processor controller) definitions
+ *
+ * (C) Copyright 2010, 2015
+ * Daniel Hellstrom, Cobham Gaisler, daniel@gaisler.com
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#ifndef __GRLIB_IRQMP_H__
+#define __GRLIB_IRQMP_H__
+
+typedef struct {
+ volatile unsigned int ilevel;
+ volatile unsigned int ipend;
+ volatile unsigned int iforce;
+ volatile unsigned int iclear;
+ volatile unsigned int mstatus;
+ volatile unsigned int notused[11];
+ volatile unsigned int cpu_mask[16];
+ volatile unsigned int cpu_force[16];
+} ambapp_dev_irqmp;
+
+#endif