855 Commits

Author SHA1 Message Date
LI Qing
54119e80bc Add support for chdir and fchdir 2023-03-08 11:49:12 +08:00
LI Qing
c227c1e765 Polish the data filed initialization of cpio entry 2023-03-08 11:35:38 +08:00
Yuke Peng
0435902579 Replace bootloader with limine 2023-03-06 14:36:39 +08:00
Jianfeng Jiang
78e72fd94a reexport pod-derive in pod crate 2023-03-03 16:39:39 +08:00
Jianfeng Jiang
4645986337 add vmo and vmar tests; forbid clone vmo 2023-03-03 16:39:39 +08:00
Jianfeng Jiang
984a8259b2 fix wrong module name in test 2023-03-03 16:39:39 +08:00
LI Qing
7f80df621d Add support to prepare the initramfs from CPIO file 2023-03-03 15:31:35 +08:00
LI Qing
ece1a545ce Enhance the vnode 2023-03-03 15:31:35 +08:00
LI Qing
9606119028 Change the type of iterator for cpio-decoder 2023-03-03 15:31:35 +08:00
LI Qing
7326eb87a0 Fix the issue of parent dentry lookup 2023-03-02 13:30:12 +08:00
LI Qing
129ffcbd80 Do not decommit the page cahce when close file 2023-02-28 20:38:06 +08:00
LI Qing
c16c01a33b Fix the issue of ramfs's size and nlinks 2023-02-28 20:38:06 +08:00
Yuke Peng
df12904c5a Rename tests and function name. 2023-02-28 20:37:19 +08:00
Yuke Peng
e4323f808c Component initialization mechanism complete 2023-02-28 20:37:19 +08:00
LI Qing
4f3e359892 Add support for rename syscall 2023-02-27 15:16:15 +08:00
LI Qing
df82142c9d Add support for symlink and readlink syscall 2023-02-27 15:16:15 +08:00
LI Qing
4e3dfe93da Add support for lseek syscall 2023-02-27 15:16:15 +08:00
LI Qing
116b687cae Add correct stat syscall support 2023-02-27 15:16:15 +08:00
Tate, Hongliang Tian
036f75505d
Merge pull request #84 from liqinggd/dev-add-cpio-decoder
Add the cpio-decoder crate
2023-02-27 13:17:22 +08:00
LI Qing
289ec0d474 Add the cpio-decoder crate 2023-02-27 10:49:42 +08:00
Tate, Hongliang Tian
af4a0caa26
Merge pull request #85 from sdww0/log
Support for log crate
2023-02-23 20:55:30 +08:00
Yuke Peng
e8e61c56ee Support for log crate 2023-02-22 22:57:19 +08:00
Tate, Hongliang Tian
c7ade129e9
Merge pull request #75 from liqinggd/dev-fs-syscall
Add some basic fs syscalls
2023-02-20 22:13:40 +08:00
LI Qing
5965d72998 Add link, unlink, mkdir, rmdir syscalls 2023-02-16 17:47:46 +08:00
LI Qing
f3fa998e7b Add support for open syscall 2023-02-16 16:41:21 +08:00
LI Qing
15d2e07a8c Add support for close syscall 2023-02-16 16:41:21 +08:00
Tate, Hongliang Tian
551406b9f4
Merge pull request #71 from liqinggd/dev-fs-impl
Enhance the fs code in std
2023-02-15 21:53:43 +08:00
Tate, Hongliang Tian
df1e2203cf
Merge pull request #72 from ClawSeven/dev_scheduler
Reimplement scheduler with intrusive linked list
2023-02-15 21:41:13 +08:00
ClawSeven
3f8deaa28b Reimplement scheduler with intrusive linked list 2023-02-15 17:29:39 +08:00
LI Qing
67daf91eb0 Enhance the fs code in std
1. Add the fs information into process
2. Polish the fs code structure in std
2023-02-15 15:16:27 +08:00
Tate, Hongliang Tian
f0d27c0c7f
Merge pull request #61 from StevenJiang1110/components
add cargo-component
2023-02-14 11:11:58 +08:00
Jianfeng Jiang
f6f87ec1e5 add cargo-component 2023-02-10 15:58:25 +08:00
Tate, Hongliang Tian
c172373b54
Merge pull request #59 from StevenJiang1110/thread-ref
Implement posix thread; Add tty canonical support
2023-01-19 15:40:48 +08:00
Jianfeng Jiang
6b37f0f956 implement canonical line discipline 2023-01-17 14:57:58 +08:00
Jianfeng Jiang
1e89933a99 implement posix thread 2023-01-17 14:53:45 +08:00
Jianfeng Jiang
7e6591aab2 refactor process implementation 2023-01-17 14:40:26 +08:00
Tate, Hongliang Tian
6651a642d3
Merge pull request #57 from liqinggd/dev-pagecache
Add page cache manager as the pager for vmo
2023-01-17 12:30:15 +08:00
LI Qing
01dba4b137 Add support to handle file lookup with dentry cache 2023-01-16 15:36:51 +08:00
LI Qing
93dfaa1cd8 Add ramfs 2023-01-13 16:45:28 +08:00
LI Qing
4a3b0576b2 Add page cache manager as the pager for vmo 2023-01-13 16:45:28 +08:00
Tate, Hongliang Tian
4629b8a15e
Merge pull request #56 from sdww0/main
Real Time Clock support, read special character from QEMU console
2023-01-06 11:22:30 +08:00
Yuke Peng
f2e5af6eda qemu console special character input 2023-01-02 18:40:34 -08:00
Yuke Peng
66f582e3a6 rtc, non-blocking console input support 2023-01-02 18:40:01 -08:00
Tate, Hongliang Tian
85b8253a2c
Merge pull request #55 from liqinggd/dev-vfs
Add essential vfs support
2023-01-02 20:17:46 +08:00
LI Qing
1a17cee704 Add essential vfs support 2022-12-30 15:19:25 +08:00
Tate, Hongliang Tian
f0f61638b9
Merge pull request #54 from sdww0/main
Refactor virtio code; Add APIC , console interrupt support
2022-12-27 09:41:10 +08:00
Yuke Peng
46497554d2 refactor virtio code; APIC , console interrupt support 2022-12-26 04:33:27 -08:00
Tate, Hongliang Tian
1d401fd8fc
Merge pull request #52 from StevenJiang1110/vm-cap
Implement vm capability and refactor current codes with vm capability
2022-12-16 16:39:48 +08:00
Jianfeng Jiang
174fdc07ea refactor current implementations with vmar and vmo 2022-12-15 11:52:58 +08:00
Jianfeng Jiang
52531c6cb6 add page fault handler 2022-12-15 11:43:50 +08:00