Commit Graph

50 Commits

Author SHA1 Message Date
Tao Su 91604c7b51 Stop hardcoding TDX guest object 2026-01-06 22:34:10 -08:00
jiangjianfeng f4fab3f38a Check non-OSDK crates with cfg(test) and without cfg(test) 2026-01-04 10:48:11 -08:00
Zhang Junyang dd410444e5 Format with new `rustfmt` 2025-12-09 09:23:58 +08:00
Ruihan Li 35d70fca71 Manage poweroff and restart handlers 2025-12-08 11:12:05 +08:00
Hsy-Intel 8617f5bc40 Remove duplicate QEMU parameters in the TDX environment 2025-11-18 19:54:32 +08:00
Ruihan Li 652657fba5 Drop duplicate public re-exports 2025-09-10 12:10:40 +08:00
Marsman1996 b04d62ae71 Use official minicov and add unit test for coverage feature 2025-07-22 10:31:56 +08:00
Hsy-Intel 48b160e33a Use default process name in TDX QEMU configuration 2025-07-10 10:13:51 +08:00
Zejun Zhao 3790f616fd Rename `PageProperty::new` to `PageProperty::new_user` 2025-06-03 18:42:53 +08:00
Zhang Junyang 79b3f68892 Make the RCU lifetime of page tables explicit 2025-05-24 17:42:17 +08:00
Hsy-Intel 6912cca51f Upgrade TDX stack and refactor the Asterinas Docker system 2025-04-25 09:44:33 +08:00
Zhang Junyang f1c7564184 Move CPU context implementations to a specific module 2025-03-21 21:19:50 +08:00
Chen Chengjun af4cf19eb4 Modify the 100-lines example 2025-03-20 14:20:47 +08:00
Zhang Junyang 397ce9652f Refactor boot modules to make heap allocation explicit 2025-01-02 10:41:51 +08:00
Zhang Junyang 983a6af3cc Polish the doc and rename variables in `ostd::mm` 2024-12-27 12:12:51 +08:00
Zhang Junyang cdac59beda Implement a new set of physical page APIs 2024-12-27 12:12:51 +08:00
Zhang Junyang c9a37ccab1 Renaming concepts around pages and frames
This commit renames `Frame` -> `UntypedFrame` and `Page` -> `Frame`.
So do other concepts in the following list:
 - `Segment` -> `UntypedSegment`,
 - `ContPages` -> `Segment`,
 - `DynPage` -> `AnyFrame`,
 - `PageMeta` -> `FrameMeta`,
 - `FrameMeta` -> `UntypedMeta`.

This commit also re-organized the source in the `mm/page` and `mm/frame`
module to accommodate the changes.
2024-12-27 12:12:51 +08:00
Ruize Tang 858e95ed4d Enhance OSDK performance by reusing existing base, bundle and build 2024-12-15 16:42:57 +08:00
Zhang Junyang a716763772 Remove the linkage feature usage for `ostd::main` 2024-10-20 13:24:58 +08:00
Zhang Junyang 909639fd70 Separate `SegmentSlice` from `Segment` 2024-10-09 19:23:46 +08:00
Zhang Junyang ab8b6afee5 OSDK GDB server args with QEMU-style options 2024-09-30 16:04:03 +08:00
Zhang Junyang eca9aacbf0 Introduce `cargo osdk profile` for flame graph profiling 2024-09-30 16:04:03 +08:00
Jianfeng Jiang f3174dbbbc Make task store Arc<Thread> and process store Arc<Task> 2024-09-14 17:34:14 +08:00
Zhang Junyang d9eccdcfbe Implement remote TLB flush on `VmSpace` 2024-09-13 20:10:03 +08:00
Cautreoxit 86f09eef75 Fix all spelling mistakes in history by typos tool 2024-08-27 12:19:48 +08:00
Zhang Junyang 4231645c02 Fix `is_tdx_enabled` in OSDK tests 2024-08-25 20:42:04 +08:00
Zhang Junyang be3492d7f0 Extract the OSTD test runner as a kernel 2024-08-23 23:37:50 +08:00
Shaowei Song 2102107be1 Refactor `VmReader`&`VmWriter` as given fallibility marker 2024-08-21 22:24:15 +08:00
Hsy-Intel 3a6768ecb2 Add TDX support for OSDK test 2024-08-13 20:27:21 +08:00
Marsman1996 8dc08dccba Add test for new crate with hypen 2024-08-08 19:55:15 +08:00
Zhang Junyang 37a9590cfe Refactor `ostd::task::processor` based on faster CPU-local cells 2024-08-08 19:21:03 +08:00
Zhang Junyang 20524ae64a Update the 100-line kernel and format it as well 2024-07-20 20:56:29 +08:00
Jianfeng Jiang f86583dbce Make essential changes for publishing OSTD 2024-07-18 18:18:05 +08:00
Jianfeng Jiang 72e726295f Include the 100 lines kernel in CI 2024-06-28 20:22:12 +08:00
Jianfeng Jiang 3de8a9330a Fix the OSDK CI failure 2024-06-27 15:45:49 +08:00
Jianfeng Jiang fe7251c413 Rename aster_main as ostd::main 2024-06-27 15:45:49 +08:00
Jianfeng Jiang 59350a8578 Rename aster-frame to ostd 2024-06-27 15:45:49 +08:00
Jianfeng Jiang 3b95191f7e Subcommand `new` should not parse CommonArgs 2024-06-09 22:55:01 +08:00
Jianfeng Jiang 1391ff59f2 Polish OSDK documentation 2024-06-09 22:55:01 +08:00
Chen Chengjun c02eacd50c Use deny(unsafe_code) instead of forbid(unsafe_code) 2024-05-31 16:05:58 +08:00
Jianfeng Jiang 32b1fb3723 Fix OSDK CI bugs & Build OSDK with stable channel in CI 2024-05-23 12:32:25 +08:00
Zhang Junyang e4c2151566 Implement the next OSDK 2024-04-25 09:44:46 +08:00
Zhang Junyang 3dce753c86 Multiple ways to specify OSDK new's type 2024-04-25 09:44:46 +08:00
Zhang Junyang 33c53dcf2b Overhaul OSDK 2024-04-25 09:44:46 +08:00
fgh1999 1d5744ae80 Add unit test for OSDK debug functions 2024-04-01 17:26:49 +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 951b2f98dd Run OSDK tests in host environment 2024-03-22 10:39:23 +08:00
Jianfeng Jiang 7d8e8aa07d Temporarily disable OSDK integration test 2024-03-01 13:41:49 +08:00
Zhang Junyang 6694f08eac Refactor CI and OSDK tests, add OSDK publish workflow 2024-02-28 16:30:48 +08:00