Commit Graph

709 Commits

Author SHA1 Message Date
LI Qing c3c6b0c19d Use Dma APIs for virtio-block driver 2024-04-11 15:22:18 +08:00
Jianfeng Jiang d8a841f88a Add DmaBuf for DMA-capable memory areas 2024-04-11 15:22:18 +08:00
LI Qing a60a8ad3e1 Support big file for Ext2 2024-04-10 13:44:12 +08:00
Ruihan Li bd8be26b30 Access the console device table with IRQ disabled 2024-04-10 12:14:28 +08:00
StanPlatinum e4fd51bc6f sigretrun --> sigreturn 2024-04-09 22:06:57 +08:00
Zhang Junyang 63be797c2d Check if we truly pass the tests in auto test 2024-04-09 16:59:21 +08:00
Zhang Junyang e3cb4d25e3 Fix the kernel stack alignment 2024-04-09 16:59:21 +08:00
Chen Chengjun afc4bf7520 Modify the behavior of mapping segment vmo 2024-04-08 18:54:46 +08:00
Chen Chengjun 33c8727a13 Introduce XArray and refactor the COW mechanism of Vmo 2024-04-08 18:54:46 +08:00
Chen Chengjun 233e1fac98 Add more getter methods for VmSpace 2024-04-08 18:54:46 +08:00
Ruihan Li acf956fa03 Fix the kernel page fault handler 2024-04-08 17:02:38 +08:00
Ruihan Li 849c6e3259 Introduce `PHYS_MEM_VADDR_RANGE` 2024-04-08 17:02:38 +08:00
nishirong 02e4cdc80e Fix kernel stack's underflowing initial rsp 2024-04-07 18:05:36 +08:00
Zhang Junyang 4dd707488d Fix a code format error in the trap handler 2024-04-03 15:19:08 +08:00
Yuke Peng e7e613db4e Implement kernel page fault handler 2024-04-03 13:34:20 +08:00
Jianfeng Jiang 97974c9cdc Bump version in github workflows to 0.4.2 2024-04-03 08:21:15 +08:00
Ruihan Li 3c31ec35cf Fix empty backtraces when panicking 2024-04-03 08:20:15 +08:00
Ruihan Li 198363c2d3 Speed up stack unwinding 2024-04-03 08:17:58 +08:00
Fabing Li 6335387104 Move mongoose source files to build/ 2024-04-02 17:58:03 +08:00
Fabing Li bdf5e3a578 Fix the failing book publish CI action 2024-04-02 17:47:04 +08:00
fgh1999 54109e7e9e Remove IRQ guard in `preempt()`
Fix #478.
Kernel preemption is not taken into account currently.
2024-04-02 09:03:59 +08:00
Zhang Junyang 6dec96c7e1 Respond to Cargo metadata format change 2024-04-01 20:17:48 +08:00
Jianfeng Jiang 10690063eb Reimplement reading cstring from user space 2024-04-01 17:31:15 +08:00
fgh1999 6ab6648b33 Bump version to 0.4.2
Add GDB in OSDK Dockerfile
2024-04-01 17:26:49 +08:00
fgh1999 1d5744ae80 Add unit test for OSDK debug functions 2024-04-01 17:26:49 +08:00
fgh1999 45a7aba5c9 Add docs for OSDK `debug` and `run` 2024-04-01 17:26:49 +08:00
fgh1999 35604198cd Update introductions to build and test instructions.
Add instructions for debugging via VS Code.
2024-04-01 17:26:49 +08:00
fgh1999 88099df008 Add GDB targets in Makefile 2024-04-01 17:26:49 +08:00
fgh1999 e616eb3a4c Add unix sockets for QEMU GDB in OSDK `run` command 2024-04-01 17:26:49 +08:00
fgh1999 28127850aa Add debug subcommand in OSDK 2024-04-01 17:26:49 +08:00
fgh1999 5fd3b1bc2f Support GDB server for `cargo osdk run`
Feature: generate launch config for debugging via VS Code.
2024-04-01 17:26:49 +08:00
Jianfeng Jiang a18fc9eb25 Write time to user only if addr is not zero 2024-04-01 13:58:18 +08:00
Jianfeng Jiang 8f51259a10 Remove unused fields from waiter 2024-03-29 15:04:29 +08:00
Yingdi Shan 679a8d8d98 Add asynchronous I/O supports for page cache 2024-03-27 17:57:41 +08:00
Jianfeng Jiang 223e8c2fe5 Update the asterinas version used by OSDK 2024-03-27 14:45:31 +08:00
Jianfeng Jiang d39036579b Downgrade intrusive-collections to 0.9.5 2024-03-27 12:03:53 +08:00
Fabing Li c8ec4bb8ba Add mongoose-based http example 2024-03-27 11:06:17 +08:00
Fabing Li 30a2553a70 Fix observer missing in socket for mongoose support 2024-03-27 11:06:17 +08:00
Jianfeng Jiang a2e9b0aaae Make background polling thread sleep 2024-03-25 18:32:11 +08:00
Fabing Li b450eef166 Add potential integer overflow check among Framework APIs 2024-03-25 16:55:54 +08:00
plucky dd64f58e55 Add test for chroot
Signed-off-by: plucky <m202372036@hust.edu.cn>
2024-03-25 16:34:35 +08:00
Zhenchen Wang 74c70e3b5a Update "Linux Compatibility" page
Signed-off-by: Zhenchen Wang <m202372036@hust.edu.cn>
2024-03-25 16:34:35 +08:00
Zhenchen Wang ed0752aacc Add syscall chroot
Signed-off-by: Zhenchen Wang <m202372036@hust.edu.cn>

Signed-off-by: Zhenchen Wang <m202372036@hust.edu.cn>
2024-03-25 16:34:35 +08:00
Chen Chengjun f924eb3694 Adding split functionality to VmMapping for optimizing page permission management 2024-03-23 09:45:29 +08:00
Ruihan Li 55054f4835 Enable RTC explicitly in MircoVM machine 2024-03-23 09:32:18 +08:00
Zhang Junyang 0b617dd76c Allow booting without initramfs 2024-03-23 09:12:38 +08:00
Jianfeng Jiang 5941d3e6eb Fix format errors 2024-03-22 15:01:18 +08:00
Jianfeng Jiang 63499c675c Add OSDK demos in Asterinas Book in OSDK integration test 2024-03-22 10:39:23 +08:00
Jianfeng Jiang 11ff0521e7 Add `--release` option for OSDK 2024-03-22 10:39:23 +08:00
Jianfeng Jiang c7383ef23d Check OSDK crate when running `make check` 2024-03-22 10:39:23 +08:00