diff options
author | myfreeweb <greg@unrelenting.technology> | 2018-08-07 18:05:44 +0300 |
---|---|---|
committer | Dave Watson <davejwatson@fb.com> | 2018-08-07 08:05:44 -0700 |
commit | fe2e9438e8089828965d1d0e28028d7eb35a55d5 (patch) | |
tree | ca57966a960a489dd8279b594520ad21fa8148fd /include | |
parent | 55ef85c50e4184c98c03e0c52ffb1c39b5201fab (diff) | |
download | libunwind-fe2e9438e8089828965d1d0e28028d7eb35a55d5.tar.gz |
aarch64: fix freebsd support
implement _UPT_access_fpreg, _UCD_access_reg_freebsd for aarch64, and add a unw_fpsimd_context_t instead of using the one from the linux headers.
Diffstat (limited to 'include')
-rw-r--r-- | include/libunwind-aarch64.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/libunwind-aarch64.h b/include/libunwind-aarch64.h index 11e2a9c1..c97be5d5 100644 --- a/include/libunwind-aarch64.h +++ b/include/libunwind-aarch64.h @@ -196,6 +196,17 @@ typedef struct struct unw_sigcontext uc_mcontext; } unw_tdep_context_t; +typedef struct + { + uint32_t _ctx_magic; + uint32_t _ctx_size; + uint32_t fpsr; + uint32_t fpcr; + uint64_t vregs[64]; + } unw_fpsimd_context_t; + + + #include "libunwind-common.h" #include "libunwind-dynamic.h" |