Commit Graph

203 Commits

Author SHA1 Message Date
Chen Chengjun e6f3a6a8a4 Update docker image and add the benchmarks 2023-12-20 18:06:33 +08:00
Chen Chengjun 715072b9f3 Implement a high precision gettime based on tsc 2023-12-06 19:31:19 +08:00
Yuke Peng 01e485b96e Support virtio console device 2023-11-23 09:15:37 +08:00
Zhang Junyang c776954dfc Print backtrace when there is uncaught panic 2023-11-09 13:22:34 +08:00
Zhang Junyang 8eb1e06c2a Implement should_panic expectation and refactor ktest 2023-11-09 13:22:34 +08:00
Zhang Junyang 45a6b2f46c Implement should_panic for ktest and clear the codebase 2023-11-09 13:22:34 +08:00
Zhang Junyang bb0560530f Enable usermode unit test for specific crates 2023-11-09 13:22:34 +08:00
Zhang Junyang b8818bb740 Add ktest framework 2023-11-09 13:22:34 +08:00
LI Qing d7cc52c615 Update the version of pod 2023-11-09 03:38:37 +08:00
Yuke Peng 4d927fed19 Impl virtio-mmio bus 2023-10-30 09:39:23 +08:00
Yuke Peng eeac55e2e5 Refactor console 2023-10-30 09:39:23 +08:00
Zhang Junyang 0a17d90532 Polish namings and interfaces of linux boot 2023-10-26 12:05:12 +08:00
Zhang Junyang a532340c65 Implement linux x86 32bit legacy boot protocol 2023-10-26 12:05:12 +08:00
Zhang Junyang 9d0e0bbc70 Fix the rust setup machine state 2023-10-26 12:05:12 +08:00
Zhang Junyang 052fc795a5 Successfully entered setup rust entrypoint 2023-10-26 12:05:12 +08:00
Zhang Junyang 8910af1294 Update grub to 2.12-rc1 for efi bugfix 2023-10-26 12:05:12 +08:00
Zhang Junyang cdc2b960dc Switch to EFI boot and use official release for QEMU and GDB 2023-10-12 14:38:36 -05:00
Zhang Junyang aea8f38dc1 Implement boot setup and loader utils 2023-10-12 14:38:36 -05:00
Zhang Junyang d0c84e0b6f Add protected mode sub-crate for Linux boot setup 2023-10-12 14:38:36 -05:00
Zhang Junyang 7d5295ab25 Refactor build system, boot and added Linux Boot facilities 2023-10-12 14:38:36 -05:00
Jianfeng Jiang 0d6f6f001c Refactor the implementation 2023-10-10 16:52:40 -05:00
Chuandong Li 7419f6b56b Add the bottom half mechanism of workqueue 2023-10-09 18:08:15 -05:00
Yuke Peng 66a8b404c2 Support multiboot legacy protocol 2023-09-28 11:52:33 +08:00
Hsy-Intel c90f757b86 Polish tdx-guest crate and Jinux VE handler 2023-09-28 03:47:55 +08:00
Hsy-Intel 12fc074f56 Add tdx-guest crate 2023-09-28 03:47:55 +08:00
Yuke Peng 7d5e67e368 Refactor Virtio 2023-09-03 13:36:05 +08:00
Yuke Peng df42397cea Remove jinux-pci and hide PCI ports 2023-09-03 13:36:05 +08:00
Zhang Junyang 602c0e30fe Add version bumping mechanism 2023-08-14 10:45:01 +08:00
Yuke Peng c38e4f0800 Replace InFramePtr with SafePtr 2023-08-09 11:57:53 +08:00
LI Qing 4f00e5a167 Add devpts to support the ptmx 2023-08-09 11:11:24 +08:00
Zhang Junyang 187069fd34 Refactor runner scripts to introduce eval 2023-08-04 11:37:34 +08:00
Zhang Junyang 2e4b0432e0 Implement split instead of using heavy regex 2023-08-04 11:37:34 +08:00
Zhang Junyang 807c8355c0 Implement kernel command line with init configuring 2023-08-04 11:37:34 +08:00
Zhang Junyang 5cf624f9ac Update toolchain to nightly 08-01 2023-08-04 11:37:12 +08:00
Zhang Junyang 47a51eb423 Adapt Multiboot2 and switch from Limine to Grub2 2023-07-24 16:31:38 +08:00
LI Qing 13c4c614b5 Optimize the CpioEntry to send data to the Write trait 2023-07-24 15:30:23 +08:00
LI Qing 4b3cf8daeb Simplify the unzipping ramdisk file to reduce the heap allocation 2023-07-24 15:30:23 +08:00
Jianfeng Jiang 38ee2cafcd Inherit vmo at page granularity 2023-07-21 10:57:04 +08:00
Jianfeng Jiang 149e169b2c Drop parent once all inherited pages is committed by child 2023-07-21 10:57:04 +08:00
Jianfeng Jiang bf961756b9 Set process executable path to interpreter path 2023-07-18 00:14:04 +08:00
Yuke Peng a47b98b160 Support IOMMU 2023-07-13 22:57:56 +08:00
Yuke Peng 829575b3a6 Upgrade POD and trapframe 2023-07-13 22:57:56 +08:00
Jianfeng Jiang 5815f248fc Add syscall getrandom 2023-07-10 11:53:46 +08:00
LI Qing d692c102ae Support compressed initramfs image 2023-07-03 14:51:10 +08:00
Jianfeng Jiang 8e199f46ef Import inherit-methods-macro from seperate repo 2023-06-28 13:22:15 +08:00
LI Qing f301c70708 [cpio-decoder] Use TryFromInt for enum type 2023-06-27 12:52:14 +08:00
Jianfeng Jiang 7304e06c88 Add virtio net device driver 2023-06-01 14:39:19 +08:00
Jianfeng Jiang d96fe31e36 Fix typos and add utils 2023-05-31 11:50:50 +08:00
Yuke Peng b2f2c55c9b Impl SafePtr 2023-05-30 21:32:25 +08:00
Jianfeng Jiang 6cea03b871 Simplify current codes with TryFromNum 2023-05-04 16:49:22 +08:00
Jianfeng Jiang 6ecc7dc557 Add crate int-to-c-enum 2023-05-04 16:49:22 +08:00
LI Qing 0fc707d38c Add support for pipe and poll 2023-05-04 14:41:42 +08:00
Jianfeng Jiang 271a16d492 Reorganize the codebase 2023-04-10 14:49:39 +08:00