Commit Graph

43 Commits

Author SHA1 Message Date
Yuke Peng 1616f2d32c Change block device trait 2023-12-28 04:54:48 +08:00
Jianfeng Jiang 7b7e3c4b7a Rename the path of dependent crates 2023-12-26 11:49:24 +08:00
Jianfeng Jiang 99f6765ced Rename jinux to asterinas in documentation and code 2023-12-26 11:49:24 +08:00
Jianfeng Jiang 93781df27b Rename crates from jinux-* to aster-* 2023-12-26 11:49:24 +08:00
Chen Chengjun 47d2a895af Fix a bug and support more clockids in vdso. 2023-12-20 16:20:07 +08:00
Chen Chengjun 715072b9f3 Implement a high precision gettime based on tsc 2023-12-06 19:31:19 +08:00
Chuandong Li 0fd7a473da Support streaming dma mappings 2023-11-29 13:39:54 +08:00
Chuandong Li ceaba95fa0 Support coherent dma mappings 2023-11-29 13:39:54 +08:00
Yuke Peng edd808bd3d Refactor drivers 2023-11-23 09:15:37 +08:00
Yuke Peng 01e485b96e Support virtio console device 2023-11-23 09:15:37 +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
LI Qing 4c72f5b7fa Add VmSegment and rewrite the vm allocation code with VmAllocOptions 2023-11-08 06:31:21 +08:00
Yuke Peng 0c7df54513 Impl virtio-mmio transport 2023-10-30 09:39:23 +08:00
Yuke Peng 0ba24e90db Fix VIrtqueue bug 2023-10-12 00:08:36 -05:00
Yuke Peng d9fcb486c0 Support microvm boot option 2023-09-28 11:52:33 +08:00
Yuke Peng 939b429105 Fix virtio-pci device id error 2023-09-28 11:52:33 +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 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
Yuke Peng 50c10653fb Add InputProp comments 2023-09-03 13:36:05 +08:00
Chuandong Li 6d101c5b6d Use Mutex and RwLock in jinux-frame for jinux-std 2023-09-02 17:06:39 +08:00
Yuke Peng c38e4f0800 Replace InFramePtr with SafePtr 2023-08-09 11:57:53 +08:00
Zhang Junyang 69cbfc72f5 Refactor boot and add placeholder kcmdline struct 2023-08-04 11:37:34 +08:00
Zhang Junyang 8fc4fa6f10 Fix for new format checks in the latest toolchain 2023-08-04 11:37:12 +08:00
Zhang Junyang 605a237d53 Pacify the linter for supporting multiple devices 2023-08-04 11:37:12 +08:00
Zhang Junyang bbca1a2a80 Fix boot frambuffer usage 2023-08-04 11:37:12 +08:00
Zhang Junyang 901cbebe44 Fix spurious bitflags usage 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 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 15f3e46e3b Mark can_dma page in virtqueue 2023-07-13 22:57:56 +08:00
Yuke Peng 9bce8b879b Replace Location with PciDeviceLocation 2023-07-13 22:57:56 +08:00
Yuke Peng 829575b3a6 Upgrade POD and trapframe 2023-07-13 22:57:56 +08:00
Chuandong Li 78de1af348 Update spin lock users to lock_irq_disabled() 2023-07-03 13:22:44 +08:00
Jianfeng Jiang 7304e06c88 Add virtio net device driver 2023-06-01 14:39:19 +08:00
Jianfeng Jiang 2985cdced6 Replace Mutex with Spinlock in tty to avoid deadlock 2023-05-31 20:59:01 +08:00
Jianfeng Jiang d96fe31e36 Fix typos and add utils 2023-05-31 11:50:50 +08:00
Yuke Peng 3471843793 Fix virtio no interrupt received bug 2023-05-30 21:32:25 +08:00
Yuke Peng 42ecbe1b04 Change physical address accees to MMIO 2023-05-06 16:51:51 +08:00
Jianfeng Jiang 6cea03b871 Simplify current codes with TryFromNum 2023-05-04 16:49:22 +08:00
Jianfeng Jiang 271a16d492 Reorganize the codebase 2023-04-10 14:49:39 +08:00