Commit Graph

89 Commits (ch7-signal)

Author SHA1 Message Date
Yu Chen ad28f5f627 update signal impl and apps
3 years ago
liusm18 a6b278fe10 Fix coding style & add one more test
3 years ago
liusm18 ae1a50673d Remove sigret.S
3 years ago
liusm18 7a97faee6c Add signal user lib
3 years ago
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 3edce0932f Bump Rust to nightly-2022-04-11 && support debugging in release mode
3 years ago
Yifan Wu 7408b1a7b2 Add boards/ && cargo clippy
3 years ago
Yifan Wu d1233cbb69 Support SIGABRT when the application panics.
3 years ago
Yifan Wu 1f55fbe4a2 Add some tests from ch2 && support SIGSEGV&SIGILL
3 years ago
Yifan Wu 0d189e9ad7 Cargo fmt
3 years ago
Yifan Wu 2f5cff7e21 cargo clippy
3 years ago
Yifan Wu 87e61ef7e9 Drop fd_table when a process exits; user_shell supports pipes
3 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 c0d41dccf6 Update os/Makefile, rm ... -f -> rm -f ...
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 7eda37a407 user base from 0x0->0x10000; user image size from 128MiB->16MiB
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 ff69985d79 Downgrade cargo-binutils to 0.2.0
4 years ago
Yifan Wu a09429b32c Link small sections in linker
4 years ago
Yifan Wu d57a160b32 Do not fetch tools when running on qemu.
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 920d077a66 Refactor easy-fs.
4 years ago
Yifan Wu 04114ad949 Remove Any Trait of File
4 years ago
Yifan Wu 9b65abcfa8 Fix lock uses in ch5
4 years ago
Yifan Wu fd75ac027a Mutex -> RefCell in Processor.
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 33373aa20d Bump rustsbi to 0.1.1 && make config of qemu/k210 different
4 years ago
Yifan Wu 4f7db8b92e Update os/Makefile && Update rust to 2021-01-30
4 years ago
Yifan Wu 9d7882a73d Do not clone KERNEL_SPACE in mm::init
4 years ago
Yifan Wu e588d40d70 Fix os/Makefile: Support macOS
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 208b827b5c Add env.
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