WangRunji
|
681a90657a
|
let Makefile support riscv64
|
6 years ago |
WangRunji
|
259e7c842e
|
update Cargo.toml & Makefile
|
6 years ago |
WangRunji
|
33eaded142
|
Merge remote-tracking branch 'bpc/user-lib-bin' into merge-1228
# Conflicts:
# kernel/src/arch/riscv32/compiler_rt.c
# kernel/src/arch/riscv32/consts.rs
# kernel/src/arch/riscv32/context.rs
# kernel/src/arch/riscv32/io.rs
# kernel/src/arch/riscv32/memory.rs
# kernel/src/arch/riscv32/paging.rs
# user/ucore-ulib/src/syscall.rs
|
6 years ago |
WangRunji
|
c65b7357a4
|
use riscv crate from github
|
6 years ago |
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 |
Ben Pig Chu
|
5135fb0c0e
|
the shell that is able to fork-exec-wait
|
6 years ago |
WangRunji
|
62b931d576
|
print hello on K210
|
6 years ago |
Ben Pig Chu
|
364497e379
|
use the error code specified in ucore_os_lab instead of ucore_plus
|
6 years ago |
dzy
|
a75e52691d
|
port to newer riscv crate supporting rv64
|
6 years ago |
Ben Pig Chu
|
6e8c80d328
|
panicless default fs implement
|
6 years ago |
Ben Pig Chu
|
113a33e575
|
translate FsError to SysError
|
6 years ago |
Ben Pig Chu
|
f8533442f2
|
return error code from syscall, not always -1
|
6 years ago |
Ben Pig Chu
|
fa03f7b112
|
use the simple-filesystem crate with FsError
|
6 years ago |
WangRunji
|
d4b6cc1082
|
compile rv64 pass on macOS
|
6 years ago |
WangRunji
|
02bd2b2317
|
remove arch/riscv64 directory
|
6 years ago |
Ben Pig Chu
|
d737b1e7ba
|
maually remove warning, pt6
|
6 years ago |
Ben Pig Chu
|
6eb49a0106
|
maually remove warning, pt5
|
6 years ago |
Ben Pig Chu
|
7eb9f7abcf
|
maually remove warning, pt4
|
6 years ago |
Ben Pig Chu
|
935c595083
|
maually remove warning, pt3
|
6 years ago |