Commit Graph

393 Commits

Author SHA1 Message Date
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
6d621dc4ef Fix vaddr to paddr error 2023-07-21 20:14:56 +08:00
3a3cb7cd15 Implement copy for VmFrame 2023-07-21 10:57:04 +08:00
38ee2cafcd Inherit vmo at page granularity 2023-07-21 10:57:04 +08:00
2c33f5dae1 Removed unused vmo type 2023-07-21 10:57:04 +08:00
38a78cc3ce Fix: fork vmo should be resizable if parent is resizable 2023-07-21 10:57:04 +08:00
149e169b2c Drop parent once all inherited pages is committed by child 2023-07-21 10:57:04 +08:00
ad0ab0898a Refactor vmo inherit page from parent 2023-07-21 10:57:04 +08:00
c452fc35c6 Implement rescue for heap allocator 2023-07-20 13:29:48 +08:00
9137ef434f Use docker as dev environment 2023-07-19 11:28:31 +08:00
bf961756b9 Set process executable path to interpreter path 2023-07-18 00:14:04 +08:00
15f3e46e3b Mark can_dma page in virtqueue 2023-07-13 22:57:56 +08:00
9bce8b879b Replace Location with PciDeviceLocation 2023-07-13 22:57:56 +08:00
a47b98b160 Support IOMMU 2023-07-13 22:57:56 +08:00
829575b3a6 Upgrade POD and trapframe 2023-07-13 22:57:56 +08:00
c21c25a7d5 Refactor page table 2023-07-13 22:57:56 +08:00
a5d719579d Remove redundant is_finished flag 2023-07-12 00:05:29 +08:00
445fb8eb76 Support nonblocking ip sockets 2023-07-10 11:53:46 +08:00