Add missing ucontext_t definition to bionic for arch-arm64.

Change-Id: I1ee15230c63e00f01d2063cfffcffe7f1a1eeb6a
This commit is contained in:
Ross McIlroy 2014-01-31 04:45:53 +00:00
parent 07f8402552
commit 7b95807fa0

View File

@ -74,9 +74,20 @@ typedef struct ucontext {
/* TODO: uc_regspace */
} ucontext_t;
#elif defined(__arm64__)
#elif defined(__aarch64__)
#error TODO
/* TODO: gregset_t and fpregset_t. */
#include <asm/sigcontext.h>
typedef struct sigcontext mcontext_t;
typedef struct ucontext {
unsigned long uc_flags;
struct ucontext *uc_link;
stack_t uc_stack;
sigset_t uc_sigmask;
mcontext_t uc_mcontext;
} ucontext_t;
#elif defined(__i386__)