aboutsummaryrefslogtreecommitdiff
path: root/triscv
diff options
context:
space:
mode:
Diffstat (limited to 'triscv')
-rw-r--r--triscv/include/triscv/common.h2
-rw-r--r--triscv/include/triscv/cpu.h2
-rw-r--r--triscv/include/triscv/csr.h2
-rw-r--r--triscv/include/triscv/mem.h2
-rw-r--r--triscv/include/triscv/mmu.h2
-rw-r--r--triscv/include/triscv/tmb.h2
-rw-r--r--triscv/include/triscv/uart.h2
-rw-r--r--triscv/src/common.c2
-rw-r--r--triscv/src/cpu.c2
-rw-r--r--triscv/src/main.c2
-rw-r--r--triscv/src/mem.c2
-rw-r--r--triscv/src/mmu.c2
-rw-r--r--triscv/src/tmb.c2
-rw-r--r--triscv/src/uart.c2
14 files changed, 28 insertions, 0 deletions
diff --git a/triscv/include/triscv/common.h b/triscv/include/triscv/common.h
index 4f23edc..2f6e69e 100644
--- a/triscv/include/triscv/common.h
+++ b/triscv/include/triscv/common.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: copyleft-next-0.3.1 */
+
#ifndef TRISCV_COMMON_H
#define TRISCV_COMMON_H
diff --git a/triscv/include/triscv/cpu.h b/triscv/include/triscv/cpu.h
index aedd1df..f99d941 100644
--- a/triscv/include/triscv/cpu.h
+++ b/triscv/include/triscv/cpu.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: copyleft-next-0.3.1 */
+
#ifndef TRISCV_CPU_H
#define TRISCV_CPU_H
diff --git a/triscv/include/triscv/csr.h b/triscv/include/triscv/csr.h
index 80c7de4..05b59ab 100644
--- a/triscv/include/triscv/csr.h
+++ b/triscv/include/triscv/csr.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: copyleft-next-0.3.1 */
+
#ifndef TRISCV_CSR_H
#define TRISCV_CSR_H
diff --git a/triscv/include/triscv/mem.h b/triscv/include/triscv/mem.h
index 81b5d11..fb88e1b 100644
--- a/triscv/include/triscv/mem.h
+++ b/triscv/include/triscv/mem.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: copyleft-next-0.3.1 */
+
#ifndef TRISCV_MEM_H
#define TRISCV_MEM_H
diff --git a/triscv/include/triscv/mmu.h b/triscv/include/triscv/mmu.h
index 100d9ac..cb75225 100644
--- a/triscv/include/triscv/mmu.h
+++ b/triscv/include/triscv/mmu.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: copyleft-next-0.3.1 */
+
#ifndef TRISCV_MMU_H
#define TRISCV_MMU_H
diff --git a/triscv/include/triscv/tmb.h b/triscv/include/triscv/tmb.h
index 0c8a5b6..b7010cb 100644
--- a/triscv/include/triscv/tmb.h
+++ b/triscv/include/triscv/tmb.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: copyleft-next-0.3.1 */
+
#ifndef TRISCV_TMB_H
#define TRISCV_TMB_H
diff --git a/triscv/include/triscv/uart.h b/triscv/include/triscv/uart.h
index 531da1d..293825a 100644
--- a/triscv/include/triscv/uart.h
+++ b/triscv/include/triscv/uart.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: copyleft-next-0.3.1 */
+
#ifndef TRISCV_UART_H
#define TRISCV_UART_H
diff --git a/triscv/src/common.c b/triscv/src/common.c
index e73d76e..f8bdbf6 100644
--- a/triscv/src/common.c
+++ b/triscv/src/common.c
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: copyleft-next-0.3.1 */
+
#include <triscv/common.h>
static const char *err_strs[] = {
diff --git a/triscv/src/cpu.c b/triscv/src/cpu.c
index 59ba238..565d4ca 100644
--- a/triscv/src/cpu.c
+++ b/triscv/src/cpu.c
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: copyleft-next-0.3.1 */
+
#include <triscv/cpu.h>
#include <triscv/mmu.h>
#include <triscv/csr.h>
diff --git a/triscv/src/main.c b/triscv/src/main.c
index 2d23af7..72065dc 100644
--- a/triscv/src/main.c
+++ b/triscv/src/main.c
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: copyleft-next-0.3.1 */
+
#include <limits.h>
#include <stdlib.h>
#include <unistd.h>
diff --git a/triscv/src/mem.c b/triscv/src/mem.c
index 9c77e95..9ce2a68 100644
--- a/triscv/src/mem.c
+++ b/triscv/src/mem.c
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: copyleft-next-0.3.1 */
+
#include <triscv/mem.h>
#include <string.h>
diff --git a/triscv/src/mmu.c b/triscv/src/mmu.c
index 1b35961..000e16c 100644
--- a/triscv/src/mmu.c
+++ b/triscv/src/mmu.c
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: copyleft-next-0.3.1 */
+
#include <triscv/mmu.h>
#include <triscv/csr.h>
diff --git a/triscv/src/tmb.c b/triscv/src/tmb.c
index 3f6c037..950c9bf 100644
--- a/triscv/src/tmb.c
+++ b/triscv/src/tmb.c
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: copyleft-next-0.3.1 */
+
#include <triscv/tmb.h>
struct map {
diff --git a/triscv/src/uart.c b/triscv/src/uart.c
index aa4b0bd..abb2fe5 100644
--- a/triscv/src/uart.c
+++ b/triscv/src/uart.c
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: copyleft-next-0.3.1 */
+
#include <triscv/uart.h>
#include <utf9.h>