WangRunji
85a1dca684
Use weak linkage to provide dependencies for process::thread.
2018-10-24 21:32:23 +08:00
WangRunji
80b161db98
Recover set_priority and fork
2018-10-24 21:29:41 +08:00
WangRunji
5db908b1c5
Separate ProcessManager to a mod.
2018-10-24 00:38:22 +08:00
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.
2018-10-24 00:28:29 +08:00
WangRunji
ff8930a36c
Make frame allocator smaller. Fix serial stupid bug.
2018-08-07 15:09:11 +08:00
WangRunji
a2111a928f
Move thread mod to ucore-process crate
2018-07-17 19:06:30 +08:00
WangRunji
6022ec8efc
Fix load user program out of range
2018-07-17 11:45:55 +08:00
WangRunji
52d3443e05
Recover idle process. Make shell wait for the user it spawned.
2018-07-17 10:47:05 +08:00
WangRunji
c8a9eaf3e6
Split process mod to extern crate
2018-07-17 01:56:28 +08:00
WangRunji
37a6df252f
Refactor process mod
2018-07-17 00:23:02 +08:00
WangRunji
1ad3ed738e
Can run user program in RV32
2018-07-14 11:56:55 +08:00
WangRunji
4faa8a65ae
Move kernel to a new directory
2018-07-13 12:25:39 +08:00