Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aienux/blob/main/vendor/libc/src/unix/nto/arch/aarch64.rs # aienux Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aienux / vendor / libc / src / unix / nto / arch / aarch64.rs` 44 lines ยท 914 bytes Raw Blame History 1 //! Definitions specific to QNX on AArch64 2 //! 3 //! This module applies to: 4 //! 5 //! * `aarch64-unknown-nto-qnx700` 6 //! * `aarch64-unknown-nto-qnx710` 7 //! * `aarch64-unknown-nto-qnx710_iosock` 8 //! * `aarch64-unknown-qnx` 9 10 use crate::prelude::*; 11 12 pub type wchar_t = u32; 13 pub type time_t = i64; 14 15 s! { 16 pub struct aarch64_qreg_t { 17 pub qlo: u64, 18 pub qhi: u64, 19 } 20 21 pub struct aarch64_fpu_registers { 22 pub reg: [crate::aarch64_qreg_t; 32], 23 pub fpsr: u32, 24 pub fpcr: u32, 25 } 26 27 pub struct aarch64_cpu_registers { 28 pub gpr: [u64; 32], 29 pub elr: u64, 30 pub pstate: u64, 31 } 32 33 #[repr(align(16))] 34 pub struct mcontext_t { 35 pub cpu: crate::aarch64_cpu_registers, 36 pub fpu: crate::aarch64_fpu_registers, 37 } 38 39 pub struct stack_t { 40 pub ss_sp: *mut c_void, 41 pub ss_size: size_t, 42 pub ss_flags: c_int, 43 } 44 }