aboutsummaryrefslogtreecommitdiff
path: root/src/components/cpu/riscv/simple_riscv32.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/cpu/riscv/simple_riscv32.c')
-rw-r--r--src/components/cpu/riscv/simple_riscv32.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/components/cpu/riscv/simple_riscv32.c b/src/components/cpu/riscv/simple_riscv32.c
index 1f19b1f..63eba4d 100644
--- a/src/components/cpu/riscv/simple_riscv32.c
+++ b/src/components/cpu/riscv/simple_riscv32.c
@@ -1,3 +1,6 @@
+/* SPDX-License-Identifier: copyleft-next-0.3.1 */
+/* Copyright 2023 Kim Kuparinen < kimi.h.kuparinen@gmail.com > */
+
#include <gran/cpu/riscv/simple_riscv32.h>
struct simple_riscv32 {
@@ -43,7 +46,9 @@ static stat simple_riscv32_clock(struct simple_riscv32 *cpu)
return OK;
}
-struct componen *create_simple_riscv32(uint32_t start_pc, struct component *imem, struct component *dmem)
+struct componen *create_simple_riscv32(uint32_t start_pc,
+ struct component *imem,
+ struct component *dmem)
{
struct component *new = calloc(1, sizeof(simple_riscv32));
if (!new)