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/solarish/x86.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 / solarish / x86.rs` 31 lines ยท 843 bytes Raw Blame History 1 use crate::prelude::*; 2 3 pub type Elf32_Addr = c_ulong; 4 pub type Elf32_Half = c_ushort; 5 pub type Elf32_Off = c_ulong; 6 pub type Elf32_Sword = c_long; 7 pub type Elf32_Word = c_ulong; 8 pub type Elf32_Lword = c_ulonglong; 9 pub type Elf32_Phdr = __c_anonymous_Elf32_Phdr; 10 11 s! { 12 pub struct __c_anonymous_Elf32_Phdr { 13 pub p_type: Elf32_Word, 14 pub p_offset: Elf32_Off, 15 pub p_vaddr: Elf32_Addr, 16 pub p_paddr: Elf32_Addr, 17 pub p_filesz: Elf32_Word, 18 pub p_memsz: Elf32_Word, 19 pub p_flags: Elf32_Word, 20 pub p_align: Elf32_Word, 21 } 22 23 pub struct dl_phdr_info { 24 pub dlpi_addr: Elf32_Addr, 25 pub dlpi_name: *const c_char, 26 pub dlpi_phdr: *const Elf32_Phdr, 27 pub dlpi_phnum: Elf32_Half, 28 pub dlpi_adds: c_ulonglong, 29 pub dlpi_subs: c_ulonglong, 30 } 31 }