File tree Expand file tree Collapse file tree 6 files changed +45
-0
lines changed Expand file tree Collapse file tree 6 files changed +45
-0
lines changed Original file line number Diff line number Diff line change @@ -1504,6 +1504,7 @@ fn test_android(target: &str) {
1504
1504
"sys/ucontext.h" ,
1505
1505
"sys/uio.h" ,
1506
1506
"sys/un.h" ,
1507
+ "sys/user.h" ,
1507
1508
"sys/utsname.h" ,
1508
1509
"sys/vfs.h" ,
1509
1510
"sys/xattr.h" ,
Original file line number Diff line number Diff line change @@ -11,3 +11,5 @@ SYS_arch_specific_syscall
11
11
SYS_syscalls
12
12
SYS_fcntl
13
13
__system_property_wait
14
+ user_fpsimd_struct
15
+ user_regs_struct
Original file line number Diff line number Diff line change @@ -37,3 +37,5 @@ ip_mreqn
37
37
max_align_t
38
38
mcontext_t
39
39
ucontext_t
40
+ user_fpsimd_struct
41
+ user_regs_struct
Original file line number Diff line number Diff line change 48
48
__unused4: :: c_uint,
49
49
__unused5: :: c_uint,
50
50
}
51
+
52
+ pub struct user_regs_struct {
53
+ pub regs: [ u64 ; 31 ] ,
54
+ pub sp: u64 ,
55
+ pub pc: u64 ,
56
+ pub pstate: u64 ,
57
+ }
58
+
59
+ pub struct user_fpsimd_struct {
60
+ pub vregs: [ u128 ; 32 ] ,
61
+ pub fpsr: u32 ,
62
+ pub fpcr: u32 ,
63
+ }
64
+
51
65
}
52
66
53
67
pub const O_DIRECT : :: c_int = 0x10000 ;
Original file line number Diff line number Diff line change @@ -142,6 +142,19 @@ s! {
142
142
__size: [ usize ; 8 ]
143
143
}
144
144
145
+ pub struct user_regs_struct {
146
+ pub regs: [ :: c_ulonglong; 31 ] ,
147
+ pub sp: :: c_ulonglong,
148
+ pub pc: :: c_ulonglong,
149
+ pub pstate: :: c_ulonglong,
150
+ }
151
+
152
+ pub struct user_fpsimd_struct {
153
+ pub vregs: [ u128 ; 32 ] ,
154
+ pub fpsr: :: c_uint,
155
+ pub fpcr: :: c_uint,
156
+ }
157
+
145
158
pub struct ipc_perm {
146
159
pub __key: :: key_t,
147
160
pub uid: :: uid_t,
Original file line number Diff line number Diff line change 49
49
__unused: [ :: c_uint; 2 ] ,
50
50
}
51
51
52
+ pub struct user_regs_struct {
53
+ pub regs: [ :: c_ulonglong; 31 ] ,
54
+ pub sp: :: c_ulonglong,
55
+ pub pc: :: c_ulonglong,
56
+ pub pstate: :: c_ulonglong,
57
+ }
58
+
59
+ pub struct user_fpsimd_struct {
60
+ pub vregs: [ u128 ; 32 ] ,
61
+ pub fpsr: :: c_uint,
62
+ pub fpcr: :: c_uint,
63
+ }
64
+
52
65
pub struct ipc_perm {
53
66
pub __ipc_perm_key: :: key_t,
54
67
pub uid: :: uid_t,
You can’t perform that action at this time.
0 commit comments