OSDN Git Service
(root)
/
android-x86
/
bionic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07f8402
)
Add missing ucontext_t definition to bionic for arch-arm64.
author
Ross McIlroy
<rmcilroy@google.com>
Fri, 31 Jan 2014 04:45:53 +0000
(
04:45
+0000)
committer
Ross McIlroy
<rmcilroy@google.com>
Fri, 31 Jan 2014 04:45:53 +0000
(
04:45
+0000)
Change-Id: I1ee15230c63e00f01d2063cfffcffe7f1a1eeb6a
libc/include/sys/ucontext.h
patch
|
blob
|
history
diff --git
a/libc/include/sys/ucontext.h
b/libc/include/sys/ucontext.h
index
c65e2b6
..
94b7a68
100644
(file)
--- a/
libc/include/sys/ucontext.h
+++ b/
libc/include/sys/ucontext.h
@@
-74,9
+74,20
@@
typedef struct ucontext {
/* TODO: uc_regspace */
} ucontext_t;
-#elif defined(__a
rm
64__)
+#elif defined(__a
arch
64__)
-#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__)