|
| From: | Richard Henderson |
| Subject: | Re: [PATCH 18/24] bsd-user/arm/target_arch_signal.h: arm machine context for signals |
| Date: | Thu, 28 Oct 2021 10:18:50 -0700 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 |
On 10/19/21 9:44 AM, Warner Losh wrote:
+typedef struct {
+ uint32_t __fp_fpsr;
+ struct {
+ uint32_t __fp_exponent;
+ uint32_t __fp_mantissa_hi;
+ uint32_t __fp_mantissa_lo;
+ } __fp_fr[8];
+} target__fpregset_t;
+
+typedef struct {
+ uint32_t __vfp_fpscr;
+ uint32_t __vfp_fstmx[33];
+ uint32_t __vfp_fpsid;
+} target__vfpregset_t;
+
+typedef struct target_mcontext {
+ uint32_t __gregs[TARGET__NGREG];
+ union {
+ target__fpregset_t __fpregs;
+ target__vfpregset_t __vfpregs;
+ } __fpu;
+} target_mcontext_t;
This doesn't match what I see in sys/arm/include/ucontext.h at all. I don't even see the string "fstmx" anywhere in the source tree. r~
| [Prev in Thread] | Current Thread | [Next in Thread] |