Commit Graph

401 Commits

Author SHA1 Message Date
Luoyuan Xiao b9286f834d update kernel-sync version 2022-09-07 14:45:23 +08:00
YdrMaster 877112308a fix: 整理 deny warnings,更新文档
Signed-off-by: YdrMaster <ydrml@hotmail.com>
2022-07-23 18:13:24 +08:00
YdrMaster 44cbbbe72e fix & cleanup & todo:
remove unnecessary unstable features and global allowings

Signed-off-by: YdrMaster <ydrml@hotmail.com>
2022-07-23 10:00:17 +08:00
DeathWish5 1b12fd12c9 bug fix: multi-threads proc may dead lock. use lock::Mutex replace all spin::Mutex. 2022-06-26 22:07:36 +08:00
YdrMaster 8255af3e71 build: 清理 Cargo.toml 2022-06-10 15:49:11 +08:00
luchangcheng2333 aaf369efe8 merge upstream 2022-05-31 10:33:05 +08:00
luchangcheng2333 f98da37ed9 实现了使用xtask启动zCore aarch64 2022-05-28 22:25:42 +08:00
luchangcheng2333 d53432fab7 merge from upstream 2022-05-21 21:46:10 +08:00
YdrMaster ebd4de4682 style 2022-05-12 16:56:55 +08:00
luchangcheng2333 a90b5dadc5 暂时使用自己修改的lock 2022-05-10 21:13:35 +08:00
YdrMaster 1efacbffc9 refactor: naked_function
利用 naked_fuction 内联汇编,减少全局符号表内容,并移除独立的汇编文件
2022-04-29 09:58:04 +08:00
Zichun Yu b51c8ebea3 Merge lsm-yzc-merge 2022-04-19 23:10:34 +08:00
Zichun Yu 8497aeea23 Merge master 2022-04-19 15:40:12 +08:00
DeathWish5 16206b1a52 merge master 2022-04-12 22:56:29 +08:00
YdrMaster 99f21ba488 refactor(drivers): 修改 io
- 根据 wikipedia,pio 改名 pmio
- 为 mmio 读写增加内存屏障
- 为 io 补充文档
2022-04-09 23:14:45 +08:00
DeathWish5 8b6f0c0e00 remove kernel-sync feature 2022-04-06 17:23:51 +08:00
Zichun Yu 767e9dd745 Fix pthread_cond & pthread_tsd & ... 2022-04-04 19:30:52 +08:00
DeathWish5 202f6296b2 add lock support for libos mode 2022-03-28 17:39:54 +08:00
YdrMaster 3cc3374c87 refactor: 尽量减少对用户指针传入的数组的拷贝 2022-03-25 11:36:56 +08:00
YdrMaster 5783d60f9b refactor(kernel-hal): 移除全部对用户指针传入的字符串的拷贝 2022-03-25 09:15:20 +08:00
DeathWish5 974c5a887a delete unused comments/output 2022-03-24 17:50:34 +08:00
YdrMaster bfe7339816 fix: 修正 zircon 专用 2022-03-24 16:51:28 +08:00
DeathWish5 682d274998 restore to spin_lock 2022-03-23 16:06:43 +08:00
DeathWish5 5b8c17cc2e merge master 2022-03-22 22:26:25 +08:00
DeathWish5 9916e19a83 refactor lock to kernel-sync 2022-03-22 17:25:43 +08:00
DeathWish5 e9a417963c add no-irq rwlock 2022-03-07 17:41:23 +08:00
DeathWish5 d6d80b0bf6 ... 2022-03-07 15:07:42 +08:00
DeathWish5 e153f5713e use intrrupt Mutex instead of spin::Mutex 2022-02-25 15:11:37 +08:00
Yuekai Jia 180081bae7 tests: update Makefile 2022-02-23 21:02:12 +08:00
Yuekai Jia 30831ed711 Add helper functions for UserContext to kernel-hal 2021-10-31 13:04:04 +08:00
Yuekai Jia d791c52700 Move ThreadSwitchFuture from kernel-hal to zircon-object 2021-10-30 14:27:03 +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 d8e6aca2f9 drivers: support graphic console output 2021-10-05 04:50:30 +08:00
Yuekai Jia aff922d3bc drivers: update some interfaces related to the interrupt 2021-09-24 00:27:54 +08:00
Yuekai Jia 022d7f0e96 drivers: implement EventListener 2021-09-18 16:33:32 +08:00
Yuekai Jia 994f8b80f2 drivers: add mock drivers for libos
And use a unified serial driver in kernel-hal
2021-09-16 23:45:14 +08:00
Yuekai Jia 8b6be6a876 drivers: initial framework 2021-09-15 23:17:57 +08:00
Yuekai Jia 91f082ce18 kernel-hal: refactor for riscv bare-metal 2021-09-05 23:54:19 +08:00
Yuekai Jia ceacbc9d9c kernel-hal: refactor for x86_64 bare-metal 2021-09-05 15:30:12 +08:00
Yuekai Jia 3b0e3296e8 kernel_hal: add macros to generate default functions automatically 2021-09-04 17:35:44 +08:00
Yuekai Jia 937c86f01d kernel-hal: refactor for libos 2021-09-04 17:08:05 +08:00
Yuekai Jia 5c33799a04 Better module usage in zircon-object/dev/pci 2021-09-03 17:57:53 +08:00
DeathWish5 23a6193783 When run on unix, 'map_range' := true. Now it can run into component_manager 2021-08-28 10:22:43 +08:00
Yu Chen 939b63f898 fix bugs in shown in 'cargo clippy --all-features' 2021-07-27 22:11:09 +08:00
Yu Chen d9e22795e5 disable RVM crate temporarily 2021-07-27 21:46:35 +08:00
Runji Wang 1207746b1a vmo: refactor new_contiguous 2021-04-04 23:00:57 +08:00
Runji Wang 254f36e92c fix cargo doc and libc-tests 2021-03-02 12:20:59 +08:00
Runji Wang 9722caf226 fix cargo clippy 2021-03-01 21:02:56 +08:00