Implement #include<sys/user.h> and #include<sys/procfs.h>
This patch implements sys/user.h file that works for both x86_64 as well as aarch64. This include file is used by sys/procfs.h which is needed dependency for binutils. There is bug in this patch in aarch64 implementation which is the lack of f128 implementation in rust, thus we can't create cbinding for long double.
Showing
- include/sys/user.h 11 additions, 0 deletionsinclude/sys/user.h
- src/header/arch_aarch64_user/cbindgen.toml 7 additions, 0 deletionssrc/header/arch_aarch64_user/cbindgen.toml
- src/header/arch_aarch64_user/mod.rs 30 additions, 0 deletionssrc/header/arch_aarch64_user/mod.rs
- src/header/arch_x64_user/cbindgen.toml 1 addition, 1 deletionsrc/header/arch_x64_user/cbindgen.toml
- src/header/arch_x64_user/mod.rs 28 additions, 1 deletionsrc/header/arch_x64_user/mod.rs
- src/header/mod.rs 3 additions, 1 deletionsrc/header/mod.rs
- src/header/sys_procfs/cbindgen.toml 7 additions, 0 deletionssrc/header/sys_procfs/cbindgen.toml
- src/header/sys_procfs/mod.rs 73 additions, 0 deletionssrc/header/sys_procfs/mod.rs
Loading
Please register or sign in to comment