Commit Graph

49 Commits

Author SHA1 Message Date
cfcef6965a Adjust the format of imports in Asterinas 2024-02-26 10:03:45 +08:00
31998d1cd4 Refine the API of BlockDevice trait 2024-02-02 15:33:30 +08:00
2d605e04d1 Remove virtio-input-decoder dependence 2024-01-19 09:57:26 +08:00
faaa4438d6 License rust and c source files 2024-01-18 08:22:58 +08:00
1cc6116790 Remove a feature that goes stable 2024-01-02 07:21:36 +08:00
9473889c6b Add Ext2 fs and basic bio layer 2023-12-28 04:54:48 +08:00
1616f2d32c Change block device trait 2023-12-28 04:54:48 +08:00
7b7e3c4b7a Rename the path of dependent crates 2023-12-26 11:49:24 +08:00
99f6765ced Rename jinux to asterinas in documentation and code 2023-12-26 11:49:24 +08:00
93781df27b Rename crates from jinux-* to aster-* 2023-12-26 11:49:24 +08:00
47d2a895af Fix a bug and support more clockids in vdso. 2023-12-20 16:20:07 +08:00
715072b9f3 Implement a high precision gettime based on tsc 2023-12-06 19:31:19 +08:00
0fd7a473da Support streaming dma mappings 2023-11-29 13:39:54 +08:00
ceaba95fa0 Support coherent dma mappings 2023-11-29 13:39:54 +08:00
edd808bd3d Refactor drivers 2023-11-23 09:15:37 +08:00
01e485b96e Support virtio console device 2023-11-23 09:15:37 +08:00
b8818bb740 Add ktest framework 2023-11-09 13:22:34 +08:00
d7cc52c615 Update the version of pod 2023-11-09 03:38:37 +08:00
4c72f5b7fa Add VmSegment and rewrite the vm allocation code with VmAllocOptions 2023-11-08 06:31:21 +08:00
0c7df54513 Impl virtio-mmio transport 2023-10-30 09:39:23 +08:00
0ba24e90db Fix VIrtqueue bug 2023-10-12 00:08:36 -05:00
d9fcb486c0 Support microvm boot option 2023-09-28 11:52:33 +08:00
939b429105 Fix virtio-pci device id error 2023-09-28 11:52:33 +08:00
9ca64c281e Fix clippy and compiler warings 2023-09-05 18:42:06 +08:00
dbf5a423b1 Rename IrqAllocateHandle and move alloc functions 2023-09-03 13:36:05 +08:00
7d5e67e368 Refactor Virtio 2023-09-03 13:36:05 +08:00
df42397cea Remove jinux-pci and hide PCI ports 2023-09-03 13:36:05 +08:00
50c10653fb Add InputProp comments 2023-09-03 13:36:05 +08:00
6d101c5b6d Use Mutex and RwLock in jinux-frame for jinux-std 2023-09-02 17:06:39 +08:00
c38e4f0800 Replace InFramePtr with SafePtr 2023-08-09 11:57:53 +08:00
69cbfc72f5 Refactor boot and add placeholder kcmdline struct 2023-08-04 11:37:34 +08:00
8fc4fa6f10 Fix for new format checks in the latest toolchain 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
901cbebe44 Fix spurious bitflags usage 2023-08-04 11:37:12 +08:00
9cb759efa2 Add a runtime check for scheduler with spin locks 2023-07-25 12:56:06 +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
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
829575b3a6 Upgrade POD and trapframe 2023-07-13 22:57:56 +08:00
78de1af348 Update spin lock users to lock_irq_disabled() 2023-07-03 13:22:44 +08:00
7304e06c88 Add virtio net device driver 2023-06-01 14:39:19 +08:00
2985cdced6 Replace Mutex with Spinlock in tty to avoid deadlock 2023-05-31 20:59:01 +08:00
d96fe31e36 Fix typos and add utils 2023-05-31 11:50:50 +08:00
3471843793 Fix virtio no interrupt received bug 2023-05-30 21:32:25 +08:00
42ecbe1b04 Change physical address accees to MMIO 2023-05-06 16:51:51 +08:00
6cea03b871 Simplify current codes with TryFromNum 2023-05-04 16:49:22 +08:00
271a16d492 Reorganize the codebase 2023-04-10 14:49:39 +08:00