From dd7c04a39bd88da8e381bb88078c41b049a6665c Mon Sep 17 00:00:00 2001 From: Kimplul Date: Fri, 21 Oct 2022 21:34:18 +0300 Subject: beautification --- include/arch/cpu.h | 1 + include/arch/proc.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'include/arch') 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. * -- cgit v1.3