aboutsummaryrefslogtreecommitdiff
path: root/include/apos/tcb.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/apos/tcb.h')
-rw-r--r--include/apos/tcb.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/apos/tcb.h b/include/apos/tcb.h
index a31e308..b92cd10 100644
--- a/include/apos/tcb.h
+++ b/include/apos/tcb.h
@@ -268,11 +268,18 @@ struct tcb *cur_tcb();
/**
* Get currently executing process.
*
- * @return Current process \ref tcb.
+ * @return Effective process \ref tcb.
*/
struct tcb *cur_proc();
/**
+ * Get currently executing process.
+ *
+ * @return Effective process \ref tcb.
+ */
+struct tcb *eff_proc();
+
+/**
* Set \c t as current \ref tcb.
*
* Also updates the current cpu id of the tcb.