Jiajie Chen
51868e1616
Eliminate some warnings
6 years ago
Harry Chen
324b64c2ed
Merge remote-tracking branch 'rcore/dev' into dev
6 years ago
Jiajie Chen
2adbc4dcd9
Format code and use rust/sh for rocket chip shell
6 years ago
Yuhao Zhou
59c1746491
Update default shell.
6 years ago
Jiajie Chen
056c2c5a36
Fix thinpad shell
6 years ago
Jiajie Chen
af5c6ee237
Fix compilation on thinpad
6 years ago
Jiajie Chen
b2777032c8
Merge remote-tracking branch 'origin/mipsel' into dev
6 years ago
Jiajie Chen
f1971c489a
Fix riscv32 testing
6 years ago
Jiajie Chen
7331404fc7
Fix /proc/self/fd not found panic
6 years ago
Jiajie Chen
6d14fbf3db
Fix typo in ioctl
6 years ago
Jackey-Huo
c63831870d
remove the fxxk words....
6 years ago
Jackey-Huo
6ec65b3c1d
Merge branch 'dev' of github.com:rcore-os/rCore into dev
6 years ago
Jackey-Huo
e91718648e
add htif read function for rocket-chip
6 years ago
Jackey-Huo
e594a4af32
stage debug code for output
6 years ago
Jiajie Chen
ad2f02388c
Fix compilation on mipsel
6 years ago
Jiajie Chen
bd158e4e74
Do not panic when exec file is invalid
6 years ago
WangRunji
a25c8132fe
delay mapping file
6 years ago
Yuhao Zhou
2140ec6bef
Add thinpad settings.
6 years ago
Jiajie Chen
e5894b652c
Format code
6 years ago
chyyuu
28dbfd66b9
add more comments and CHANGE Fn name: run_user_shell TO add_user_shell
6 years ago
chyyuu
88b54fdacd
fix unknow bug: change busybox from docker, maintain the PATH env vars
6 years ago
chyyuu
091902ae0d
set 'busybox ash' dynamic-linked app from alpine linux as the default init shell in x86_64 environment
6 years ago
chyyuu
0d790f2dc5
add LOG info in sys_exec and new_user, add env var in run_user_shell
6 years ago
WangRunji
f74a3b8e8b
by default: use busybox sh, disable log, build in release mode
6 years ago
WangRunji
520bb2d957
change args from Iter to Vec<String>
6 years ago
Jiajie Chen
0ff24fe589
Implement env support in sys_exec
6 years ago
chyyuu
56e472c8f8
fix bug: sys_exec should name as exec_path, then loader can find the exec file.
...
items of VEC args from argv is the args lists, and args[0] isn't the complete exec_path.
the new_user function should add exec_path as a new args.
BUGS:
ls app doesn't show any thing. Why?
6 years ago
WangRunji
b836b11792
reformat code using `cargo fmt`
6 years ago
Jiajie Chen
5c33191765
Implement automatic tests using kernel cmdline
6 years ago
Jiajie Chen
556d263d8e
Implement sys_openat and sys_renameat
6 years ago
WangRunji
17e644e54e
unimportant changes
6 years ago
Jiajie Chen
a4c1d1231b
Use rust user shell instead of kernel shell and fix sys_exec
6 years ago
Jiajie Chen
71808b49f5
Initial ixgbe driver capable of receiving frames
6 years ago
Jiajie Chen
8cb11b7aa8
Implement tid/pid/ppid separation
6 years ago
WangRunji
d51c52902d
minimal impl sys_clone
6 years ago
Jiajie Chen
dcb1b51a5f
Improve time-related syscall precision and add some comment for MSI
6 years ago
Jiajie Chen
1a1e39c960
Move socket set to iface, redesign NetDriver trait and implement blocking net syscalls
6 years ago
Jiajie Chen
6ea04c91b2
Fix line editing bug
6 years ago
Jiajie Chen
29865d7aaa
Add line editing function to user shell and refactor net syscall
6 years ago
Jiajie Chen
af9a978a9d
Fix a bug in e1000 driver, run net thread and update Makefile
6 years ago
WangRunji
0ec5ad8056
split Process and Thread
6 years ago
WangRunji
5bffce787b
rename 'process' crate to 'thread'
6 years ago
WangRunji
33eaded142
Merge remote-tracking branch 'bpc/user-lib-bin' into merge-1228
...
# Conflicts:
# kernel/src/arch/riscv32/compiler_rt.c
# kernel/src/arch/riscv32/consts.rs
# kernel/src/arch/riscv32/context.rs
# kernel/src/arch/riscv32/io.rs
# kernel/src/arch/riscv32/memory.rs
# kernel/src/arch/riscv32/paging.rs
# user/ucore-ulib/src/syscall.rs
6 years ago
WangRunji
a852c96136
Merge branch 'master' into rust-rv64
...
# Conflicts:
# crate/memory/src/memory_set.rs
# kernel/src/arch/riscv32/compiler_rt.rs
# kernel/src/arch/riscv32/memory.rs
# kernel/src/arch/riscv32/paging.rs
# kernel/src/memory.rs
# kernel/src/process/mod.rs
6 years ago
WangRunji
0d957ff1a6
fix getchar on K210
6 years ago
Ben Pig Chu
1ca2bde069
maually remove warning, pt1
6 years ago
WangRunji
d20d22b85b
add hint for user shell. detect cores through 'SMP' env.
6 years ago
WangRunji
6952f008e0
rename ContextImpl to Process
6 years ago
equation314
f882a085d6
user: link created SFS image in kernel
6 years ago
WangRunji
56fcad245a
update kernel to 2018 edition
6 years ago