aboutsummaryrefslogtreecommitdiff
path: root/lib/arch/x86_64
diff options
context:
space:
mode:
authorjohannst <johannes.stoelp@gmail.com>2021-02-28 20:20:12 +0100
committerjohannst <johannes.stoelp@gmail.com>2021-02-28 20:20:12 +0100
commit6e182c588ec06f0db626a5ee7247b9b1688b10b6 (patch)
tree2c2d5e7dd92abe4ff1722996f3da561ba3ef3447 /lib/arch/x86_64
parent9ba2177d93e3aab498598cb7058bdb64798a2f29 (diff)
downloadmatcha-threads-6e182c588ec06f0db626a5ee7247b9b1688b10b6.tar.gz
matcha-threads-6e182c588ec06f0db626a5ee7247b9b1688b10b6.zip
pull out api.h into arch and add documentation
Diffstat (limited to 'lib/arch/x86_64')
-rw-r--r--lib/arch/x86_64/api.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/arch/x86_64/api.h b/lib/arch/x86_64/api.h
deleted file mode 100644
index 729bd1a..0000000
--- a/lib/arch/x86_64/api.h
+++ /dev/null
@@ -1,6 +0,0 @@
-/* Copyright (c) 2020 Johannes Stoelp */
-
-#pragma once
-
-extern "C" void yield(const void* new_stack, void** old_stack);
-void* init_stack(void* stack_ptr, void (*entry)(void*), const void* ctx);