Merge "Add missing ucontext_t definition to bionic for arch-arm64."

This commit is contained in:
Elliott Hughes 2014-01-31 18:51:35 +00:00 committed by Gerrit Code Review
commit 47ff6b9faa

View File

@ -74,9 +74,20 @@ typedef struct ucontext {
/* TODO: uc_regspace */ /* TODO: uc_regspace */
} ucontext_t; } 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__) #elif defined(__i386__)