diff options
author | johannst <johannes.stoelp@gmail.com> | 2021-02-28 20:20:12 +0100 |
---|---|---|
committer | johannst <johannes.stoelp@gmail.com> | 2021-02-28 20:20:12 +0100 |
commit | 6e182c588ec06f0db626a5ee7247b9b1688b10b6 (patch) | |
tree | 2c2d5e7dd92abe4ff1722996f3da561ba3ef3447 /lib/arch/x86_64/api.h | |
parent | 9ba2177d93e3aab498598cb7058bdb64798a2f29 (diff) | |
download | matcha-threads-6e182c588ec06f0db626a5ee7247b9b1688b10b6.tar.gz matcha-threads-6e182c588ec06f0db626a5ee7247b9b1688b10b6.zip |
pull out api.h into arch and add documentation
Diffstat (limited to 'lib/arch/x86_64/api.h')
-rw-r--r-- | lib/arch/x86_64/api.h | 6 |
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); |