aboutsummaryrefslogtreecommitdiff
path: root/include/arch/proc.h
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2022-11-09 17:40:08 +0200
committerKimplul <kimi.h.kuparinen@gmail.com>2022-11-09 17:40:08 +0200
commit11f41d3dea0b959aea747546dc7b6beb655bec2a (patch)
tree5cf93b24473ec18f5d068e7b7ca8470dd9971ea6 /include/arch/proc.h
parenta3e45d5dcaf1bf3a9e684b5fcc301413ec994a9b (diff)
downloadkmi-11f41d3dea0b959aea747546dc7b6beb655bec2a.tar.gz
kmi-11f41d3dea0b959aea747546dc7b6beb655bec2a.zip
update docs
Diffstat (limited to 'include/arch/proc.h')
-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);
/**