aboutsummaryrefslogtreecommitdiff
path: root/include/arch
diff options
context:
space:
mode:
Diffstat (limited to 'include/arch')
-rw-r--r--include/arch/proc.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/arch/proc.h b/include/arch/proc.h
index d01674d..a64f978 100644
--- a/include/arch/proc.h
+++ b/include/arch/proc.h
@@ -66,7 +66,18 @@ void save_regs(struct tcb *t, void *p);
*/
void load_regs(void *p, struct tcb *t);
+/**
+ * Do modifications to \ref tcb state if necessary for ipis to work.
+ *
+ * @param t Thread to do modifications to.
+ */
void adjust_ipi(struct tcb *t);
+
+/**
+ * Do modifications to \ref tcb state if necessary for syscalls to work.
+ *
+ * @param t Thread to do modifications to.
+ */
void adjust_syscall(struct tcb *t);
/**