shadow and sys_procfs header cleanup

This commit is contained in:
auronandace
2026-01-21 11:26:08 +00:00
parent 3a8f64aa14
commit f45bc46bfc
5 changed files with 10 additions and 8 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
use crate::platform::types::*;
use crate::platform::types::{c_double, c_uint, c_ulong, c_ulonglong};
#[repr(C)]
pub struct user_regs_struct {
+1 -1
View File
@@ -1,4 +1,4 @@
use crate::platform::types::*;
use crate::platform::types::{c_double, c_float, c_uint, c_ulong};
#[repr(C)]
pub struct user_regs_struct {
+1 -1
View File
@@ -1,6 +1,6 @@
//! A part of the ptrace compatibility for Redox OS
use crate::platform::types::*;
use crate::platform::types::{c_char, c_int, c_long, c_ulong};
#[repr(C)]
pub struct user_fpregs_struct {
+1 -1
View File
@@ -16,7 +16,7 @@ use crate::{
header::{errno, fcntl, string::strlen},
io::{BufReader, Lines, prelude::*},
platform,
platform::types::*,
platform::types::{c_char, c_int, c_long, c_ulong, size_t},
};
use super::errno::*;
+6 -4
View File
@@ -1,10 +1,12 @@
#[cfg(target_arch = "aarch64")]
use crate::header::arch_aarch64_user::*;
use crate::header::arch_aarch64_user::{elf_fpregset_t, elf_gregset_t};
#[cfg(target_arch = "riscv64")]
use crate::header::arch_riscv64_user::*;
use crate::header::arch_riscv64_user::{elf_fpregset_t, elf_gregset_t};
#[cfg(target_arch = "x86_64")]
use crate::header::arch_x64_user::*;
use crate::platform::types::*;
use crate::header::arch_x64_user::{elf_fpregset_t, elf_gregset_t};
use crate::platform::types::{
c_char, c_int, c_long, c_short, c_uint, c_ulong, c_void, pid_t, size_t,
};
pub const ELF_PRARGSZ: size_t = 80;