Debian Codegraph @

debian/missing-sources/libc/src/unix/bsd/freebsdlike/freebsd/arm.rs

raw
1 use crate::prelude::*;
2
3 pub type clock_t = u32;
4 pub type wchar_t = u32;
5 pub type time_t = i64;
6 pub type suseconds_t = i32;
7 pub type register_t = i32;
8 pub type __greg_t = c_uint;
9 pub type __gregset_t = [crate::__greg_t; 17];
10
11 s! {
12 pub struct mcontext_t {
13 pub __gregs: crate::__gregset_t,
14 pub mc_vfp_size: usize,
15 pub mc_vfp_ptr: *mut c_void,
16 pub mc_spare: [c_uint; 33],
17 }
18 }
19
20 pub(crate) const _ALIGNBYTES: usize = size_of::<c_int>() - 1;
21
22 pub const BIOCSRTIMEOUT: c_ulong = 0x8010426d;
23 pub const BIOCGRTIMEOUT: c_ulong = 0x4010426e;
24
25 pub const MAP_32BIT: c_int = 0x00080000;
26 pub const MINSIGSTKSZ: size_t = 4096; // 1024 * 4
27 pub const TIOCTIMESTAMP: c_ulong = 0x40107459;