WangRunji
44bf3fb07a
impl sys_exec
6 years ago
WangRunji
f97e8458b8
impl stdin & stdout as INode
7 years ago
WangRunji
a589ae90f3
use SysError in syscalls
7 years ago
WangRunji
beb6533059
impl sys_getdirentry. 'ls' ok.
7 years ago
WangRunji
124a5e0d5d
impl sys_dup
...
- Fix exit_code: i32
- Convert Box<File> to Arc<Mutex<File>> in Context
7 years ago
WangRunji
16be828370
impl sys_fstat
7 years ago
WangRunji
e27aea47e1
impl file syscalls, without test
7 years ago
WangRunji
b7d6b2989d
Fix bugs. Pass test 'spin'
...
- Fix ACK IRQ on x86.
- Add process exit handler.
7 years ago
WangRunji
6fc23e1134
Ugly impl sys_wait(0)
7 years ago
WangRunji
0680023e35
Recover wait/sleep
7 years ago
WangRunji
80b161db98
Recover set_priority and fork
7 years ago
WangRunji
f7eb09e856
Multicore processing WORKS! Basically ...
...
- Rewrite processor.rs
Refactor to `Processor` & `ProcessManager`
- Use Box<dyn> instead of generic.
- Wait/sleep/wakeup is not supported yet.
I'm considering to implement them with WaitQueue.
7 years ago
WangRunji
776dc976c9
Fix for user
7 years ago
WangRunji
c8a9eaf3e6
Split process mod to extern crate
7 years ago
WangRunji
37a6df252f
Refactor process mod
7 years ago
WangRunji
69bc5caa81
Fix syscall return value, args. Pass `hello`.
7 years ago
WangRunji
3286fed36c
Recover syscall for RV32
7 years ago
WangRunji
4faa8a65ae
Move kernel to a new directory
7 years ago