Luoyuan Xiao
b9286f834d
update kernel-sync version
2022-09-07 14:45:23 +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
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
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
Zichun Yu
65eec60ac6
Try to fix mutex and robust (still have bugs)
2022-04-03 00:04:48 +08:00
YdrMaster
0d5602bca0
build: 依赖新版本的 `rcore-fs`
2022-03-29 12:24:33 +08:00
DeathWish5
202f6296b2
add lock support for libos mode
2022-03-28 17:39:54 +08:00
YdrMaster
25402e96ee
test(linux-syscall): 增加编译期测试以保证 linux 定义的类型定义正确
...
docs(linux-syscall): 改正文档引用了非公开类型的问题
2022-03-23 16:56:21 +08:00
YdrMaster
c46f80c8eb
build: 依赖最新的 rcore-fs
2022-03-23 16:42:04 +08:00
DeathWish5
9916e19a83
refactor lock to kernel-sync
2022-03-22 17:25:43 +08:00
DeathWish5
e153f5713e
use intrrupt Mutex instead of spin::Mutex
2022-02-25 15:11:37 +08:00
Yuekai Jia
9b6c1f5928
Set `libos` as the default feature, update CI
2021-10-26 01:55:48 +08:00
Yuekai Jia
a9a13d4a8e
update rcore-fs to 7c232ec
2021-10-15 23:05:49 +08:00
Yuekai Jia
b57745bd52
drivers: add virtio-input device, support /dev/mice
2021-10-13 20:34:05 +08:00
Yuekai Jia
5920b12cd4
drivers: add MockMemory for libos mode
...
And also
* speed up mmap execution time on macos
* support to mmap /dev/fb0 for libos mode
2021-10-11 10:54:21 +08:00
Yuekai Jia
f02e9b7423
drivers: support to mmap /dev/fb0
2021-10-10 15:03:45 +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
Runji Wang
ddde5ae1e7
update dependencies
2021-03-01 20:32:18 +08:00
Ben Pig Chu
fb21ec519e
Update rcore-fs
2020-09-22 22:47:29 +08:00
myub
32bfac2fa5
add async select
2020-08-26 01:02:42 -07:00
Yukiteru Lee
2f34c8cfb6
Add some syscalls of signal ( #155 )
2020-08-17 00:19:56 +08:00
Yukiteru Lee
2c6893e043
add some syscalls and add stdin ( #131 )
...
* add sys_getrandom and sys_nanosleep
* add stdin
* fix sys_nanosleep
* update rcore-fs and add sys_poll
* add sys_prlimit64
* fix color problem of ls
* fix a problem of compiling zCore
* add gdbinit for make debug
* fix typo of flag
* Update linux-syscall/src/file/poll.rs
Co-authored-by: Runji Wang <wrj19@mails.tsinghua.edu.cn>
* Update linux-syscall/src/file/poll.rs
Co-authored-by: Runji Wang <wrj19@mails.tsinghua.edu.cn>
* remove comment
* remove pub at inner
* fix a problem of pointer
* fix arg of nanosleep
* Update linux-syscall/src/misc.rs
Co-authored-by: Runji Wang <wrj19@mails.tsinghua.edu.cn>
* remove pub
* fix a problem of null ptr in sys_prlimit
Co-authored-by: Runji Wang <wrj19@mails.tsinghua.edu.cn>
2020-08-11 21:05:50 +08:00
myub
f0c94c5280
add time syscalls
2020-08-08 08:21:40 -07:00
Runji Wang
4b00460244
linux: syscall number type
2020-06-18 12:23:20 +08:00
Runji Wang
e726707120
update nightly to 2020-03-22 and remove core-futures-tls
...
WARN: fix a bug of weak linkage ABI mismatch.
there maybe more need to fix later.
2020-03-22 12:14:14 +08:00
Runji Wang
41f95b2d4e
refactor: split 'linux-object' crate
2020-02-07 11:00:55 +08:00
Runji Wang
9fd429a2d5
linux: implement sys_futex and clear_tid_address.
...
NOTE: async fn works!
2020-01-31 21:41:00 +08:00
Runji Wang
6f630f1e4c
hal: move common code to 'kernel-hal' crate
2020-01-30 13:42:06 +08:00
Runji Wang
c0d3eecc5f
linux: move loader into syscall crate. partial implement sys_execve.
2020-01-28 02:11:55 +08:00
Runji Wang
f08bab9a90
linux: fix libc.so, file system works
2020-01-26 15:28:32 +08:00
Runji Wang
9ce033e2a7
linux: copy and fix some code from rCore
2020-01-26 01:50:53 +08:00
Runji Wang
6d23c17c05
linux: add some code from rCore
2020-01-25 02:59:35 +08:00
Runji Wang
26d124dee4
add crate 'linux-loader' and 'linux-syscall'
2020-01-22 23:50:59 +08:00