Commit Graph

453 Commits

Author SHA1 Message Date
cf1d4faab4 Fix a minor bug that lead to a crash in release mode 2023-11-06 08:55:48 +08:00
040f5a53ae Fix panic when listen backlog is one 2023-11-03 08:52:39 +08:00
f6c230f756 Fix endless loops when send buffer is full 2023-11-03 08:51:37 +08:00
c5d04c41a2 Allow commit author emails to be @[stu.]pku.edu.cn 2023-11-01 14:52:47 +08:00
0c7df54513 Impl virtio-mmio transport 2023-10-30 09:39:23 +08:00
4d927fed19 Impl virtio-mmio bus 2023-10-30 09:39:23 +08:00
f789aa357f Fix SafePtr 2023-10-30 09:39:23 +08:00
0a6aeb4a36 Enable IOApic 2023-10-30 09:39:23 +08:00
eeac55e2e5 Refactor console 2023-10-30 09:39:23 +08:00
0a17d90532 Polish namings and interfaces of linux boot 2023-10-26 12:05:12 +08:00
33ec7dec02 Use dummy tests for other boot protocols 2023-10-26 12:05:12 +08:00
a532340c65 Implement linux x86 32bit legacy boot protocol 2023-10-26 12:05:12 +08:00
9d0e0bbc70 Fix the rust setup machine state 2023-10-26 12:05:12 +08:00
052fc795a5 Successfully entered setup rust entrypoint 2023-10-26 12:05:12 +08:00
922fbd0c91 Minor fix to get entrypoint in the right place 2023-10-26 12:05:12 +08:00
8910af1294 Update grub to 2.12-rc1 for efi bugfix 2023-10-26 12:05:12 +08:00
9c52f7aee7 Fix the incorrect nlinks decrease in ramfs 2023-10-23 07:48:26 +08:00
97c2f5065e Fix the memory ordering in subject 2023-10-17 00:23:37 -05:00
98bf3d4845 Remove Vnode to let the fs use PageCache for itself 2023-10-16 18:12:48 -05:00
aeea333945 Split kernel mode and user mode page table 2023-10-16 17:52:15 -05:00
c26eac757a Add timeout for CI jobs 2023-10-15 18:05:53 -05:00
fb884cd038 Fallback to regular paging for the boot pagetable 2023-10-13 02:24:31 -05:00
503252e8e8 Fix multiboot entry in UEFI boot 2023-10-12 14:38:36 -05:00
cdc2b960dc Switch to EFI boot and use official release for QEMU and GDB 2023-10-12 14:38:36 -05:00
aea8f38dc1 Implement boot setup and loader utils 2023-10-12 14:38:36 -05:00
d0c84e0b6f Add protected mode sub-crate for Linux boot setup 2023-10-12 14:38:36 -05:00
7d5295ab25 Refactor build system, boot and added Linux Boot facilities 2023-10-12 14:38:36 -05:00
6ff4601482 Fix: raw mode tty can echo and send signal 2023-10-12 14:35:39 -05:00
0ba24e90db Fix VIrtqueue bug 2023-10-12 00:08:36 -05:00
342bbdc0c4 Fix panic problem in tty driver 2023-10-10 16:52:40 -05:00
0d6f6f001c Refactor the implementation 2023-10-10 16:52:40 -05:00
50761a5cc5 Support wait_interruptible for Poller 2023-10-10 16:52:40 -05:00
d2aa06cbe2 Support wait_interruptible with SigQueueObserver 2023-10-10 16:52:40 -05:00
ec857e5205 Add timeout parameter for poller.wait 2023-10-10 16:52:40 -05:00
bd6a4d34ff Support timeout for WaitQueue 2023-10-10 16:52:40 -05:00
d28f0db419 Refactor tty driver using the work queue 2023-10-09 18:08:15 -05:00
7419f6b56b Add the bottom half mechanism of workqueue 2023-10-09 18:08:15 -05:00
e2b4302620 Add basic preemptive scheduling 2023-10-09 18:08:15 -05:00
baeaa9b4d3 Rename fork_vmar to fork_from 2023-09-28 11:53:53 +08:00
d9fcb486c0 Support microvm boot option 2023-09-28 11:52:33 +08:00
66a8b404c2 Support multiboot legacy protocol 2023-09-28 11:52:33 +08:00
939b429105 Fix virtio-pci device id error 2023-09-28 11:52:33 +08:00
e8a2779bca Polish trap handler code 2023-09-28 03:47:55 +08:00
f2b2c20967 Handle other CPU exceptions & use trait method 2023-09-28 03:47:55 +08:00
c90f757b86 Polish tdx-guest crate and Jinux VE handler 2023-09-28 03:47:55 +08:00
82518955d7 Abstract the virtual_exception_handler function. 2023-09-28 03:47:55 +08:00
4f0df44b29 Add tdx early init and ve handler functions 2023-09-28 03:47:55 +08:00
d7710207bb make tdcall and tdvmcall public and polish code 2023-09-28 03:47:55 +08:00
12fc074f56 Add tdx-guest crate 2023-09-28 03:47:55 +08:00
f540345bfd Use builder pattern to refactor the process module 2023-09-15 06:45:41 +08:00