Merge branch 'shadow-sysprocfs-cleanup' into 'master'
shadow and sys_procfs header cleanup See merge request redox-os/relibc!901
This commit is contained in:
@@ -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,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,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 {
|
||||
|
||||
@@ -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::*;
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user