relibc/header/arch_riscv64_user/
mod.rs1use crate::platform::types::{c_double, c_float, c_uint, c_ulong};
2
3#[repr(C)]
4pub struct user_regs_struct {
5 pub regs: [c_ulong; 31], pub pc: c_ulong,
7}
8
9#[repr(C)]
10pub struct user_fpregs_f_struct {
11 pub fpregs: [c_float; 32],
12 pub fcsr: c_uint,
13}
14
15#[repr(C)]
16pub struct user_fpregs_g_struct {
17 pub fpregs: [c_double; 32],
18 pub fcsr: c_uint,
19}
20
21#[repr(C)]
22pub struct user_fpregs_struct {
23 pub f_regs: user_fpregs_f_struct,
24 pub g_regs: user_fpregs_g_struct,
25}
26
27pub type elf_greg_t = c_ulong;
28pub type elf_gregset_t = user_regs_struct;
29pub type elf_fpregset_t = user_fpregs_struct;