Commit Graph

177 Commits

Author SHA1 Message Date
Jianfeng Jiang 330e495560 refactor program loader 2023-03-15 10:41:02 +08:00
Jianfeng Jiang 63800a4f65 support running shell scripts 2023-03-15 10:41:02 +08:00
Jianfeng Jiang 896910b44a load elf from file 2023-03-15 10:41:02 +08:00
Jianfeng Jiang 57297e0cd5 support running shebang executables 2023-03-15 10:41:02 +08:00
Jianfeng Jiang a084c3b687 spilt kernel thread from process 2023-03-15 10:41:02 +08:00
Tate, Hongliang Tian 8f8649bfc1 update README files 2023-03-14 23:46:17 +08:00
Yuke Peng d4453b341f Rename variables and refactor KernelStack::new 2023-03-14 15:22:49 +08:00
Yuke Peng 3e9c4a8d45 Remove Cell 2023-03-14 15:22:49 +08:00
Yuke Peng 39ea6a417c Put Framework public APIs in categories 2023-03-14 15:22:49 +08:00
Yuke Peng cdc32f299c Use bits in frame_index as need_alloc flag 2023-03-14 15:22:49 +08:00
Yuke Peng 9bc9aa180d Pass argument to qemu 2023-03-14 15:22:49 +08:00
Yuke Peng eb2b951f7c Reuse trapframe 2023-03-14 15:22:49 +08:00
Yuke Peng 91b9501a1b Replace frame allocator with buddy system allocator 2023-03-14 15:22:49 +08:00
Yuke Peng 7fa72d2c3e Update buddy system allocator, remove unused crate 2023-03-14 15:22:49 +08:00
LI Qing 2aeefd9850 Add support for utimensat syscall 2023-03-13 22:53:16 +08:00
Jianfeng Jiang 6193770d00 refactor cargo-component tests 2023-03-08 16:27:29 +08:00
Jianfeng Jiang 394e146f3a add reexport test 2023-03-08 16:27:29 +08:00
Jianfeng Jiang 99e6ffb7f8 support controlling trait methods 2023-03-08 16:27:29 +08:00
Yuke Peng cd2d516be1 Reuse x86::apic 2023-03-08 16:21:33 +08:00
LI Qing 691b8cd598 Cancel all predefined rules of ramdisk makefile 2023-03-08 16:19:53 +08:00
LI Qing 1f3f91567a Add support for dup and dup2 2023-03-08 12:01:28 +08:00
Yuke Peng 4d3539f5ea Remove Upsafecell; Fix kernel cannot be tested bug 2023-03-08 12:00:04 +08:00
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