interplane.Get Omega
Read in your language

aienux

Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.

Brought by drakestapleton

branch main Branches Tags History

aienux / vendor / libc / src / unix / bsd / freebsdlike / freebsd / arm.rs

27 lines · 709 bytes Raw Blame History
1use crate::prelude::*;
2
3pub type clock_t = u32;
4pub type wchar_t = u32;
5pub type time_t = i64;
6pub type suseconds_t = i32;
7pub type register_t = i32;
8pub type __greg_t = c_uint;
9pub type __gregset_t = [crate::__greg_t; 17];
10
11s! {
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
20pub(crate) const _ALIGNBYTES: usize = size_of::<c_int>() - 1;
21
22pub const BIOCSRTIMEOUT: c_ulong = 0x8010426d;
23pub const BIOCGRTIMEOUT: c_ulong = 0x4010426e;
24
25pub const MAP_32BIT: c_int = 0x00080000;
26pub const MINSIGSTKSZ: size_t = 4096; // 1024 * 4
27pub const TIOCTIMESTAMP: c_ulong = 0x40107459;