Yifan Wu
e7f120bab3
Downgrade cargo-binutils to 0.2.0
4 years ago
Yifan Wu
f7ed29756c
Link small sections in linker
4 years ago
Spxg
a1cda4aa59
panic_handler: update msg format and add column location
4 years ago
Yifan Wu
3554e20dc6
Do not fetch tools when running on qemu.
4 years ago
Yifan Wu
818363f2ca
Fix qemu mmio range
4 years ago
Yifan Wu
dd2be93ef0
Fix k210 alignment issue when push cmdargs when sys_exec
4 years ago
Yifan Wu
67372ac84d
Merge updates from ch7
4 years ago
Yifan Wu
35cc3d6e2f
Fix overflow bug when ceiling va
4 years ago
Yifan Wu
e8a0682cf8
Refactor easy-fs
4 years ago
Yifan Wu
87743bac4d
Merge branch 'ch7' into dev
4 years ago
Yifan Wu
04114ad949
Remove Any Trait of File
4 years ago
Yifan Wu
1b6f2c4c1e
Fix lock uses in ch5
4 years ago
Yifan Wu
9b65abcfa8
Fix lock uses in ch5
4 years ago
Yifan Wu
caac1beb0a
Mutex -> RefCell in Processor.
4 years ago
Yifan Wu
fd75ac027a
Mutex -> RefCell in Processor.
4 years ago
Yifan Wu
d97b0a20ab
Replace TCB.inner.block with TCB::acquire_inner_lock
4 years ago
Yifan Wu
e04394af56
Replace TCB.inner.block with TCB::acquire_inner_lock
4 years ago
Yifan Wu
1cc75ded25
Move kflash.py out of proj.
4 years ago
Yifan Wu
dddd04b683
Move kflash.py out of proj.
4 years ago
Yifan Wu
eb5ef8e956
Bump rustsbi to 0.1.1 && make config of qemu/k210 different
4 years ago
Yifan Wu
33373aa20d
Bump rustsbi to 0.1.1 && make config of qemu/k210 different
4 years ago
Yifan Wu
18da8a3879
Update os/Makefile && Update rust to 2021-01-30
4 years ago
Yifan Wu
4f7db8b92e
Update os/Makefile && Update rust to 2021-01-30
4 years ago
Yifan Wu
6267c5d922
Do not clone KERNEL_SPACE in mm::init
4 years ago
Yifan Wu
9d7882a73d
Do not clone KERNEL_SPACE in mm::init
4 years ago
Yifan Wu
9772373743
Fix os/Makefile: Support macOS
4 years ago
Yifan Wu
e588d40d70
Fix os/Makefile: Support macOS
4 years ago
Yifan Wu
1a7261d86d
Move some variable name to task_cx to task_cx_ptr2(ch5 ver).
4 years ago
Yifan Wu
dbe56c1362
Move some variable name to task_cx to task_cx_ptr2(ch5 ver).
4 years ago
Yifan Wu
12747d71b4
Remove meaningless sstatus::set_sie() when initializing.
4 years ago
Yifan Wu
fd638d5388
Remove meaningless sstatus::set_sie() when initializing.
4 years ago
Yifan Wu
208b827b5c
Add env.
4 years ago
Yifan Wu
b674fd5a77
Remove fs.img.
4 years ago
Yifan Wu
fdab87d2ed
Update Rust environment initialization.
4 years ago
Yifan Wu
7c0d66c58f
Remove some warnings.
4 years ago
Yifan Wu
606abbe6a1
Simple filetest passed on qemu/k210.
4 years ago
Yifan Wu
1bafe9615f
Fix virtio_phys_to_virt. Now we can load app from disk on qemu/k210!
4 years ago
Yifan Wu
ae9eecf97b
Load app from sdcard on K210, but panicked on qemu.
4 years ago
Yifan Wu
ea515323d3
Import easy-fs in os && change easy-fs to no_std mode.
4 years ago
Yifan Wu
84900e8b94
Remove block device test.
4 years ago
Yifan Wu
914f042617
Add sdcard driver based on k210-rust crates && adjust clock freq.
4 years ago
Yifan Wu
f754326d0a
virtio-blk worked.
4 years ago
Yifan Wu
8e178c0080
Pipe OK.
4 years ago
Yifan Wu
2e6734027d
Rewrite Stdin/Stdout
4 years ago
Yifan Wu
f5c029d3db
k210 only can use 6M before configuring sdcard.
4 years ago
Yifan Wu
84b10893d4
forktree worked with depth=3 on k210 platform.
4 years ago
Yifan Wu
244c0ee84d
Handle backspace for k210/qemu platform && Add lots of user tests.
4 years ago
Yifan Wu
7a1bc49eb3
Update rustsbi-k210 to enable lagacy console_putchar. Adjust alignment of links apps. Run matrix on K210!
4 years ago
Yifan Wu
3a2f89fc67
Avoid panicking when inputting error app name; List all apps when initializing.
4 years ago
Yifan Wu
3642f9c56d
Implement many process syscalls.
4 years ago