summaryrefslogtreecommitdiff
path: root/kc/core/cpu/arch_thread.h
diff options
context:
space:
mode:
authorAda Christine <adachristine18@gmail.com>2026-05-24 11:37:59 +0000
committerAda Christine <adachristine18@gmail.com>2026-05-24 11:37:59 +0000
commitc55c201952cdeb9285e519869f0c0939c3a5be9c (patch)
treef795c1c203bc7068b3ad4aa49e2a7370e210708b /kc/core/cpu/arch_thread.h
parentd07bd08dd0446e8c41eccaccbb07e9112200e8ee (diff)
arch file to cpu
Diffstat (limited to 'kc/core/cpu/arch_thread.h')
-rw-r--r--kc/core/cpu/arch_thread.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/kc/core/cpu/arch_thread.h b/kc/core/cpu/arch_thread.h
new file mode 100644
index 0000000..2b8d0fb
--- /dev/null
+++ b/kc/core/cpu/arch_thread.h
@@ -0,0 +1,12 @@
+#pragma once
+
+void * arch_idle_loop(void *);
+
+void arch_create_thread(
+ struct kc_thread *thread,
+ void *(kc_thread_func)(void *),
+ void *params);
+
+void arch_swap_thread(
+ struct kc_thread *outgoing,
+ struct kc_thread *incoming);