aboutsummaryrefslogblamecommitdiff
path: root/lib/arch/x86_64/api.h
blob: 729bd1afac4ccc6e039b31c5b32c47a1e013ea05 (plain) (tree)
1
2
3
4
5
6

                                        

            

                                                                         
/* 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);