aboutsummaryrefslogtreecommitdiff
path: root/include/arch
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2022-10-21 21:34:18 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2022-10-21 21:34:18 +0300
commitdd7c04a39bd88da8e381bb88078c41b049a6665c (patch)
treef5210700cc1789547ae55926c7f9aaa753fbb791 /include/arch
parentec989bbe7d9bb7a844eeddeceaeb7bb7e4d5dab6 (diff)
downloadkmi-dd7c04a39bd88da8e381bb88078c41b049a6665c.tar.gz
kmi-dd7c04a39bd88da8e381bb88078c41b049a6665c.zip
beautification
Diffstat (limited to 'include/arch')
-rw-r--r--include/arch/cpu.h1
-rw-r--r--include/arch/proc.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/include/arch/cpu.h b/include/arch/cpu.h
index 3156076..ddea2ac 100644
--- a/include/arch/cpu.h
+++ b/include/arch/cpu.h
@@ -30,6 +30,7 @@ id_t cpu_id();
/**
* Assign tcb to current cpu.
+ * Essentially sets t->cpu_id to the cpu id, plus whatever the arch needs.
*
* @param t \ref tcb to assign to current cpu.
*/
diff --git a/include/arch/proc.h b/include/arch/proc.h
index 5ea0f0f..5047eab 100644
--- a/include/arch/proc.h
+++ b/include/arch/proc.h
@@ -25,7 +25,7 @@
*/
void set_args(struct tcb *t, struct sys_ret a);
-/**
+/**
* Get argument data attached to thread.
* To some extent a hack, used by swap.
*