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

                                        

            
                                                                     
                                                                   
/* Copyright (c) 2020 Johannes Stoelp */

#pragma once

extern "C" void yield(const void* new_stack, void* const* old_stack);
void* init_stack(void* stack_ptr, void (*entry)(void*), void* ctx);