aboutsummaryrefslogtreecommitdiff
path: root/lib/arch/x86_64/asm.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/arch/x86_64/asm.h')
-rw-r--r--lib/arch/x86_64/asm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/arch/x86_64/asm.h b/lib/arch/x86_64/asm.h
new file mode 100644
index 0000000..962ff1b
--- /dev/null
+++ b/lib/arch/x86_64/asm.h
@@ -0,0 +1,4 @@
+/* Copyright (c) 2020 Johannes Stoelp */
+
+extern "C" void thread_create();
+extern "C" void yield(const void* new_stack, void* const* old_stack);