1 #[repr(C)]
2 pub struct user_regs_struct {
3 pub regs: [::c_ulonglong; 31],
4 pub sp: ::c_ulonglong,
5 pub pc: ::c_ulonglong,
6 pub pstate: ::c_ulonglong,
7 }
8
9 #[repr(C)]
10 pub struct user_fpsimd_struct {
11 pub vregs: [::c_double; 32], // BUG: rust doesn't have f128 which is equivalent for long double
12 pub fpsr: ::c_uint,
13 pub fpcr: ::c_uint,
14 }
15
16 pub type elf_greg_t = ::c_ulong;
17 pub type elf_gregset_t = [::c_ulong; 34];
18 pub type elf_fpregset_t = user_fpsimd_struct;
19
20 #[no_mangle]
_cbindgen_only_generates_structs_if_they_are_mentioned_which_is_dumb_aarch64_user( _a: user_regs_struct, _b: user_fpsimd_struct, _c: *mut elf_gregset_t, _d: *mut elf_greg_t, _e: *mut elf_fpregset_t, )21 pub extern "C" fn _cbindgen_only_generates_structs_if_they_are_mentioned_which_is_dumb_aarch64_user(
22 _a: user_regs_struct,
23 _b: user_fpsimd_struct,
24 _c: *mut elf_gregset_t,
25 _d: *mut elf_greg_t,
26 _e: *mut elf_fpregset_t,
27 ) {
28 }
29