Commit Graph

360 Commits

Author SHA1 Message Date
c321e411f6 Fix the bug caused by opt-level=1 2023-08-08 21:30:23 +08:00
84155289cf Update project status in README 2023-08-08 12:29:30 +08:00
7de44a0e0e Refine the name about initramfs
The bootloader loads the initramfs, then the kernel unpacks it to rootfs.
2023-08-04 17:19:19 +08:00
55267f0d81 Add Debug support for some fs components 2023-08-04 12:22:34 +08:00
acfbc7efdc Fix multiple issues in the initproc path 2023-08-04 11:37:34 +08:00
4a33020b4f Redesign the exposed configs of makefile and runner 2023-08-04 11:37:34 +08:00
bb5e9a2e97 Add github workflow config 2023-08-04 11:37:34 +08:00
37c7a99896 Use clippy with arguments 2023-08-04 11:37:34 +08:00
34860a4fa0 Make kvm cli configurable 2023-08-04 11:37:34 +08:00
f674874e91 Rename eval to syscall test and fix return value 2023-08-04 11:37:34 +08:00
d2cb607e3c Let eval automatically run syscall test 2023-08-04 11:37:34 +08:00
bb03be3cbd Refactor the build package to absorb the script 2023-08-04 11:37:34 +08:00
187069fd34 Refactor runner scripts to introduce eval 2023-08-04 11:37:34 +08:00
2e4b0432e0 Implement split instead of using heavy regex 2023-08-04 11:37:34 +08:00
1090f03b34 Use kcmdline to specify init instead of hardcoding 2023-08-04 11:37:34 +08:00
807c8355c0 Implement kernel command line with init configuring 2023-08-04 11:37:34 +08:00
69cbfc72f5 Refactor boot and add placeholder kcmdline struct 2023-08-04 11:37:34 +08:00
eb8eb440b3 Initialize FxsaveArea with zero 2023-08-04 11:37:12 +08:00
b54843172b Resolve minor issues in mmap 2023-08-04 11:37:12 +08:00
48ae6611f6 Fix bad partial ord implementation 2023-08-04 11:37:12 +08:00
8fc4fa6f10 Fix for new format checks in the latest toolchain 2023-08-04 11:37:12 +08:00
5cf624f9ac Update toolchain to nightly 08-01 2023-08-04 11:37:12 +08:00
e6f13a0612 Fix or workaround 4 errors from linter 2023-08-04 11:37:12 +08:00
605a237d53 Pacify the linter for supporting multiple devices 2023-08-04 11:37:12 +08:00
bbca1a2a80 Fix boot frambuffer usage 2023-08-04 11:37:12 +08:00
6b87ff03ac Fix mmap flags 2023-08-04 11:37:12 +08:00
901cbebe44 Fix spurious bitflags usage 2023-08-04 11:37:12 +08:00
18f601dc79 Fix vmo offset bug after unmapping 2023-08-01 20:49:48 +08:00
e6afa934dc Move methods of VmMapping to VmMappingInner 2023-08-01 20:49:48 +08:00
054f13e32f Support IOMMU page fault reporting 2023-08-01 20:49:04 +08:00
1bfd6ea2f8 Add mount and umount fs support 2023-08-01 20:45:39 +08:00
9cb759efa2 Add a runtime check for scheduler with spin locks 2023-07-25 12:56:06 +08:00
08f50ac085 Add mergeable bot configuration 2023-07-24 20:44:13 +08:00
c6145b450a Removed boot protocol configuring 2023-07-24 16:31:38 +08:00
cad808f05c Align the usable regions in the frame allocator 2023-07-24 16:31:38 +08:00
5012779e38 Fix memory region glob re-export 2023-07-24 16:31:38 +08:00
e3adb6e482 Fix params of truncate 2023-07-24 16:31:38 +08:00
b5e04ea5ad Fix boot documentations and comments 2023-07-24 16:31:38 +08:00
0ab7fcc408 Clean the iso directory before building boot image 2023-07-24 16:31:38 +08:00
6a7c6b035c Remove unnecessary build script 2023-07-24 16:31:38 +08:00
c932878dd1 Give multiboot2 entry magic a name 2023-07-24 16:31:38 +08:00
41d8e4228f Rename Rust entrypoint 2023-07-24 16:31:38 +08:00
e96884b72d Minor fixes, use small pages to make it work 2023-07-24 16:31:38 +08:00
d407d85e70 Adapt Docker environment and minor fixes 2023-07-24 16:31:38 +08:00
47a51eb423 Adapt Multiboot2 and switch from Limine to Grub2 2023-07-24 16:31:38 +08:00
49f2750108 Rename mmio to IoMem 2023-07-24 15:56:22 +08:00
a6dcdf6952 Implement the PCI bus framework 2023-07-24 15:56:22 +08:00
13c4c614b5 Optimize the CpioEntry to send data to the Write trait 2023-07-24 15:30:23 +08:00
4b3cf8daeb Simplify the unzipping ramdisk file to reduce the heap allocation 2023-07-24 15:30:23 +08:00
4c83ff9411 Rewrite cpio-decoder with Read trait as the input parameter 2023-07-24 15:30:23 +08:00