Commit Graph

155 Commits

Author SHA1 Message Date
Zichun Yu b51c8ebea3 Merge lsm-yzc-merge 2022-04-19 23:10:34 +08:00
DeathWish5 b700eec2d6 delete unused code, format some code 2022-04-19 19:37:54 +08:00
liusm18 d2bc0b5fb7 Fix align issues in riscv 2022-04-19 17:34:35 +08:00
Zichun Yu 8497aeea23 Merge master 2022-04-19 15:40:12 +08:00
liusm18 59c6de2d74 Fix a code format 2022-04-17 11:53:10 +08:00
liusm18 a191f57ff3 Fix some codeing style issues 2022-04-17 11:43:01 +08:00
Zichun Yu 296766831a Add UserInPtr in thread.rs 2022-04-16 12:29:14 +08:00
Zichun Yu 4d346d263e Fix conflicts 2022-04-16 11:19:54 +08:00
liusm18 c1e5bc0897 Fix align issues 2022-04-15 19:12:04 +08:00
DeathWish5 16206b1a52 merge master 2022-04-12 22:56:29 +08:00
liusm18 3b8eaa17be Remove hard codes in handle_signal() 2022-04-11 14:32:13 +08:00
liusm18 008175ce2b Remove some useless comments 2022-04-11 11:10:39 +08:00
DeathWish5 8b6f0c0e00 remove kernel-sync feature 2022-04-06 17:23:51 +08:00
Zichun Yu 3c1e8f66a3 Fix conflicts 2022-04-05 20:32:45 +08:00
liusm18 9caed02182 Implement signals 2022-04-05 07:44:57 +08:00
Zichun Yu 767e9dd745 Fix pthread_cond & pthread_tsd & ... 2022-04-04 19:30:52 +08:00
Zichun Yu 65eec60ac6 Try to fix mutex and robust (still have bugs) 2022-04-03 00:04:48 +08:00
Luoyuan Xiao 6e1cc2297d
Merge branch 'master' into mergeBranch 2022-03-31 15:56:30 +08:00
YdrMaster 297a95d0d4 feat: 实现串口设备伪文件及其挂载 2022-03-29 12:24:33 +08:00
YdrMaster 0d5602bca0 build: 依赖新版本的 `rcore-fs` 2022-03-29 12:24:33 +08:00
YdrMaster c9d90f97de fix: 修正 TimeSpec 定义 2022-03-29 12:24:33 +08:00
DeathWish5 090b6af383 cargo fmt and clippy 2022-03-28 17:50:16 +08:00
DeathWish5 202f6296b2 add lock support for libos mode 2022-03-28 17:39:54 +08:00
DeathWish5 3559a39b1f remove Mutex in drivers::irq::intc::{xxx_handler} 2022-03-24 15:07:05 +08:00
YdrMaster 497a70d15a style: 修改风格,减少提前 return 2022-03-24 13:06:23 +08:00
YdrMaster c46f80c8eb build: 依赖最新的 rcore-fs 2022-03-23 16:42:04 +08:00
YdrMaster 6fc573cec8 feat: 实现 `statfs` 和 `fstatfs` 两个系统调用 2022-03-23 16:35:37 +08:00
DeathWish5 682d274998 restore to spin_lock 2022-03-23 16:06:43 +08:00
DeathWish5 9916e19a83 refactor lock to kernel-sync 2022-03-22 17:25:43 +08:00
liusm18 d13f66b7f3 Change urls for git & modify default make params 2022-03-20 16:57:11 +08:00
DeathWish5 8770e25478 ... 2022-03-14 14:17:01 +08:00
DeathWish5 e9a417963c add no-irq rwlock 2022-03-07 17:41:23 +08:00
DeathWish5 e153f5713e use intrrupt Mutex instead of spin::Mutex 2022-02-25 15:11:37 +08:00
GCYYfun 8278dc13b3 feat: new add clock_nanosleep syscall interface in linux-syscall 2022-01-28 15:19:21 +08:00
GCYYfun d7a86f331c fix: remove some unused code and format code 2021-12-31 00:53:27 +08:00
GCYYfun f4983a8a2e feat: support socket operation with file 2021-12-31 00:40:32 +08:00
GCYYfun f06dfca43c fix: format code 2021-12-28 17:13:51 +08:00
GCYYfun 99d960a0f2 feat: add loopback function 2021-12-28 17:05:10 +08:00
elliott10 c6c3da31e6 Update rust toolchain to fix test CI errors 2021-12-24 16:45:24 +08:00
Yuekai Jia 78322d6f31 Merge crates zircon-loader and linux-loader into one crate 2021-10-27 00:00:16 +08:00
Yuekai Jia 91d57d4409 Add more docs to kernel-hal 2021-10-26 17:53:07 +08:00
Yuekai Jia 9b6c1f5928 Set `libos` as the default feature, update CI 2021-10-26 01:55:48 +08:00
Yuekai Jia 806c9d104b Add linux_object::fs::rcore_fs_wrapper
And add directory zCore to cargo workspace
2021-10-26 01:31:22 +08:00
Yuekai Jia 73ca749513 move the libos entry point to zCore directory to share common codes
(linux mode only)
2021-10-23 02:06:58 +08:00
Yuekai Jia e1672fc9e3 kernel-hal: add mod boot to support SMP 2021-10-21 16:58:36 +08:00
Yuekai Jia 25f65c164d drivers: update APIs to get devices from kernel-hal 2021-10-20 17:08:51 +08:00
Yuekai Jia 8c2fbdfffb drivers: minor update 2021-10-17 23:36:18 +08:00
Yuekai Jia 87ec296b37 drivers: introduce EventScheme and macro impl_event_scheme 2021-10-16 19:37:46 +08:00
Yuekai Jia a9a13d4a8e update rcore-fs to 7c232ec 2021-10-15 23:05:49 +08:00
Yuekai Jia 0ba6b97f2a drivers: support device inode /dev/eventX 2021-10-15 20:48:28 +08:00