From 533a9e57de8cb74594499f625810ad812359d3fb Mon Sep 17 00:00:00 2001 From: johannst Date: Tue, 29 Sep 2020 04:31:51 +0200 Subject: added basic arm64 support --- lib/arch/arm64/api.h | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 lib/arch/arm64/api.h (limited to 'lib/arch/arm64/api.h') diff --git a/lib/arch/arm64/api.h b/lib/arch/arm64/api.h new file mode 100644 index 0000000..b2babc9 --- /dev/null +++ b/lib/arch/arm64/api.h @@ -0,0 +1,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); -- cgit v1.2.3