From 0d881bc974b74dff75c00a3cab5d535cbb2ace46 Mon Sep 17 00:00:00 2001 From: johannst Date: Fri, 26 Feb 2021 23:19:03 +0100 Subject: added implementation for armv7a --- lib/arch/arm/api.h | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 lib/arch/arm/api.h (limited to 'lib/arch/arm/api.h') diff --git a/lib/arch/arm/api.h b/lib/arch/arm/api.h new file mode 100644 index 0000000..c7a688d --- /dev/null +++ b/lib/arch/arm/api.h @@ -0,0 +1,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); -- cgit v1.2.3