30 Commits

Author SHA1 Message Date
Yuke Peng
d809eca81d Rename print in framework to early_print 2023-11-23 09:15:37 +08:00
Yuke Peng
34e66a51d9 Reimplement print in std 2023-11-23 09:15:37 +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
b0b25f9282 Add VmReader and VmWriter 2023-11-08 06:31:21 +08:00
Yuke Peng
eeac55e2e5 Refactor console 2023-10-30 09:39:23 +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
d0c84e0b6f Add protected mode sub-crate for Linux boot setup 2023-10-12 14:38:36 -05:00
Jianfeng Jiang
0d6f6f001c Refactor the implementation 2023-10-10 16:52:40 -05:00
Jianfeng Jiang
bd6a4d34ff Support timeout for WaitQueue 2023-10-10 16:52:40 -05:00
Hsy-Intel
c90f757b86 Polish tdx-guest crate and Jinux VE handler 2023-09-28 03:47:55 +08:00
Hsy-Intel
4f0df44b29 Add tdx early init and ve handler functions 2023-09-28 03:47:55 +08:00
Jianfeng Jiang
9ca64c281e Fix clippy and compiler warings 2023-09-05 18:42:06 +08:00
Yuke Peng
dbf5a423b1 Rename IrqAllocateHandle and move alloc functions 2023-09-03 13:36:05 +08:00
Yuke Peng
d7bf193bf1 Change IoMem creation to unsafe 2023-09-03 13:36:05 +08:00
Zhang Junyang
7b390d9f8a Runner should return error if qemu itself fails 2023-08-14 10:45:01 +08:00
Zhang Junyang
f674874e91 Rename eval to syscall test and fix return value 2023-08-04 11:37:34 +08:00
Zhang Junyang
69cbfc72f5 Refactor boot and add placeholder kcmdline struct 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
Chuandong Li
9cb759efa2 Add a runtime check for scheduler with spin locks 2023-07-25 12:56:06 +08:00
Zhang Junyang
e96884b72d Minor fixes, use small pages to make it work 2023-07-24 16:31:38 +08:00
Zhang Junyang
47a51eb423 Adapt Multiboot2 and switch from Limine to Grub2 2023-07-24 16:31:38 +08:00
Yuke Peng
49f2750108 Rename mmio to IoMem 2023-07-24 15:56:22 +08:00
Yuke Peng
a6dcdf6952 Implement the PCI bus framework 2023-07-24 15:56:22 +08:00
Jianfeng Jiang
c452fc35c6 Implement rescue for heap allocator 2023-07-20 13:29:48 +08:00
Yuke Peng
a47b98b160 Support IOMMU 2023-07-13 22:57:56 +08:00
Yuke Peng
5656805520 Impl MMIO access method 2023-05-06 16:51:51 +08:00
Jianfeng Jiang
271a16d492 Reorganize the codebase 2023-04-10 14:49:39 +08:00