From 6c529c5c6c2d016d77b143171c5e27fbec0d2bfd Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sun, 12 Jun 2022 13:58:42 +0300 Subject: add license texts --- common/bits.c | 3 +++ common/debug.c | 3 +++ common/dmem.c | 3 +++ common/elf.c | 3 +++ common/fdt.c | 3 +++ common/initrd.c | 3 +++ common/main.c | 3 +++ common/mem.c | 3 +++ common/mem_nodes.c | 3 +++ common/mem_regions.c | 3 +++ common/nodes.c | 3 +++ common/pmem.c | 3 +++ common/proc.c | 3 +++ common/sp_tree.c | 3 +++ common/string.c | 3 +++ common/tcb.c | 3 +++ common/timer.c | 3 +++ common/uapi/conf.c | 3 +++ common/uapi/dispatch.c | 3 +++ common/uapi/ipc.c | 3 +++ common/uapi/mem.c | 3 +++ common/uapi/proc.c | 3 +++ common/uapi/timers.c | 3 +++ common/vmem.c | 3 +++ 24 files changed, 72 insertions(+) (limited to 'common') diff --git a/common/bits.c b/common/bits.c index 92e7be2..2efbe2f 100644 --- a/common/bits.c +++ b/common/bits.c @@ -1,3 +1,6 @@ +/* SPDX-License-Identifier: GPL-3.0-or-later */ +/* Copyright 2021 - 2022, Kim Kuparinen < kimi.h.kuparinen@gmail.com > */ + /** * @file bits.c * Bit manipulation helper implementations, currently just byte swaps. diff --git a/common/debug.c b/common/debug.c index 924c0dd..1012887 100644 --- a/common/debug.c +++ b/common/debug.c @@ -1,3 +1,6 @@ +/* SPDX-License-Identifier: GPL-3.0-or-later */ +/* Copyright 2021 - 2022, Kim Kuparinen < kimi.h.kuparinen@gmail.com > */ + /** * @file debug.c * Handle printing to serial. Note that the serial drivers are only included diff --git a/common/dmem.c b/common/dmem.c index 3a50768..88b06fd 100644 --- a/common/dmem.c +++ b/common/dmem.c @@ -1,3 +1,6 @@ +/* SPDX-License-Identifier: GPL-3.0-or-later */ +/* Copyright 2021 - 2022, Kim Kuparinen < kimi.h.kuparinen@gmail.com > */ + /** * @file dmem.c * Handle device memory, i.e. anything outside the physical RAM. diff --git a/common/elf.c b/common/elf.c index 97f164d..977906f 100644 --- a/common/elf.c +++ b/common/elf.c @@ -1,3 +1,6 @@ +/* SPDX-License-Identifier: GPL-3.0-or-later */ +/* Copyright 2021 - 2022, Kim Kuparinen < kimi.h.kuparinen@gmail.com > */ + /** * @file elf.c * Handle elf executables, set up requested memory mappings etc. diff --git a/common/fdt.c b/common/fdt.c index a6368dd..3fc3010 100644 --- a/common/fdt.c +++ b/common/fdt.c @@ -1,3 +1,6 @@ +/* SPDX-License-Identifier: GPL-3.0-or-later */ +/* Copyright 2021 - 2022, Kim Kuparinen < kimi.h.kuparinen@gmail.com > */ + /** * @file fdt.c * Helper functions for handling the global FDT. diff --git a/common/initrd.c b/common/initrd.c index 2a254f1..835ccf1 100644 --- a/common/initrd.c +++ b/common/initrd.c @@ -1,3 +1,6 @@ +/* SPDX-License-Identifier: GPL-3.0-or-later */ +/* Copyright 2021 - 2022, Kim Kuparinen < kimi.h.kuparinen@gmail.com > */ + /** * @file initrd.c * Handle initrd, implement cpio with newc format. diff --git a/common/main.c b/common/main.c index a608266..fa5434c 100644 --- a/common/main.c +++ b/common/main.c @@ -1,3 +1,6 @@ +/* SPDX-License-Identifier: GPL-3.0-or-later */ +/* Copyright 2021 - 2022, Kim Kuparinen < kimi.h.kuparinen@gmail.com > */ + /** * @file main.c * Entry point for actual kernel setup. diff --git a/common/mem.c b/common/mem.c index 51a51af..1f893d4 100644 --- a/common/mem.c +++ b/common/mem.c @@ -1,3 +1,6 @@ +/* SPDX-License-Identifier: GPL-3.0-or-later */ +/* Copyright 2021 - 2022, Kim Kuparinen < kimi.h.kuparinen@gmail.com > */ + /** * @file mem.c * Generic memory handling, used both by physical and virtual memory. diff --git a/common/mem_nodes.c b/common/mem_nodes.c index 927634b..ffa089f 100644 --- a/common/mem_nodes.c +++ b/common/mem_nodes.c @@ -1,3 +1,6 @@ +/* SPDX-License-Identifier: GPL-3.0-or-later */ +/* Copyright 2021 - 2022, Kim Kuparinen < kimi.h.kuparinen@gmail.com > */ + /** * @file mem_nodes.c * Memory node wrapper around the node subsystem, used by \ref diff --git a/common/mem_regions.c b/common/mem_regions.c index 11a167b..3729caf 100644 --- a/common/mem_regions.c +++ b/common/mem_regions.c @@ -1,3 +1,6 @@ +/* SPDX-License-Identifier: GPL-3.0-or-later */ +/* Copyright 2021 - 2022, Kim Kuparinen < kimi.h.kuparinen@gmail.com > */ + /** * @file mem_regions.c * Memory region handling, used by both device memory and user virtual memory diff --git a/common/nodes.c b/common/nodes.c index c54bbe8..ce33547 100644 --- a/common/nodes.c +++ b/common/nodes.c @@ -1,3 +1,6 @@ +/* SPDX-License-Identifier: GPL-3.0-or-later */ +/* Copyright 2021 - 2022, Kim Kuparinen < kimi.h.kuparinen@gmail.com > */ + /** * @file nodes.c * The node subsystem. Each client has to initialize their own node system, diff --git a/common/pmem.c b/common/pmem.c index fdde12a..2b2fb00 100644 --- a/common/pmem.c +++ b/common/pmem.c @@ -1,3 +1,6 @@ +/* SPDX-License-Identifier: GPL-3.0-or-later */ +/* Copyright 2021 - 2022, Kim Kuparinen < kimi.h.kuparinen@gmail.com > */ + /** * @file pmem.c * Physical memory subsystem. Allocates physical memory pages, with support for diff --git a/common/proc.c b/common/proc.c index 6de22c1..b2caa54 100644 --- a/common/proc.c +++ b/common/proc.c @@ -1,3 +1,6 @@ +/* SPDX-License-Identifier: GPL-3.0-or-later */ +/* Copyright 2021 - 2022, Kim Kuparinen < kimi.h.kuparinen@gmail.com > */ + /** * @file proc.c * Process handling, might be merged into \ref common/tcb.c. diff --git a/common/sp_tree.c b/common/sp_tree.c index da2785b..dbd0e8b 100644 --- a/common/sp_tree.c +++ b/common/sp_tree.c @@ -1,3 +1,6 @@ +/* SPDX-License-Identifier: GPL-3.0-or-later */ +/* Copyright 2021 - 2022, Kim Kuparinen < kimi.h.kuparinen@gmail.com > */ + /** * @file sp_tree.c * Implementation of my sp_trees. An sp_tree is a mix of rb-trees and avl-trees, diff --git a/common/string.c b/common/string.c index 156f7f8..c005c9f 100644 --- a/common/string.c +++ b/common/string.c @@ -1,3 +1,6 @@ +/* SPDX-License-Identifier: GPL-3.0-or-later */ +/* Copyright 2021 - 2022, Kim Kuparinen < kimi.h.kuparinen@gmail.com > */ + /** * @file string.c * Implementations of some string.h stdlib functions. diff --git a/common/tcb.c b/common/tcb.c index a31ac87..c8260ff 100644 --- a/common/tcb.c +++ b/common/tcb.c @@ -1,3 +1,6 @@ +/* SPDX-License-Identifier: GPL-3.0-or-later */ +/* Copyright 2021 - 2022, Kim Kuparinen < kimi.h.kuparinen@gmail.com > */ + /** * @file tcb.c * Thread control block handling implementation. diff --git a/common/timer.c b/common/timer.c index f008851..aaaf62e 100644 --- a/common/timer.c +++ b/common/timer.c @@ -1,3 +1,6 @@ +/* SPDX-License-Identifier: GPL-3.0-or-later */ +/* Copyright 2021 - 2022, Kim Kuparinen < kimi.h.kuparinen@gmail.com > */ + /** * @file timer.c * Timer handling implementation. Currently we only expect an architecture to diff --git a/common/uapi/conf.c b/common/uapi/conf.c index 26eb9cc..47a7a0f 100644 --- a/common/uapi/conf.c +++ b/common/uapi/conf.c @@ -1,3 +1,6 @@ +/* SPDX-License-Identifier: GPL-3.0-or-later */ +/* Copyright 2021 - 2022, Kim Kuparinen < kimi.h.kuparinen@gmail.com > */ + /** * @file conf.c * Runtime configuration sycall implementations. diff --git a/common/uapi/dispatch.c b/common/uapi/dispatch.c index 848fc3f..52cf8d9 100644 --- a/common/uapi/dispatch.c +++ b/common/uapi/dispatch.c @@ -1,3 +1,6 @@ +/* SPDX-License-Identifier: GPL-3.0-or-later */ +/* Copyright 2021 - 2022, Kim Kuparinen < kimi.h.kuparinen@gmail.com > */ + /** * @file dispatch.c * Syscall dispatch. diff --git a/common/uapi/ipc.c b/common/uapi/ipc.c index c163c93..8584673 100644 --- a/common/uapi/ipc.c +++ b/common/uapi/ipc.c @@ -1,3 +1,6 @@ +/* SPDX-License-Identifier: GPL-3.0-or-later */ +/* Copyright 2021 - 2022, Kim Kuparinen < kimi.h.kuparinen@gmail.com > */ + /** * @file ipc.c * Interprocess communication syscall implementations. diff --git a/common/uapi/mem.c b/common/uapi/mem.c index 45480a9..374e722 100644 --- a/common/uapi/mem.c +++ b/common/uapi/mem.c @@ -1,3 +1,6 @@ +/* SPDX-License-Identifier: GPL-3.0-or-later */ +/* Copyright 2021 - 2022, Kim Kuparinen < kimi.h.kuparinen@gmail.com > */ + /** * @file mem.c * Memory handling syscall implementations. diff --git a/common/uapi/proc.c b/common/uapi/proc.c index b2fc4f0..79d243f 100644 --- a/common/uapi/proc.c +++ b/common/uapi/proc.c @@ -1,3 +1,6 @@ +/* SPDX-License-Identifier: GPL-3.0-or-later */ +/* Copyright 2021 - 2022, Kim Kuparinen < kimi.h.kuparinen@gmail.com > */ + /** * @file proc.c * Process/thread handling syscall implementations. diff --git a/common/uapi/timers.c b/common/uapi/timers.c index 27928a3..bc3ef59 100644 --- a/common/uapi/timers.c +++ b/common/uapi/timers.c @@ -1,3 +1,6 @@ +/* SPDX-License-Identifier: GPL-3.0-or-later */ +/* Copyright 2021 - 2022, Kim Kuparinen < kimi.h.kuparinen@gmail.com > */ + /** * @file timers.c * Timer syscall implementations. diff --git a/common/vmem.c b/common/vmem.c index 9761e3e..eb88552 100644 --- a/common/vmem.c +++ b/common/vmem.c @@ -1,3 +1,6 @@ +/* SPDX-License-Identifier: GPL-3.0-or-later */ +/* Copyright 2021 - 2022, Kim Kuparinen < kimi.h.kuparinen@gmail.com > */ + /** * @file vmem.c * Virtual memory handling, mainly userspace virtual memory. -- cgit v1.3