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
|
92ae57b251
|
fix user program memory layout on NoMMU
|
6 years ago |
WangRunji
|
daee1e9f94
|
fix bugs on K210
|
6 years ago |
WangRunji
|
b3a8e95d78
|
merge interrupt & context switch for rv32 & rv64
|
6 years ago |
WangRunji
|
de24f6673c
|
remove '\r'
|
6 years ago |
WangRunji
|
0d957ff1a6
|
fix getchar on K210
|
6 years ago |
dzy
|
4b17055f30
|
running user program.
|
6 years ago |
dzy
|
e74f749ff3
|
fix context change bug. user sh is running!!!
|
6 years ago |
dzy
|
6f2d059ba5
|
implement map_kernel, now enters the kernel well
|
6 years ago |
dzy
|
bf3a67a7e4
|
remap_kernel runs fine
|
6 years ago |
dzy
|
21adebb203
|
run until ms.token()
|
6 years ago |
dzy
|
ccee527272
|
runs without pagefault but does not reach end of remap_kernel
|
6 years ago |
dzy
|
a4348428a6
|
can run until update
|
6 years ago |
dzy
|
d67a224494
|
add wrj's 704af94 patch
|
6 years ago |
dzy
|
ed3fb6d423
|
another temporary
|
6 years ago |
dzy
|
0dbffbc0fa
|
temporary
|
6 years ago |
WangRunji
|
af6d533cb5
|
fix trap return on M-Mode
|
6 years ago |
WangRunji
|
3de76885fa
|
llc build for rv64imc
|
6 years ago |
WangRunji
|
020e3505ee
|
enable timer interrupt for K210
|
6 years ago |
dzy
|
b7e124930d
|
fix compilation errors
|
6 years ago |
dzy
|
3910f71521
|
preliminary support for riscv64, not tested.
riscv32 runs fine.
|
6 years ago |
WangRunji
|
3a4b8f5dac
|
fix trap for rv64
|
6 years ago |
WangRunji
|
8529d9fe4e
|
fix const, linker, build for K210
|
6 years ago |
WangRunji
|
9ab4fd40ea
|
fix atomic for K210. enable print mutex again
|
6 years ago |
WangRunji
|
70b6db4282
|
make clear_bss faster
|
6 years ago |
dzy
|
1d1d4109c3
|
Make script easily support both rv32 and rv64.
|
6 years ago |
dzy
|
98c94a0d83
|
Fix register size (4->XLEN) in trap handling.
|
6 years ago |
WangRunji
|
45b91fbcad
|
update rv64 build script. print hello on QEMU!
|
6 years ago |
WangRunji
|
d3ef0252ac
|
move setup_page_table to BBL
|
6 years ago |
WangRunji
|
3ea104da97
|
Merge remote-tracking branch 'dzy/rust-rv64' into rust-rv64
# Conflicts:
# kernel/Cargo.toml
|
6 years ago |
WangRunji
|
0af9776dbd
|
add .stack section. clear bss
|
6 years ago |
WangRunji
|
7240198a54
|
fix newline: '\r\n'
|
6 years ago |
WangRunji
|
62b931d576
|
print hello on K210
|
6 years ago |
dzy
|
a75e52691d
|
port to newer riscv crate supporting rv64
|
6 years ago |
WangRunji
|
d4b6cc1082
|
compile rv64 pass on macOS
|
6 years ago |
WangRunji
|
02bd2b2317
|
remove arch/riscv64 directory
|
6 years ago |
dzy
|
f954c2fd6a
|
Completely get rid of cargo-generated target/
|
6 years ago |
dzy
|
61a3beb8ba
|
Start porting for rv64
|
6 years ago |
WangRunji
|
9b0b0064d0
|
Merge remote-tracking branch 'equation314/arch-aarch64' into dev
# Conflicts:
# kernel/src/arch/aarch64/memory.rs
# kernel/src/arch/aarch64/paging.rs
# kernel/src/process/context.rs
|
6 years ago |
WangRunji
|
d20d22b85b
|
add hint for user shell. detect cores through 'SMP' env.
|
6 years ago |
WangRunji
|
fbf59396b2
|
use 'ucore_*.img' by default
|
6 years ago |
WangRunji
|
6952f008e0
|
rename ContextImpl to Process
|
6 years ago |
WangRunji
|
557f021c08
|
fix DelayHandler & MemoryAttr
|
6 years ago |
WangRunji
|
704af94211
|
fix rv32 entry editing
|
6 years ago |
equation314
|
f76a604b78
|
aarch64: add driver interfaces
|
6 years ago |
equation314
|
81af2c82fd
|
aarch64: reduce some warnings, config system/generic timer in Makefile
|
6 years ago |
equation314
|
5a165178cc
|
aarch64: implement IRQ register & serial IRQ
|
6 years ago |
WangRunji
|
ff806d4465
|
move common codes to InactivePageTable trait
|
6 years ago |
WangRunji
|
102866bcf9
|
introduce MemoryHandler and refactor MemorySet. temporary disable swap.
This is a manual rebase of LCY's code
|
6 years ago |
WangRunji
|
96a76290b6
|
fix rv32 __mulsi3 add overflow
|
6 years ago |