Commit Graph

3418 Commits

Author SHA1 Message Date
Chen Chengjun 738d14f3c0 Modify the CI workflows 2026-01-13 11:53:34 -08:00
Chen Chengjun ed333aa2c9 Add tests for podman -it 2026-01-13 11:53:34 -08:00
Chen Chengjun d193ba821a Migrate the original NixOS tests using the new framework 2026-01-13 11:53:34 -08:00
Chen Chengjun c439df3d02 Introduce a test framework for Asterinas NixOS 2026-01-13 11:53:34 -08:00
Chen Chengjun bae5de9e8f Move test/* to test/initramfs/* 2026-01-13 11:53:34 -08:00
wyt8 4fa2b55e47 Place the heap after bss segment 2026-01-13 22:01:15 +08:00
wyt8 dac3e94bea Consider the PIE condition when loading the ELF 2026-01-13 22:01:15 +08:00
Ruihan Li 3d27b376d7 Keep various things sorted 2026-01-13 00:15:43 -08:00
Marsman1996 d9f4229e6c Fix panic in `add_posix_timer` 2026-01-13 11:06:09 +08:00
Marsman1996 8335ba22d9 Fix stack overflow handling in InitStackWriter by validating positions before writing 2026-01-12 15:57:31 +08:00
Wang Siyuan 1e77c0a938 Cleanup: Use `AtomicStatusFlags::new(flags)` instead of `AtomicU32::new(flags.bits())` 2026-01-11 17:00:23 -08:00
Wang Siyuan 4a88b6aa86 Add regression tests 2026-01-11 17:00:23 -08:00
Wang Siyuan 138401b0ab Remove `PathOrInode` 2026-01-11 17:00:23 -08:00
Wang Siyuan fedd6dc196 Apply pseudo `Path` to members of `anon_inodefs` 2026-01-11 17:00:23 -08:00
Wang Siyuan 0565dd1349 Apply pseudo `Path` to sockets 2026-01-11 17:00:23 -08:00
Wang Siyuan bbb6a63ee4 Apply pseudo `Path` to anonymous pipes and remove `AnonPipeFile` 2026-01-11 17:00:23 -08:00
Wang Siyuan 8eade9b631 Move pipe ktests into `pipe::common` 2026-01-11 17:00:23 -08:00
Wang Siyuan b25e41dd4f Apply pseudo `Path` to memfd files and remove `MemfdFile` 2026-01-11 17:00:23 -08:00
Wang Siyuan e6361e5242 Add pseudo `Path` 2026-01-11 17:00:23 -08:00
Wang Siyuan cb5449cf2a Add pseudo `Dentry` 2026-01-11 17:00:23 -08:00
Wang Siyuan fe633972f3 Add pseudo `Mount` 2026-01-11 17:00:23 -08:00
jiangjianfeng 184e803869 Use accurate build time only when publishing 2026-01-08 20:02:57 -08:00
Tao Su 8ace76978e Add unit tests for DMA `alloc` and `alloc_uninit()` 2026-01-07 22:38:50 -08:00
Tao Su 1442060c2d Introduce `DmaStream::alloc` to reduce memory copy in TDX 2026-01-07 22:38:50 -08:00
Tao Su fc2e8d95c9 Add `DmaCoherent::alloc_uninit()` and defer zeroing to `DmaCoherent::alloc()` 2026-01-07 22:38:50 -08:00
Ruihan Li 922b204280 Move `Pipe` from `InodeImpl` to `Inode` 2026-01-07 15:41:14 +08:00
Tao Su 91604c7b51 Stop hardcoding TDX guest object 2026-01-06 22:34:10 -08:00
Tao Su 284e193823 Support QOM format when parsing QEMU arguments 2026-01-06 22:34:10 -08:00
Ruihan Li 413f459e20 Find present pages in xarray 2026-01-07 10:31:57 +08:00
Qingsong Chen 33f370966d Rename aster-nix to aster-kernel 2026-01-06 16:16:17 -08:00
Wang Siyuan bb9b979586 Support allocating inodes from `PseudoFs` 2026-01-06 14:26:06 +08:00
Wang Siyuan 02a04f1365 Polling a `fd` opened with `O_PATH` should return `POLLNVAL` 2026-01-06 14:26:06 +08:00
Wang Siyuan 1bf5b398dc Remove `inode_handle/dyn_cap.rs` and `HandleInner` 2026-01-06 14:26:06 +08:00
Wang Siyuan f2b9e356f1 Reorder `HandleInner` methods to clarify diff 2026-01-06 14:26:06 +08:00
Yuke Peng 4213908366 pci: Improves PCI device enumeration by suppporting multi-function detection 2026-01-05 19:08:34 -08:00
Yuke Peng c825c0d2c8 pci: Add `PciHeaderType` & `PciDeviceType` and refactor `BarManager` 2026-01-05 19:08:34 -08:00
Yuke Peng 7634a27ba6 pci: Split the configuration space offset into device-specific 2026-01-05 19:08:34 -08:00
Zhenchen Wang 3dd881dec5 Improve fsnotify functions to pass name information more effectively 2026-01-05 13:45:25 -08:00
Zhang Junyang d7cefdb761 Fix the DMA debug assertion regression 2026-01-05 20:59:42 +08:00
Ruihan Li 7ed0152d83 Remove some fdinfo attributes 2026-01-04 21:18:02 -08:00
Ruihan Li d461f81ecb Optimize `copy_to_user` 2026-01-04 21:18:02 -08:00
Ruihan Li 2155869920 Refactor `try_read` 2026-01-04 21:18:02 -08:00
Ruihan Li 4a93b34e3d Refactor `add_watch` and `remove_watch` 2026-01-04 21:18:02 -08:00
Ruihan Li 1ab7550c83 Fix comment styles and outdated comments 2026-01-04 21:18:02 -08:00
zzjrabbit a42b4cd078 Fix all occurrences of "grub.protocol" in OSDK.toml 2026-01-04 11:39:02 -08:00
Chen Chengjun 6288c057b0 Handle the QEMU exit code 2026-01-04 10:54:51 -08:00
jiangjianfeng 976f088712 Get package version via cargo metadata 2026-01-04 10:51:36 -08:00
jiangjianfeng 52085063bf Update bump_version.sh 2026-01-04 10:51:36 -08:00
jiangjianfeng c09654887c Let mlsdisk use Pod from OSTD 2026-01-04 10:51:36 -08:00
jiangjianfeng 6f54cc56e7 Move int-to-c-enum from kernel/libs to ostd/libs 2026-01-04 10:51:36 -08:00