lcy1996
fcdee71f9d
Merge confilt
6 years ago
lcy1996
c8ea2cb0cf
Fix bug and enable swap in/out and frame delayed allocating.
6 years ago
chenqiuhao
87506b000d
debug for process
6 years ago
chenqiuhao
2002ddd5fa
move processor from wrj
6 years ago
lcy1996
b1425a53f9
finish frame delayed allocating
6 years ago
WangRunji
b7d6b2989d
Fix bugs. Pass test 'spin'
...
- Fix ACK IRQ on x86.
- Add process exit handler.
6 years ago
WangRunji
6fc23e1134
Ugly impl sys_wait(0)
6 years ago
WangRunji
74facd8e87
Use Vec to replace array in ProcessManager.
6 years ago
lcy1996
edde416052
Finish swap for multi-user process
6 years ago
WangRunji
72dc3f62ad
Remove kernel stack from MemorySet.
6 years ago
WangRunji
85a1dca684
Use weak linkage to provide dependencies for process::thread.
6 years ago
WangRunji
80b161db98
Recover set_priority and fork
6 years ago
WangRunji
5db908b1c5
Separate ProcessManager to a mod.
6 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.
6 years ago
lcy1996
63349ade19
Finish add more comment for kernel and finish set user memory swappable.
6 years ago
lcy1996
e4300d3515
Add more comment in kernel but not finished
6 years ago
WangRunji
ff8930a36c
Make frame allocator smaller. Fix serial stupid bug.
6 years ago
WangRunji
a2111a928f
Move thread mod to ucore-process crate
7 years ago
WangRunji
6022ec8efc
Fix load user program out of range
7 years ago
WangRunji
52d3443e05
Recover idle process. Make shell wait for the user it spawned.
7 years ago
WangRunji
c8a9eaf3e6
Split process mod to extern crate
7 years ago
WangRunji
37a6df252f
Refactor process mod
7 years ago
WangRunji
1ad3ed738e
Can run user program in RV32
7 years ago
WangRunji
4faa8a65ae
Move kernel to a new directory
7 years ago