Debian Codegraph @

third_party/rust/libc/src/unix/bsd/netbsdlike/openbsd/aarch64.rs

raw
1 use crate::prelude::*;
2
3 pub type ucontext_t = sigcontext;
4
5 s! {
6 pub struct sigcontext {
7 __sc_unused: c_int,
8 pub sc_mask: c_int,
9 pub sc_sp: c_ulong,
10 pub sc_lr: c_ulong,
11 pub sc_elr: c_ulong,
12 pub sc_spsr: c_ulong,
13 pub sc_x: [c_ulong; 30],
14 pub sc_cookie: c_long,
15 }
16 }
17
18 pub(crate) const _ALIGNBYTES: usize = mem::size_of::<c_long>() - 1;
19
20 pub const _MAX_PAGE_SHIFT: u32 = 12;