diff options
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/bus/simple_bus.c | 3 | ||||
| -rw-r--r-- | src/components/cpu/riscv/simple_riscv32.c | 7 | ||||
| -rw-r--r-- | src/components/mem/simple_mem.c | 3 |
3 files changed, 12 insertions, 1 deletions
diff --git a/src/components/bus/simple_bus.c b/src/components/bus/simple_bus.c index 58e4132..3629ecd 100644 --- a/src/components/bus/simple_bus.c +++ b/src/components/bus/simple_bus.c @@ -1,3 +1,6 @@ +/* SPDX-License-Identifier: copyleft-next-0.3.1 */ +/* Copyright 2023 Kim Kuparinen < kimi.h.kuparinen@gmail.com > */ + #include <threads.h> #include <inttypes.h> #include <stdlib.h> 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) diff --git a/src/components/mem/simple_mem.c b/src/components/mem/simple_mem.c index 52606e2..db2632a 100644 --- a/src/components/mem/simple_mem.c +++ b/src/components/mem/simple_mem.c @@ -1,3 +1,6 @@ +/* SPDX-License-Identifier: copyleft-next-0.3.1 */ +/* Copyright 2023 Kim Kuparinen < kimi.h.kuparinen@gmail.com > */ + #include <string.h> #include <stdlib.h> |
