summaryrefslogtreecommitdiff
path: root/bsp
diff options
context:
space:
mode:
authorBunnaroath Sou <bsou@sifive.com>2019-03-25 12:08:50 -0700
committerBunnaroath Sou <bsou@sifive.com>2019-03-25 12:08:50 -0700
commitefa2e2200c45beb5e9fb7215f71d829998d31da8 (patch)
tree4a828594d0bc79966a10b10d4e279f07e0cd9995 /bsp
parent8c4777c677ef24d6c89c8d116863faa4654d3529 (diff)
Update header to include PLIC, CLIC SUBINTERRUPTS
Diffstat (limited to 'bsp')
-rw-r--r--bsp/coreip-e20-arty/metal.h1
-rw-r--r--bsp/coreip-e20-rtl/metal.h1
-rw-r--r--bsp/coreip-e21-arty/metal.h1
-rw-r--r--bsp/coreip-e21-rtl/metal.h1
-rw-r--r--bsp/coreip-e24-arty/metal.h1
-rw-r--r--bsp/coreip-e24-rtl/metal.h1
-rw-r--r--bsp/coreip-e31-arty/metal.h1
-rw-r--r--bsp/coreip-e31-rtl/metal.h1
-rw-r--r--bsp/coreip-e34-arty/metal.h1
-rw-r--r--bsp/coreip-e34-rtl/metal.h1
-rw-r--r--bsp/coreip-e76-arty/metal.h1
-rw-r--r--bsp/coreip-e76-rtl/metal.h1
-rw-r--r--bsp/coreip-s51-arty/metal.h1
-rw-r--r--bsp/coreip-s51-rtl/metal.h1
-rw-r--r--bsp/coreip-s54-arty/metal.h1
-rw-r--r--bsp/coreip-s54-rtl/metal.h1
-rw-r--r--bsp/coreip-s76-arty/metal.h1
-rw-r--r--bsp/coreip-s76-rtl/metal.h1
-rw-r--r--bsp/freedom-e310-arty/metal.h1
-rw-r--r--bsp/sifive-hifive1-revb/metal.h1
-rw-r--r--bsp/sifive-hifive1/metal.h1
21 files changed, 21 insertions, 0 deletions
diff --git a/bsp/coreip-e20-arty/metal.h b/bsp/coreip-e20-arty/metal.h
index c1520f0..36ddab0 100644
--- a/bsp/coreip-e20-arty/metal.h
+++ b/bsp/coreip-e20-arty/metal.h
@@ -18,6 +18,7 @@
#define METAL_MAX_CLINT_INTERRUPTS 0
+#define __METAL_PLIC_SUBINTERRUPTS 0
#define METAL_MAX_PLIC_INTERRUPTS 0
#define __METAL_INTERRUPT_CONTROLLER_2000000_INTERRUPTS 3
diff --git a/bsp/coreip-e20-rtl/metal.h b/bsp/coreip-e20-rtl/metal.h
index aa513d9..66d4599 100644
--- a/bsp/coreip-e20-rtl/metal.h
+++ b/bsp/coreip-e20-rtl/metal.h
@@ -18,6 +18,7 @@
#define METAL_MAX_CLINT_INTERRUPTS 0
+#define __METAL_PLIC_SUBINTERRUPTS 0
#define METAL_MAX_PLIC_INTERRUPTS 0
#define __METAL_INTERRUPT_CONTROLLER_2000000_INTERRUPTS 3
diff --git a/bsp/coreip-e21-arty/metal.h b/bsp/coreip-e21-arty/metal.h
index 781a36e..872fde6 100644
--- a/bsp/coreip-e21-arty/metal.h
+++ b/bsp/coreip-e21-arty/metal.h
@@ -18,6 +18,7 @@
#define METAL_MAX_CLINT_INTERRUPTS 0
+#define __METAL_PLIC_SUBINTERRUPTS 0
#define METAL_MAX_PLIC_INTERRUPTS 0
#define __METAL_INTERRUPT_CONTROLLER_2000000_INTERRUPTS 3
diff --git a/bsp/coreip-e21-rtl/metal.h b/bsp/coreip-e21-rtl/metal.h
index 9b664c1..349fdc6 100644
--- a/bsp/coreip-e21-rtl/metal.h
+++ b/bsp/coreip-e21-rtl/metal.h
@@ -18,6 +18,7 @@
#define METAL_MAX_CLINT_INTERRUPTS 0
+#define __METAL_PLIC_SUBINTERRUPTS 0
#define METAL_MAX_PLIC_INTERRUPTS 0
#define __METAL_INTERRUPT_CONTROLLER_2000000_INTERRUPTS 3
diff --git a/bsp/coreip-e24-arty/metal.h b/bsp/coreip-e24-arty/metal.h
index 3aeddeb..47e0f67 100644
--- a/bsp/coreip-e24-arty/metal.h
+++ b/bsp/coreip-e24-arty/metal.h
@@ -18,6 +18,7 @@
#define METAL_MAX_CLINT_INTERRUPTS 0
+#define __METAL_PLIC_SUBINTERRUPTS 0
#define METAL_MAX_PLIC_INTERRUPTS 0
#define __METAL_INTERRUPT_CONTROLLER_2000000_INTERRUPTS 3
diff --git a/bsp/coreip-e24-rtl/metal.h b/bsp/coreip-e24-rtl/metal.h
index e0403b1..8557b14 100644
--- a/bsp/coreip-e24-rtl/metal.h
+++ b/bsp/coreip-e24-rtl/metal.h
@@ -18,6 +18,7 @@
#define METAL_MAX_CLINT_INTERRUPTS 0
+#define __METAL_PLIC_SUBINTERRUPTS 0
#define METAL_MAX_PLIC_INTERRUPTS 0
#define __METAL_INTERRUPT_CONTROLLER_2000000_INTERRUPTS 3
diff --git a/bsp/coreip-e31-arty/metal.h b/bsp/coreip-e31-arty/metal.h
index fd3f82c..fead823 100644
--- a/bsp/coreip-e31-arty/metal.h
+++ b/bsp/coreip-e31-arty/metal.h
@@ -26,6 +26,7 @@
#define METAL_MAX_PLIC_INTERRUPTS 1
+#define __METAL_CLIC_SUBINTERRUPTS 0
#define METAL_MAX_CLIC_INTERRUPTS 0
#define __METAL_LOCAL_EXTERNAL_INTERRUPTS_0_INTERRUPTS 16
diff --git a/bsp/coreip-e31-rtl/metal.h b/bsp/coreip-e31-rtl/metal.h
index dc5d974..39be849 100644
--- a/bsp/coreip-e31-rtl/metal.h
+++ b/bsp/coreip-e31-rtl/metal.h
@@ -26,6 +26,7 @@
#define METAL_MAX_PLIC_INTERRUPTS 1
+#define __METAL_CLIC_SUBINTERRUPTS 0
#define METAL_MAX_CLIC_INTERRUPTS 0
#define __METAL_LOCAL_EXTERNAL_INTERRUPTS_0_INTERRUPTS 16
diff --git a/bsp/coreip-e34-arty/metal.h b/bsp/coreip-e34-arty/metal.h
index 77a8faa..172ea35 100644
--- a/bsp/coreip-e34-arty/metal.h
+++ b/bsp/coreip-e34-arty/metal.h
@@ -26,6 +26,7 @@
#define METAL_MAX_PLIC_INTERRUPTS 1
+#define __METAL_CLIC_SUBINTERRUPTS 0
#define METAL_MAX_CLIC_INTERRUPTS 0
#define __METAL_LOCAL_EXTERNAL_INTERRUPTS_0_INTERRUPTS 16
diff --git a/bsp/coreip-e34-rtl/metal.h b/bsp/coreip-e34-rtl/metal.h
index f089ba7..178d80a 100644
--- a/bsp/coreip-e34-rtl/metal.h
+++ b/bsp/coreip-e34-rtl/metal.h
@@ -26,6 +26,7 @@
#define METAL_MAX_PLIC_INTERRUPTS 1
+#define __METAL_CLIC_SUBINTERRUPTS 0
#define METAL_MAX_CLIC_INTERRUPTS 0
#define __METAL_LOCAL_EXTERNAL_INTERRUPTS_0_INTERRUPTS 16
diff --git a/bsp/coreip-e76-arty/metal.h b/bsp/coreip-e76-arty/metal.h
index da085a6..6365e99 100644
--- a/bsp/coreip-e76-arty/metal.h
+++ b/bsp/coreip-e76-arty/metal.h
@@ -26,6 +26,7 @@
#define METAL_MAX_PLIC_INTERRUPTS 1
+#define __METAL_CLIC_SUBINTERRUPTS 0
#define METAL_MAX_CLIC_INTERRUPTS 0
#define METAL_MAX_LOCAL_EXT_INTERRUPTS 0
diff --git a/bsp/coreip-e76-rtl/metal.h b/bsp/coreip-e76-rtl/metal.h
index 02b883c..31671df 100644
--- a/bsp/coreip-e76-rtl/metal.h
+++ b/bsp/coreip-e76-rtl/metal.h
@@ -26,6 +26,7 @@
#define METAL_MAX_PLIC_INTERRUPTS 1
+#define __METAL_CLIC_SUBINTERRUPTS 0
#define METAL_MAX_CLIC_INTERRUPTS 0
#define METAL_MAX_LOCAL_EXT_INTERRUPTS 0
diff --git a/bsp/coreip-s51-arty/metal.h b/bsp/coreip-s51-arty/metal.h
index 1080f48..0dd45af 100644
--- a/bsp/coreip-s51-arty/metal.h
+++ b/bsp/coreip-s51-arty/metal.h
@@ -26,6 +26,7 @@
#define METAL_MAX_PLIC_INTERRUPTS 1
+#define __METAL_CLIC_SUBINTERRUPTS 0
#define METAL_MAX_CLIC_INTERRUPTS 0
#define __METAL_LOCAL_EXTERNAL_INTERRUPTS_0_INTERRUPTS 16
diff --git a/bsp/coreip-s51-rtl/metal.h b/bsp/coreip-s51-rtl/metal.h
index 6905a9d..b815b67 100644
--- a/bsp/coreip-s51-rtl/metal.h
+++ b/bsp/coreip-s51-rtl/metal.h
@@ -26,6 +26,7 @@
#define METAL_MAX_PLIC_INTERRUPTS 1
+#define __METAL_CLIC_SUBINTERRUPTS 0
#define METAL_MAX_CLIC_INTERRUPTS 0
#define __METAL_LOCAL_EXTERNAL_INTERRUPTS_0_INTERRUPTS 16
diff --git a/bsp/coreip-s54-arty/metal.h b/bsp/coreip-s54-arty/metal.h
index 55f2a7a..d4ac5cb 100644
--- a/bsp/coreip-s54-arty/metal.h
+++ b/bsp/coreip-s54-arty/metal.h
@@ -26,6 +26,7 @@
#define METAL_MAX_PLIC_INTERRUPTS 1
+#define __METAL_CLIC_SUBINTERRUPTS 0
#define METAL_MAX_CLIC_INTERRUPTS 0
#define __METAL_LOCAL_EXTERNAL_INTERRUPTS_0_INTERRUPTS 16
diff --git a/bsp/coreip-s54-rtl/metal.h b/bsp/coreip-s54-rtl/metal.h
index 4ff8a06..360c3d2 100644
--- a/bsp/coreip-s54-rtl/metal.h
+++ b/bsp/coreip-s54-rtl/metal.h
@@ -26,6 +26,7 @@
#define METAL_MAX_PLIC_INTERRUPTS 1
+#define __METAL_CLIC_SUBINTERRUPTS 0
#define METAL_MAX_CLIC_INTERRUPTS 0
#define __METAL_LOCAL_EXTERNAL_INTERRUPTS_0_INTERRUPTS 16
diff --git a/bsp/coreip-s76-arty/metal.h b/bsp/coreip-s76-arty/metal.h
index 95c5fa5..752d7a3 100644
--- a/bsp/coreip-s76-arty/metal.h
+++ b/bsp/coreip-s76-arty/metal.h
@@ -26,6 +26,7 @@
#define METAL_MAX_PLIC_INTERRUPTS 1
+#define __METAL_CLIC_SUBINTERRUPTS 0
#define METAL_MAX_CLIC_INTERRUPTS 0
#define METAL_MAX_LOCAL_EXT_INTERRUPTS 0
diff --git a/bsp/coreip-s76-rtl/metal.h b/bsp/coreip-s76-rtl/metal.h
index a593efb..8b8acbc 100644
--- a/bsp/coreip-s76-rtl/metal.h
+++ b/bsp/coreip-s76-rtl/metal.h
@@ -26,6 +26,7 @@
#define METAL_MAX_PLIC_INTERRUPTS 1
+#define __METAL_CLIC_SUBINTERRUPTS 0
#define METAL_MAX_CLIC_INTERRUPTS 0
#define METAL_MAX_LOCAL_EXT_INTERRUPTS 0
diff --git a/bsp/freedom-e310-arty/metal.h b/bsp/freedom-e310-arty/metal.h
index ddc92a4..2eb644c 100644
--- a/bsp/freedom-e310-arty/metal.h
+++ b/bsp/freedom-e310-arty/metal.h
@@ -26,6 +26,7 @@
#define METAL_MAX_PLIC_INTERRUPTS 1
+#define __METAL_CLIC_SUBINTERRUPTS 0
#define METAL_MAX_CLIC_INTERRUPTS 0
#define __METAL_LOCAL_EXTERNAL_INTERRUPTS_0_INTERRUPTS 16
diff --git a/bsp/sifive-hifive1-revb/metal.h b/bsp/sifive-hifive1-revb/metal.h
index da972aa..83ac0e1 100644
--- a/bsp/sifive-hifive1-revb/metal.h
+++ b/bsp/sifive-hifive1-revb/metal.h
@@ -26,6 +26,7 @@
#define METAL_MAX_PLIC_INTERRUPTS 1
+#define __METAL_CLIC_SUBINTERRUPTS 0
#define METAL_MAX_CLIC_INTERRUPTS 0
#define __METAL_LOCAL_EXTERNAL_INTERRUPTS_0_INTERRUPTS 16
diff --git a/bsp/sifive-hifive1/metal.h b/bsp/sifive-hifive1/metal.h
index d173b8e..0b5941f 100644
--- a/bsp/sifive-hifive1/metal.h
+++ b/bsp/sifive-hifive1/metal.h
@@ -26,6 +26,7 @@
#define METAL_MAX_PLIC_INTERRUPTS 1
+#define __METAL_CLIC_SUBINTERRUPTS 0
#define METAL_MAX_CLIC_INTERRUPTS 0
#define __METAL_LOCAL_EXTERNAL_INTERRUPTS_0_INTERRUPTS 16