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 / netbsdlike / openbsd / aarch64.rs

20 lines · 446 bytes Raw Blame History
1use crate::prelude::*;
2
3pub type ucontext_t = sigcontext;
4
5s! {
6 pub struct sigcontext {
7 __sc_unused: Padding<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
18pub(crate) const _ALIGNBYTES: usize = size_of::<c_long>() - 1;
19
20pub const _MAX_PAGE_SHIFT: u32 = 12;