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.
1 parent ac7f0fa commit 7c0c28fCopy full SHA for 7c0c28f
src/unix/notbsd/linux/other/b32/x86.rs
@@ -1,9 +1,30 @@
1
pub type c_char = i8;
2
pub type wchar_t = i32;
3
+pub type greg_t = i32;
4
5
s! {
6
+ pub struct _libc_fpreg {
7
+ pub significand: [u16; 4],
8
+ pub exponent: u16,
9
+ }
10
+
11
+ pub struct _libc_fpstate {
12
+ pub cw: ::c_ulong,
13
+ pub sw: ::c_ulong,
14
+ pub tag: ::c_ulong,
15
+ pub ipoff: ::c_ulong,
16
+ pub cssel: ::c_ulong,
17
+ pub dataoff: ::c_ulong,
18
+ pub datasel: ::c_ulong,
19
+ pub _st: [_libc_fpreg; 8],
20
+ pub status: ::c_ulong,
21
22
23
pub struct mcontext_t {
- __private: [u32; 22]
24
+ pub gregs: [greg_t; 19],
25
+ pub fpregs: *mut _libc_fpstate,
26
+ pub oldmask: ::c_ulong,
27
+ pub cr2: ::c_ulong,
28
}
29
30
pub struct ucontext_t {
0 commit comments