File tree Expand file tree Collapse file tree 6 files changed +24
-0
lines changed Expand file tree Collapse file tree 6 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -1537,6 +1537,7 @@ fn test_android(target: &str) {
15371537 "sys/ucontext.h" ,
15381538 "sys/uio.h" ,
15391539 "sys/un.h" ,
1540+ "sys/user.h" ,
15401541 "sys/utsname.h" ,
15411542 "sys/vfs.h" ,
15421543 "sys/xattr.h" ,
Original file line number Diff line number Diff line change @@ -11,3 +11,4 @@ SYS_arch_specific_syscall
1111SYS_syscalls
1212SYS_fcntl
1313__system_property_wait
14+ user_regs_struct
Original file line number Diff line number Diff line change @@ -91,3 +91,4 @@ ip_mreqn
9191max_align_t
9292mcontext_t
9393ucontext_t
94+ user_regs_struct
Original file line number Diff line number Diff line change 4848 __unused4: :: c_uint,
4949 __unused5: :: c_uint,
5050 }
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+ }
5158}
5259
5360pub const O_DIRECT : :: c_int = 0x10000 ;
Original file line number Diff line number Diff line change @@ -142,6 +142,13 @@ s! {
142142 __size: [ usize ; 8 ]
143143 }
144144
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+
145152 pub struct ipc_perm {
146153 pub __key: :: key_t,
147154 pub uid: :: uid_t,
Original file line number Diff line number Diff line change 4949 __unused: [ :: c_uint; 2 ] ,
5050 }
5151
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+
5259 pub struct ipc_perm {
5360 pub __ipc_perm_key: :: key_t,
5461 pub uid: :: uid_t,
You can’t perform that action at this time.
0 commit comments