528 Commits

Author SHA1 Message Date
徐启航
576578baf4 Improve aquisition logic 2023-11-24 15:43:57 +08:00
徐启航
3790efb0d9 Fix unexpected unlock of mutexes 2023-11-24 15:43:57 +08:00
Ruihan Li
9e09196043 Timeout list should be accessed with IRQ disabled 2023-11-23 16:36:53 +08:00
Yuke Peng
232888982c Rename TrapInformation 2023-11-23 09:15:37 +08:00
Yuke Peng
edd808bd3d Refactor drivers 2023-11-23 09:15:37 +08:00
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
Yuke Peng
01e485b96e Support virtio console device 2023-11-23 09:15:37 +08:00
Chuandong Li
e9544d489f Rename some confusing booleans 2023-11-23 07:10:18 +08:00
Js2xxx
e38c737256 Add some comments 2023-11-23 06:57:16 +08:00
Js2xxx
135fae6152 Update mergeable emails 2023-11-23 06:57:16 +08:00
Chen Chengjun
5cc9f250dd Implement a guard page for the kernel stack 2023-11-13 08:43:14 +08:00
Zhang Junyang
c776954dfc Print backtrace when there is uncaught panic 2023-11-09 13:22:34 +08:00
Zhang Junyang
ec3daca5fd Add ktest whitelist support 2023-11-09 13:22:34 +08:00
Zhang Junyang
f8e4295e90 Reimplement the user mode test shortcut 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
0e7f279bd6 Enable CI for MicroVM 2023-11-08 13:50:10 +08:00
LI Qing
4c72f5b7fa Add VmSegment and rewrite the vm allocation code with VmAllocOptions 2023-11-08 06:31:21 +08:00
LI Qing
b0b25f9282 Add VmReader and VmWriter 2023-11-08 06:31:21 +08:00
Tate, Hongliang Tian
644ebe5ab2 Update the license 2023-11-07 08:34:24 +08:00
Chen Chengjun
5d75298144 Make integration test runs in release mode 2023-11-06 08:55:48 +08:00
Chen Chengjun
cf1d4faab4 Fix a minor bug that lead to a crash in release mode 2023-11-06 08:55:48 +08:00
Ruihan Li
040f5a53ae Fix panic when listen backlog is one 2023-11-03 08:52:39 +08:00
Ruihan Li
f6c230f756 Fix endless loops when send buffer is full 2023-11-03 08:51:37 +08:00
Ruihan Li
c5d04c41a2 Allow commit author emails to be @[stu.]pku.edu.cn 2023-11-01 14:52:47 +08:00
Yuke Peng
0c7df54513 Impl virtio-mmio transport 2023-10-30 09:39:23 +08:00
Yuke Peng
4d927fed19 Impl virtio-mmio bus 2023-10-30 09:39:23 +08:00
Yuke Peng
f789aa357f Fix SafePtr 2023-10-30 09:39:23 +08:00
Yuke Peng
0a6aeb4a36 Enable IOApic 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
33ec7dec02 Use dummy tests for other boot protocols 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
922fbd0c91 Minor fix to get entrypoint in the right place 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
LI Qing
9c52f7aee7 Fix the incorrect nlinks decrease in ramfs 2023-10-23 07:48:26 +08:00
LI Qing
97c2f5065e Fix the memory ordering in subject 2023-10-17 00:23:37 -05:00
LI Qing
98bf3d4845 Remove Vnode to let the fs use PageCache for itself 2023-10-16 18:12:48 -05:00
Yuke Peng
aeea333945 Split kernel mode and user mode page table 2023-10-16 17:52:15 -05:00
Zhang Junyang
c26eac757a Add timeout for CI jobs 2023-10-15 18:05:53 -05:00
Zhang Junyang
fb884cd038 Fallback to regular paging for the boot pagetable 2023-10-13 02:24:31 -05:00
Zhang Junyang
503252e8e8 Fix multiboot entry in UEFI boot 2023-10-12 14:38:36 -05: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