WangRunji
0680023e35
Recover wait/sleep
6 years ago
WangRunji
c734f79699
Drop context when process exit. Remove util mod.
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
WangRunji
6741ba399b
Add arch::cpu::halt(). Halt when panic.
6 years ago
lcy1996
ec27ed8d2e
add comment
6 years ago
lcy1996
5f34cc54d8
Merge branch 'OsTrain2018-g4' of github.com:oscourse-tsinghua/RustOS into lcy_issue1
6 years ago
lcy1996
63349ade19
Finish add more comment for kernel and finish set user memory swappable.
6 years ago
chenqiuhao
9474ad7220
update atomic function and workaround the LLVM compiling bug(maybe)
6 years ago
WangRunji
5bc392f388
Enable RV32 IPI.
6 years ago
WangRunji
ff18852c56
Reorganize docs.
6 years ago
WangRunji
1b4edf3bb2
Merge branch 'rv32-smp-porting' into dev
...
# Conflicts:
# kernel/Makefile
6 years ago
WangRunji
72e92c07f9
Switch to RV64 GNU toolchain. Simplify compiler_rt.
6 years ago
WangRunji
f1771f8ef2
Finish x86 SMP startup. Support timer & IPI.
...
- Remove smp, apic mod.
Instead, use new bootloader & apic crate.
- Disable PIC & PIT.
Instead, use IOAPIC & APIC Timer.
6 years ago
maoyuchaxue
f27fd37d82
replaced spin::Mutex with sync::SpinLock, now spinlock works well.
6 years ago
maoyuchaxue
6df13c57ca
Merge branch 'rv32-smp-porting' of https://github.com/char-fish-after-lunch/RustOS into rv32-smp-porting
6 years ago
maoyuchaxue
f7b7b1bcd6
added workaround for atomic ops
6 years ago
maoyuchaxue
cfda03a0f2
trying to add atomic implementations in rv32, but still buggy
6 years ago
lcy1996
0a81014007
Add page handler for swap in/out in riscv32's pagefault
6 years ago
maoyuchaxue
a34783c277
a late proposal.pptx
6 years ago
maoyuchaxue
d55eae7122
a late proposal.md
6 years ago
maoyuchaxue
49cd04dce3
added rv32 smp booting, with slight modification to bbl
6 years ago
maoyuchaxue
6cf0d6db23
fixed setting in riscv-pk to enable rv32ia, added smp option in Makefile
6 years ago
cfgbd
da74c628ec
ignore eclipse files
6 years ago
lcy1996
0a7ec18701
Add page fault handler to riscv 32.
6 years ago
WangRunji
6cdf505f62
Add OSLab/exp2 report
6 years ago
Ben Pig Chu
f5acc273d7
Merge branch 'OsTrain2018-g4' of https://github.com/oscourse-tsinghua/RustOS into crate-memory-comment
6 years ago
Ben Pig Chu
7b69d01125
Merge branch 'OsTrain2018-g4' of https://github.com/oscourse-tsinghua/RustOS into crate-memory-comment
6 years ago
lcy1996
c9ed233428
Modified Proposal
6 years ago
Ben Pig Chu
adf474b78f
file system planning
6 years ago
chenqiuhao1997
dc95f9c605
Update proposal.md
6 years ago
chenqiuhao1997
f64b8c7f6a
Update proposal.md
6 years ago
Ben Pig Chu
fc727b9618
Merge branch 'OsTrain2018-g4' of https://github.com/oscourse-tsinghua/RustOS into crate-memory-comment
6 years ago
Ben Pig Chu
4a17ce8f16
comments of crate/memory
6 years ago
lcy1996
683355180c
Modified Proposal
6 years ago
lcy1996
25db09bd59
Modified Proposal
6 years ago
chenqiuhao
24d0de8c42
update report
6 years ago
lcy1996
5a1cc4178d
Modified proposal
6 years ago
chenqiuhao
0ba43762ff
update report
6 years ago
lcy1996
96cdf37b15
Add some comment for paging and add proposal doc
6 years ago
lcy1996
cef2d792be
Add part of comments for riscv32 module
6 years ago
lcy1996
2157e4bbcf
Add comment for interrutp and trap code
6 years ago
lcy1996
91455d163d
Finish comment riscv context.
6 years ago
lcy1996
65df061ec6
Update expr1 report.
6 years ago
lcy1996
5b4aefdb0d
Add comment for riscv32 context
6 years ago
lcy1996
e6fa56ac28
Merge branch 'OsTrain2018-g4' of github.com:oscourse-tsinghua/RustOS into lcy_issue1
6 years ago
lcy1996
2264f69ef7
Add reports
6 years ago
chenqiuhao
5bc40fd5d4
Merge branch 'OsTrain2018-g4' of https://github.com/oscourse-tsinghua/RustOS into OsTrain2018-g4
6 years ago