diff options
author | Carlos Eduardo Seo <carlos.seo@arm.com> | 2021-05-27 17:49:20 -0300 |
---|---|---|
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2022-10-27 14:46:53 +0100 |
commit | 45f35bca7d80322d25f16b4794f812f2e9c7f936 (patch) | |
tree | d2a22318b268deeb2489c289680e204730201031 /sysdeps/unix/sysv/linux/aarch64/bits/procfs.h | |
parent | 87a680a748e15c9cbb60135760c3fa671feeb797 (diff) | |
download | glibc-45f35bca7d80322d25f16b4794f812f2e9c7f936.tar glibc-45f35bca7d80322d25f16b4794f812f2e9c7f936.tar.gz glibc-45f35bca7d80322d25f16b4794f812f2e9c7f936.tar.bz2 glibc-45f35bca7d80322d25f16b4794f812f2e9c7f936.zip |
aarch64: morello: add purecap ucontext support
Adjust ucontext layout for purecap ABI and add make/get/set/swapcontext
implementations accordingly.
Note: mcontext layout follows the linux sigcontext struct, in userspace
*context functions rely on the c registers stored in the extension area
and ignore the mcontext fields for x registers.
Diffstat (limited to 'sysdeps/unix/sysv/linux/aarch64/bits/procfs.h')
-rw-r--r-- | sysdeps/unix/sysv/linux/aarch64/bits/procfs.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/aarch64/bits/procfs.h b/sysdeps/unix/sysv/linux/aarch64/bits/procfs.h index 154fb95e66..596b95e333 100644 --- a/sysdeps/unix/sysv/linux/aarch64/bits/procfs.h +++ b/sysdeps/unix/sysv/linux/aarch64/bits/procfs.h @@ -33,3 +33,8 @@ typedef elf_greg_t elf_gregset_t[ELF_NGREG]; /* Register set for the floating-point registers. */ typedef struct user_fpsimd_struct elf_fpregset_t; + +#ifdef __CHERI_PURE_CAPABILITY__ +/* Register set for the capability registers. */ +typedef struct user_morello_struct elf_cregset_t; +#endif |