diff options
| author | Elliott Hughes <enh@google.com> | 2014-09-19 18:01:22 +0000 |
|---|---|---|
| committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-09-19 18:01:23 +0000 |
| commit | adc01348ee51a4ad678b1c277f85cbbed5c2e728 (patch) | |
| tree | 553a3a5760a44b431829efbc48c16b6ea696ea38 /libc | |
| parent | 13d6023aac62091a7d1df1c1afa1e228515832cb (diff) | |
| parent | 8e4d371091e5738346f5c6ad395b8487c2a5ec67 (diff) | |
| download | bionic-adc01348ee51a4ad678b1c277f85cbbed5c2e728.zip bionic-adc01348ee51a4ad678b1c277f85cbbed5c2e728.tar.gz bionic-adc01348ee51a4ad678b1c277f85cbbed5c2e728.tar.bz2 | |
Merge "Add greg_t for arm64."
Diffstat (limited to 'libc')
| -rw-r--r-- | libc/include/sys/ucontext.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/include/sys/ucontext.h b/libc/include/sys/ucontext.h index b8d4d58..dd2a0bb 100644 --- a/libc/include/sys/ucontext.h +++ b/libc/include/sys/ucontext.h @@ -78,6 +78,10 @@ typedef struct ucontext { #elif defined(__aarch64__) +#define NGREG 34 /* x0..x30 + sp + pc + pstate */ +typedef unsigned long greg_t; +typedef greg_t gregset_t[NGREG]; + #include <asm/sigcontext.h> typedef struct sigcontext mcontext_t; |
