Skip to content

Commit a47db53

Browse files
committed
1 parent cfb674c commit a47db53

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/unix/bsd/netbsdlike/netbsd/x86_64.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,14 @@ use crate::PT_FIRSTMACH;
44
pub type c___greg_t = u64;
55
pub type __cpu_simple_lock_nv_t = c_uchar;
66

7+
// FIXME(alignment): Type is `__aligned(8)`
8+
type __fpregset_t = [c_char; 512];
9+
710
s! {
811
pub struct mcontext_t {
912
pub __gregs: [c___greg_t; 26],
1013
pub _mc_tlsbase: c___greg_t,
11-
pub __fpregs: [[c_char; 32]; 16],
14+
pub __fpregs: __fpregset_t,
1215
}
1316

1417
pub struct ucontext_t {

0 commit comments

Comments
 (0)