Commit Graph

73 Commits (1d7b8141f0516face840e1e5a0f69ad4f9202632)

Author SHA1 Message Date
liusm18 1d7b8141f0 Add sigret and finish signal handling
3 years ago
liusm18 fae8641f36 Add sigaction struct and sys_call
3 years ago
liusm18 598d8d4538 Add sigprocmask
3 years ago
liusm18 c8542d6107 Modify signal.rs and sys_kill to support more signals
3 years ago
Yifan Wu 7408b1a7b2 Add boards/ && cargo clippy
4 years ago
Yifan Wu d1233cbb69 Support SIGABRT when the application panics.
4 years ago
Yifan Wu 1f55fbe4a2 Add some tests from ch2 && support SIGSEGV&SIGILL
4 years ago
Yifan Wu 0d189e9ad7 Cargo fmt
4 years ago
Yifan Wu 2f5cff7e21 cargo clippy
4 years ago
Yifan Wu 87e61ef7e9 Drop fd_table when a process exits; user_shell supports pipes
4 years ago
Yifan Wu d01b99d3f9 Remove os/src/loader.rs && Update testcases cat and huge_write
4 years ago
Yifan Wu a97e29fdb1 Now PageTable::unmap calls PageTable::find_pte instead of PageTable::find_pte_create.
4 years ago
Yifan Wu 39c9c80d35 Kernel cannot dump now.
4 years ago
Yifan Wu 11cdc5f2e6 Bump to rust nightly-2022-01-01, feature global_asm,asm->stable
4 years ago
Yifan Wu 940e88a002 Now construction of PA/VA only uses 56/39 bits.
4 years ago
Yifan Wu bb98f7f88c rust->nightly-2021-10-15,cargo-binutils->0.3.3
4 years ago
Yifan Wu 638eb8666a Update rustc && rustsbi-k210
4 years ago
Yifan Wu bf69560f9b Update rustsbi; huge_write writes 1MiB
4 years ago
Yifan Wu 315e61da1a Rm spin::Mutex except for easy-fs & add new test huge_write & flush cache to disk after a write transaction
4 years ago
Yifan Wu a09429b32c Link small sections in linker
4 years ago
Yifan Wu 195816ce2c Fix qemu mmio range
4 years ago
Yifan Wu e643af7937 Fix k210 alignment issue when push cmdargs when sys_exec
4 years ago
Yifan Wu 3e1c12b6a1 Add sys_dup && support input/output redirection in user_shell
4 years ago
Yifan Wu 90d351bfe8 Support cmdline_args when sys_exec.
4 years ago
Yifan Wu b8f1db4aa3 Fix overflow bug when ceiling va
4 years ago
Yifan Wu 04114ad949 Remove Any Trait of File
5 years ago
Yifan Wu 9b65abcfa8 Fix lock uses in ch5
5 years ago
Yifan Wu fd75ac027a Mutex -> RefCell in Processor.
5 years ago
Yifan Wu e04394af56 Replace TCB.inner.block with TCB::acquire_inner_lock
5 years ago
Yifan Wu 33373aa20d Bump rustsbi to 0.1.1 && make config of qemu/k210 different
5 years ago
Yifan Wu 9d7882a73d Do not clone KERNEL_SPACE in mm::init
5 years ago
Yifan Wu dbe56c1362 Move some variable name to task_cx to task_cx_ptr2(ch5 ver).
5 years ago
Yifan Wu fd638d5388 Remove meaningless sstatus::set_sie() when initializing.
5 years ago
Yifan Wu 7c0d66c58f Remove some warnings.
5 years ago
Yifan Wu 606abbe6a1 Simple filetest passed on qemu/k210.
5 years ago
Yifan Wu 1bafe9615f Fix virtio_phys_to_virt. Now we can load app from disk on qemu/k210!
5 years ago
Yifan Wu ae9eecf97b Load app from sdcard on K210, but panicked on qemu.
5 years ago
Yifan Wu 84900e8b94 Remove block device test.
5 years ago
Yifan Wu 914f042617 Add sdcard driver based on k210-rust crates && adjust clock freq.
5 years ago
Yifan Wu f754326d0a virtio-blk worked.
5 years ago
Yifan Wu 8e178c0080 Pipe OK.
5 years ago
Yifan Wu 2e6734027d Rewrite Stdin/Stdout
5 years ago
Yifan Wu f5c029d3db k210 only can use 6M before configuring sdcard.
5 years ago
Yifan Wu 84b10893d4 forktree worked with depth=3 on k210 platform.
5 years ago
Yifan Wu 244c0ee84d Handle backspace for k210/qemu platform && Add lots of user tests.
5 years ago
Yifan Wu 7a1bc49eb3 Update rustsbi-k210 to enable lagacy console_putchar. Adjust alignment of links apps. Run matrix on K210!
5 years ago
Yifan Wu 3a2f89fc67 Avoid panicking when inputting error app name; List all apps when initializing.
5 years ago
Yifan Wu 3642f9c56d Implement many process syscalls.
5 years ago
Yifan Wu eddbc8954c Implement sys_read && allocate pid and kernel stack dynamically.
5 years ago
Yifan Wu 1bc53c0b5f Split TaskManager and Processor.
5 years ago