Commit Graph

147 Commits

Author SHA1 Message Date
Zhang Junyang 302b547a0d Bump version to 0.3.0 2024-01-02 07:21:36 +08:00
Zhang Junyang 85d4cfdeb7 Do mapping in the wrapper 2024-01-02 07:21:36 +08:00
Zhang Junyang e922eaa428 Fix errors raised by the new clippy 2024-01-02 07:21:36 +08:00
Zhang Junyang 6c50c10001 Remove unnecessary #[allow(unused)] 2024-01-02 07:21:36 +08:00
Zhang Junyang 9d2be39b83 Add unit test for linux-boot-params 2024-01-02 07:21:36 +08:00
Zhang Junyang 432f0c34b0 Bring both EFI and legacy to test 2024-01-02 07:21:36 +08:00
Zhang Junyang 487e0cdd15 Recognize kernel memory regions in the Linux boot path 2024-01-02 07:21:36 +08:00
Zhang Junyang e71c2701d6 Rename trojan to wrapper and add docs 2024-01-02 07:21:36 +08:00
Zhang Junyang 12d01ca1e4 Update image and Rust toolchain 2024-01-02 07:21:36 +08:00
Zhang Junyang 97323f612b Fix boot phase mappings 2024-01-02 07:21:36 +08:00
Zhang Junyang ebbe451cc4 Apply relocations to enable vtable 2024-01-02 07:21:36 +08:00
Zhang Junyang 32e62080ce Add EFI stub 2024-01-02 07:21:36 +08:00
Zhang Junyang acf4a057d9 Make trojan compile in 64-bit mode 2024-01-02 07:21:36 +08:00
Zhang Junyang 953ff66fcc Introduce the boot trojan 2024-01-02 07:21:36 +08:00
LI Qing 9473889c6b Add Ext2 fs and basic bio layer 2023-12-28 04:54:48 +08:00
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
Ruihan Li 14ee9c2dc7 Fix missing kernel/initramfs memory regions 2023-12-26 06:32:01 +08:00
Ruihan Li 7278589aa2 Prettify bootloader code 2023-12-26 06:32:01 +08:00
Ruihan Li af81741f23 Workaround for QEMU BUG that causes CI to hang 2023-12-14 11:28:24 +08:00
Yuke Peng f1a7c767d2 Fix IoMem read and write bugs 2023-12-14 11:26:37 +08:00
Chen Chengjun 715072b9f3 Implement a high precision gettime based on tsc 2023-12-06 19:31:19 +08:00
Chen Chengjun ba08895fc3 Fix the frequecy bug caused by IOAPIC 2023-12-06 19:31:19 +08:00
Chuandong Li 5aa3124e66 Make the upgrade method of read-write locks atomic 2023-12-06 10:40:11 +08:00
Chuandong Li 07dd0fbd38 Fix the misuse of spin::mutex 2023-12-06 10:22:03 +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
徐启航 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
Chuandong Li e9544d489f Rename some confusing booleans 2023-11-23 07:10:18 +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 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
Chen Chengjun cf1d4faab4 Fix a minor bug that lead to a crash in release mode 2023-11-06 08:55:48 +08:00
Yuke Peng 0c7df54513 Impl virtio-mmio transport 2023-10-30 09:39:23 +08:00