Debian Codegraph @

vendor/libc/src/unix/bsd/freebsdlike/freebsd/powerpc64.rs

raw
1 use crate::prelude::*;
2
3 pub type clock_t = u32;
4 pub type wchar_t = i32;
5 pub type time_t = i64;
6 pub type suseconds_t = i64;
7 pub type register_t = i64;
8
9 s! {
10 #[repr(align(16))]
11 pub struct mcontext_t {
12 pub mc_vers: c_int,
13 pub mc_flags: c_int,
14 pub mc_onstack: c_int,
15 pub mc_len: c_int,
16 pub mc_avec: [u64; 64],
17 pub mc_av: [u32; 2],
18 pub mc_frame: [crate::register_t; 42],
19 pub mc_fpreg: [u64; 33],
20 pub mc_vsxfpreg: [u64; 32],
21 }
22 }
23
24 pub(crate) const _ALIGNBYTES: usize = size_of::<c_long>() - 1;
25
26 pub const BIOCSRTIMEOUT: c_ulong = 0x8010426d;
27 pub const BIOCGRTIMEOUT: c_ulong = 0x4010426e;
28
29 pub const MAP_32BIT: c_int = 0x00080000;
30 pub const MINSIGSTKSZ: size_t = 2048; // 512 * 4
31 pub const TIOCTIMESTAMP: c_ulong = 0x40107459;