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





                                                                         
/* Copyright (c) 2021 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);