sbcl.sbcl/src/runtime/arm64-android-os.h
Gleefre 562a1a329a Add android build system (crosscompiling with NDK)
Uses NDK as C crosscompiler and ADB to run code on the target device.
Uses both :linux and :android features (android is almost a linux).

It also reserves a folder android-libs/ for putting precompiled
libraries to link agains (for example zstd for core compression).

See doc/internals-notes/Android-build.txt for more details
2023-04-21 15:08:19 -04:00

16 lines
394 B
C

#ifndef _ARM64_LINUX_OS_H
#define _ARM64_LINUX_OS_H
typedef ucontext_t os_context_t;
typedef long os_context_register_t;
#include "arch-os-generic.inc"
unsigned long os_context_fp_control(os_context_t *context);
#define RESTORE_FP_CONTROL_FROM_CONTEXT
void os_restore_fp_control(os_context_t *context);
#define OS_CONTEXT_PC(context) context->uc_mcontext.pc
#endif /* _ARM64_LINUX_OS_H */