summaryrefslogtreecommitdiff
path: root/src/kernel/proc
diff options
context:
space:
mode:
authorRichard Qin <richard.qin.x@gmail.com>2026-01-05 01:31:55 +0800
committerRichard Qin <richard.qin.x@gmail.com>2026-01-05 01:31:55 +0800
commit51a788fa9e13ead0c504a1369797f8b49d73634c (patch)
tree90ee229c00a9ba71e60833ca0c8e9ca229cb0aae /src/kernel/proc
parent92ca8063f354d515e500b7cf99fb9cdca98c39d3 (diff)
downloadlume-51a788fa9e13ead0c504a1369797f8b49d73634c.tar.gz
lume-51a788fa9e13ead0c504a1369797f8b49d73634c.tar.xz
Important: License changed from MIT to GPL.
Rewrote the README based on the actual project.
Diffstat (limited to 'src/kernel/proc')
-rw-r--r--src/kernel/proc/exec.cc4
-rw-r--r--src/kernel/proc/proc.cc4
-rw-r--r--src/kernel/proc/swtch.S3
3 files changed, 11 insertions, 0 deletions
diff --git a/src/kernel/proc/exec.cc b/src/kernel/proc/exec.cc
index 22e4842..e5294d9 100644
--- a/src/kernel/proc/exec.cc
+++ b/src/kernel/proc/exec.cc
@@ -1,3 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/*
+ * Copyright (C) 2026 Richard QIn
+ */
#include "common/types.h"
#include "kernel/riscv.h"
#include "kernel/proc.h"
diff --git a/src/kernel/proc/proc.cc b/src/kernel/proc/proc.cc
index 6940a3e..3923fe8 100644
--- a/src/kernel/proc/proc.cc
+++ b/src/kernel/proc/proc.cc
@@ -1,3 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/*
+ * Copyright (C) 2026 Richard QIn
+ */
#include "kernel/proc.h"
#include "kernel/proc_def.h"
#include "kernel/runqueue.h"
diff --git a/src/kernel/proc/swtch.S b/src/kernel/proc/swtch.S
index f59de20..d55c03e 100644
--- a/src/kernel/proc/swtch.S
+++ b/src/kernel/proc/swtch.S
@@ -1,3 +1,6 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2026 Richard Qin
+
.global swtch
swtch: