Commit Graph

318 Commits

Author SHA1 Message Date
cdc32f299c Use bits in frame_index as need_alloc flag 2023-03-14 15:22:49 +08:00
9bc9aa180d Pass argument to qemu 2023-03-14 15:22:49 +08:00
eb2b951f7c Reuse trapframe 2023-03-14 15:22:49 +08:00
91b9501a1b Replace frame allocator with buddy system allocator 2023-03-14 15:22:49 +08:00
7fa72d2c3e Update buddy system allocator, remove unused crate 2023-03-14 15:22:49 +08:00
2aeefd9850 Add support for utimensat syscall 2023-03-13 22:53:16 +08:00
6193770d00 refactor cargo-component tests 2023-03-08 16:27:29 +08:00
394e146f3a add reexport test 2023-03-08 16:27:29 +08:00
99e6ffb7f8 support controlling trait methods 2023-03-08 16:27:29 +08:00
cd2d516be1 Reuse x86::apic 2023-03-08 16:21:33 +08:00
691b8cd598 Cancel all predefined rules of ramdisk makefile 2023-03-08 16:19:53 +08:00
1f3f91567a Add support for dup and dup2 2023-03-08 12:01:28 +08:00
4d3539f5ea Remove Upsafecell; Fix kernel cannot be tested bug 2023-03-08 12:00:04 +08:00
54119e80bc Add support for chdir and fchdir 2023-03-08 11:49:12 +08:00
c227c1e765 Polish the data filed initialization of cpio entry 2023-03-08 11:35:38 +08:00
0435902579 Replace bootloader with limine 2023-03-06 14:36:39 +08:00
78e72fd94a reexport pod-derive in pod crate 2023-03-03 16:39:39 +08:00
4645986337 add vmo and vmar tests; forbid clone vmo 2023-03-03 16:39:39 +08:00
984a8259b2 fix wrong module name in test 2023-03-03 16:39:39 +08:00
7f80df621d Add support to prepare the initramfs from CPIO file 2023-03-03 15:31:35 +08:00
ece1a545ce Enhance the vnode 2023-03-03 15:31:35 +08:00
9606119028 Change the type of iterator for cpio-decoder 2023-03-03 15:31:35 +08:00
7326eb87a0 Fix the issue of parent dentry lookup 2023-03-02 13:30:12 +08:00
129ffcbd80 Do not decommit the page cahce when close file 2023-02-28 20:38:06 +08:00
c16c01a33b Fix the issue of ramfs's size and nlinks 2023-02-28 20:38:06 +08:00
df12904c5a Rename tests and function name. 2023-02-28 20:37:19 +08:00
e4323f808c Component initialization mechanism complete 2023-02-28 20:37:19 +08:00
4f3e359892 Add support for rename syscall 2023-02-27 15:16:15 +08:00
df82142c9d Add support for symlink and readlink syscall 2023-02-27 15:16:15 +08:00
4e3dfe93da Add support for lseek syscall 2023-02-27 15:16:15 +08:00
116b687cae Add correct stat syscall support 2023-02-27 15:16:15 +08:00
036f75505d Merge pull request #84 from liqinggd/dev-add-cpio-decoder
Add the cpio-decoder crate
2023-02-27 13:17:22 +08:00
289ec0d474 Add the cpio-decoder crate 2023-02-27 10:49:42 +08:00
af4a0caa26 Merge pull request #85 from sdww0/log
Support for log crate
2023-02-23 20:55:30 +08:00
e8e61c56ee Support for log crate 2023-02-22 22:57:19 +08:00
c7ade129e9 Merge pull request #75 from liqinggd/dev-fs-syscall
Add some basic fs syscalls
2023-02-20 22:13:40 +08:00
5965d72998 Add link, unlink, mkdir, rmdir syscalls 2023-02-16 17:47:46 +08:00
f3fa998e7b Add support for open syscall 2023-02-16 16:41:21 +08:00
15d2e07a8c Add support for close syscall 2023-02-16 16:41:21 +08:00
551406b9f4 Merge pull request #71 from liqinggd/dev-fs-impl
Enhance the fs code in std
2023-02-15 21:53:43 +08:00
df1e2203cf Merge pull request #72 from ClawSeven/dev_scheduler
Reimplement scheduler with intrusive linked list
2023-02-15 21:41:13 +08:00
3f8deaa28b Reimplement scheduler with intrusive linked list 2023-02-15 17:29:39 +08:00
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
f0d27c0c7f Merge pull request #61 from StevenJiang1110/components
add cargo-component
2023-02-14 11:11:58 +08:00
f6f87ec1e5 add cargo-component 2023-02-10 15:58:25 +08:00
c172373b54 Merge pull request #59 from StevenJiang1110/thread-ref
Implement posix thread; Add tty canonical support
2023-01-19 15:40:48 +08:00
6b37f0f956 implement canonical line discipline 2023-01-17 14:57:58 +08:00
1e89933a99 implement posix thread 2023-01-17 14:53:45 +08:00
7e6591aab2 refactor process implementation 2023-01-17 14:40:26 +08:00
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