File tree Expand file tree Collapse file tree 1 file changed +28
-1
lines changed
src/unix/notbsd/linux/other/b64 Expand file tree Collapse file tree 1 file changed +28
-1
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ pub type c_char = i8;
4
4
pub type wchar_t = i32 ;
5
5
pub type nlink_t = u64 ;
6
6
pub type blksize_t = i64 ;
7
+ pub type greg_t = i64 ;
7
8
8
9
s ! {
9
10
pub struct stat {
52
53
__size: [ u64 ; 7 ]
53
54
}
54
55
56
+ pub struct _libc_fpxreg {
57
+ pub significand: [ u16 ; 4 ] ,
58
+ pub exponent: u16 ,
59
+ __private: [ u16 ; 3 ] ,
60
+ }
61
+
62
+ pub struct _libc_xmmreg {
63
+ pub element: [ u32 ; 4 ] ,
64
+ }
65
+
66
+ pub struct _libc_fpstate {
67
+ pub cwd: u16 ,
68
+ pub swd: u16 ,
69
+ pub ftw: u16 ,
70
+ pub fop: u16 ,
71
+ pub rip: u64 ,
72
+ pub rdp: u64 ,
73
+ pub mxcsr: u32 ,
74
+ pub mxcr_mask: u32 ,
75
+ pub _st: [ _libc_fpxreg; 8 ] ,
76
+ pub _xmm: [ _libc_xmmreg; 16 ] ,
77
+ __private: [ u64 ; 12 ] ,
78
+ }
79
+
55
80
pub struct mcontext_t {
56
- __private: [ u64 ; 32 ] ,
81
+ pub gregs: [ greg_t; 23 ] ,
82
+ pub fpregs: * mut _libc_fpstate,
83
+ __private: [ u64 ; 8 ] ,
57
84
}
58
85
59
86
pub struct ucontext_t {
You can’t perform that action at this time.
0 commit comments