We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
mcontext_t.__fpregs
1 parent e5958b8 commit 9f34749Copy full SHA for 9f34749
src/unix/bsd/netbsdlike/netbsd/x86_64.rs
@@ -4,11 +4,14 @@ use crate::PT_FIRSTMACH;
4
pub type c___greg_t = u64;
5
pub type __cpu_simple_lock_nv_t = c_uchar;
6
7
+// FIXME(alignment): Type is `__aligned(8)`
8
+type __fpregset_t = [c_char; 512];
9
+
10
s! {
11
pub struct mcontext_t {
12
pub __gregs: [c___greg_t; 26],
13
pub _mc_tlsbase: c___greg_t,
- pub __fpregs: [[c_char; 32]; 16],
14
+ pub __fpregs: __fpregset_t,
15
}
16
17
pub struct ucontext_t {
0 commit comments