summaryrefslogtreecommitdiff
path: root/kc/core/cpu/arch_thread.h
blob: 2b8d0fbaf1a4f34f195aabc6f2890afd7f8e5a8e (plain)
1
2
3
4
5
6
7
8
9
10
11
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);