Ruihan Li
f720c05706
Fail the CI if workspace lints are not enabled
2025-05-03 18:22:11 +08:00
Fabing Li
79b0866259
Add sysfs implementation
2025-04-24 20:03:54 +08:00
Chen Chengjun
c3dd607777
Introduce RCU-based XArray
2025-04-19 16:48:15 +08:00
Zejun Zhao
1c881d30f6
Add RISC-V build CI
2025-04-18 13:26:16 +08:00
Zejun Zhao
4baff8e17b
Fallback to BIOS when using legacy boot protocols
2025-04-18 13:26:16 +08:00
Ruihan Li
78a9ec9e96
Support PE/COFF entry point
2025-03-27 09:13:41 +08:00
Zhang Junyang
58ad43b0a9
Adjust feature selection
2025-03-20 11:44:28 +08:00
Zhang Junyang
a708a0c046
Inject a scalable slab allocator
2025-03-14 19:55:00 +08:00
Zhang Junyang
5f05963ee5
Inject a scalable buddy system allocator to OSTD
...
Co-authored-by: Zhe Tang <tangzh@stu.pku.edu.cn>
2025-03-14 08:37:37 +08:00
Zhang Junyang
9c430b9901
Move the test kernel to `OSDK/deps`
2025-03-14 08:37:37 +08:00
Zhang Junyang
ea8fd6f785
Add a print in Makefile for the ktest target
2025-02-21 21:17:29 +08:00
Zhang Junyang
17c8da7459
Fix the problem that OSDK picks the test kernel by default
2025-02-21 21:17:29 +08:00
Ruize Tang
c4229e3c2f
Add INITRAMFS_SKIP_GZIP option to make initramfs encoding/decoding faster
2025-01-23 10:50:43 +08:00
Qingsong Chen
56a137dc56
Add mlsdisk as a component
...
Co-authored-by: Shaowei Song <songshaowei.ssw@antgroup.com>
2025-01-01 09:19:32 +08:00
jiangjianfeng
783345b90b
Add Bob Jenkins's hash algorithm
2024-12-30 09:46:14 +08:00
Ruize Tang
858e95ed4d
Enhance OSDK performance by reusing existing base, bundle and build
2024-12-15 16:42:57 +08:00
Ruize Tang
065a3bd1c3
Avoid inline comments in variable assignments in Makefile
2024-12-11 19:37:45 +08:00
Chen Chengjun
0cb2ea562e
Inject the logger for Asterinas
2024-12-04 13:24:06 +08:00
Zhang Junyang
a5b3a1d6dd
Unify the qemu arguments generation
2024-11-05 19:39:05 +08:00
Hsy-Intel
a0a8493f98
Add TDX compilation test
2024-11-05 14:57:03 +08:00
Jianfeng Jiang
7c3e3738a1
Enable tap mode network and vhost
2024-10-26 22:07:38 +08:00
Wang Siyuan
998869d57e
Refactor kernel virtual memory allocation for kernel stack and I/O memory
2024-10-21 09:53:05 +08:00
Chen Chengjun
2f511069ee
Move SoftIRQ implementations to softirq component
2024-10-18 09:35:40 +08:00
Zhang Junyang
e6d478c038
Temporarily disable self-decompression
2024-10-16 10:05:34 +08:00
Zhang Junyang
31aa3058c7
Make sure ktest finishes without aborts
2024-10-06 17:15:41 +08:00
Zhang Junyang
ab8b6afee5
OSDK GDB server args with QEMU-style options
2024-09-30 16:04:03 +08:00
Zhang Junyang
ecae3475cc
Integrate the SVG flame graph generation into OSDK
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
jellllly420
21fedd1b60
Implement atomic wrapper for integer-like type
2024-09-25 14:47:37 +08:00
Ruihan Li
67d3682116
Move smoltcp-related code to bigtcp
2024-09-13 21:31:20 +08:00
Fabing Li
32bfa76703
Reorganize the structure of benchmarks
2024-09-13 21:03:25 +08:00
Zhang Junyang
4fb4cb4c4a
Remove the `Makefile` dependency of `run` on phony `build`
2024-09-11 12:45:17 +08:00
Chen Chengjun
ba884127e2
Change kstack size to 7 when running benchmark
2024-08-29 12:31:03 +08:00
Zhang Junyang
d313674a2b
Add SMP tests with a general test blocklist
2024-08-27 17:22:47 +08:00
Chen Chengjun
d499c1592d
Add ldconfig to initramfs
2024-08-27 17:21:28 +08:00
Cautreoxit
b29d3b5409
Implement a typo checker
2024-08-27 12:19:48 +08:00
Zhang Junyang
d809a26a2f
Update OSDK testing behaviors in the Makefile and the CI
2024-08-25 20:42:04 +08:00
Zhang Junyang
dafd16075f
Remove the shim kernel crate
2024-08-23 23:37:50 +08:00
Zhang Junyang
d76c7a5b1e
OSDK check and clippy with `cfg(ktest)`
2024-08-23 23:37:50 +08:00
Zhang Junyang
be3492d7f0
Extract the OSTD test runner as a kernel
2024-08-23 23:37:50 +08:00
Chen Chengjun
7db9ae23a3
Make the kernel stack size configurable
2024-08-22 22:56:16 +08:00
Hsy-Intel
8317c4c1e8
Rename "intel_tdx" feature to "cvm_guest"
2024-08-09 17:11:12 +08:00
azongchang
6752baf166
Utilize libflate crate to compress and decompress payload
2024-08-05 15:36:55 +08:00
Zhang Junyang
bdabea09c2
Add SMP boot options
2024-07-30 10:24:09 +08:00
Jianfeng Jiang
f86583dbce
Make essential changes for publishing OSTD
2024-07-18 18:18:05 +08:00
Hsy-Intel
b73412c2ff
Fix known TDX issues
2024-07-09 19:43:55 +08:00
Yuke Peng
cf56bce57c
Pass kernel command line option to logger
2024-07-04 10:56:55 +08:00
Fabing Li
f675552c5a
Rename regression to test
2024-06-28 20:33:21 +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
Fabing Li
36841c50d4
Add benchmark CI for sysbench and getpid
2024-06-26 20:58:12 +08:00
Ruihan Li
90bab6b88e
Add missing `PHONY`s for `make` targets
2024-06-24 19:22:48 +08:00
Ruihan Li
284b8c28c8
Avoid long lines in `Makefile`s and workflows
2024-06-24 19:22:48 +08:00
Hsy-Intel
8c39309381
Add TDX dockerfile & CI for asterinas
2024-06-20 16:08:23 +08:00
Anmin Liu
9f67fcdc58
Reuse Rxbuffer and update `qemu_args.sh` for vsock
2024-06-11 17:51:36 +08:00
Anmin Liu
60dd17fdd3
Support calling from inside via vsock
2024-06-11 17:51:36 +08:00
Anmin Liu
48f69c25a9
Support nonblocking option
2024-06-11 17:51:36 +08:00
Anmin Liu
ad140cec3c
Implement vsock socket layer
2024-06-11 17:51:36 +08:00
Anmin Liu
83a7937334
Make vsock device optional
2024-06-11 17:51:36 +08:00
Zhang Junyang
d1990869ae
Make ID allocator a separate crate and use it in the frame
2024-05-09 14:35:12 +08:00
Jianfeng Jiang
bd0611f1e3
Enable lto when building release
2024-05-08 11:03:53 +08:00
Zhang Junyang
b4a357a971
Separate OSDK lint from kernel lint
2024-05-06 12:19:16 +08:00
Hsy-Intel
5e127b2da0
Remove local tdx-guest crate
2024-04-29 10:13:04 +08:00
Zhang Junyang
56175f63df
Re-implement OSDK debugging fixes and other facilities upon the refactor
...
This commit bring back the features introduced from d28292c to a52e432:
- Disable KVM when using GDB;
- Update docs about the GDB server address;
- Add `config` option for `CargoArgs` in OSDK;
- Ensure debug info added when debugging in the release profile.
2024-04-25 09:44:46 +08:00
Zhang Junyang
e4c2151566
Implement the next OSDK
2024-04-25 09:44:46 +08:00
Zhang Junyang
33c53dcf2b
Overhaul OSDK
2024-04-25 09:44:46 +08:00
Zhang Junyang
735d7b7b11
Prepare OSDK for multi arch support and the upcoming refactor
2024-04-25 09:44:46 +08:00
fgh1999
a52e43218e
Disable KVM when using GDB
2024-04-22 15:21:07 +08:00
Zhang Junyang
63be797c2d
Check if we truly pass the tests in auto test
2024-04-09 16:59:21 +08:00
fgh1999
88099df008
Add GDB targets in Makefile
2024-04-01 17:26:49 +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
c7383ef23d
Check OSDK crate when running `make check`
2024-03-22 10:39:23 +08:00
Jianfeng Jiang
aaf101a53e
Supporting running OSDK commands in workspace root
2024-03-22 10:39:23 +08:00
Yingdi Shan
650c7dfbad
Add exFAT file system
2024-03-19 16:26:55 +08:00
Ruihan Li
82de200d03
Format code automatically for regression tests
2024-03-18 11:20:46 +08:00
Zhang Junyang
160cb9cdb5
Make OSDK wrapped commands unified and fix make docs
2024-03-17 19:12:33 +08:00
Ruihan Li
4eff679eac
Fix dependencies of initramfs
2024-03-15 12:52:56 +08:00
Ruihan Li
26d17704bf
Put `.PHONY` notations near targets
2024-03-15 12:52:56 +08:00
Ruihan Li
e92cbd0e28
Fix dependencies of `install_osdk`
2024-03-15 12:52:56 +08:00
Jianfeng Jiang
853e475d29
Add rustfmt.toml for OSDK
2024-03-01 13:42:51 +08:00
Zhang Junyang
7d0ea99650
Hide OSDK installation if using Make
2024-02-28 16:30:48 +08:00
Zhang Junyang
f415585dff
Fix workspace clippy usage
2024-02-28 16:30:48 +08:00
Zhang Junyang
7eac2772d0
Gone with x86_64-custom
2024-02-28 16:30:48 +08:00
Zhang Junyang
e3c227ae06
Refactor project structure
2024-02-28 16:30:48 +08:00
Zhang Junyang
bd878dd1c9
Update dev image for OSDK and bump version to 0.4.0
2024-02-28 16:30:48 +08:00
Zhang Junyang
d98ed8cec1
Implement bundle content digest and cache
2024-02-28 16:30:48 +08:00
Zhang Junyang
f97d0f1260
Implement OSDK functionalities and opt-in OSDK for asterinas
2024-02-28 16:30:48 +08:00
Chen Chengjun
92e488e727
Add rustfmt.toml configuration to adjust the format of imports
2024-02-26 10:03:45 +08:00
Zhang Junyang
4835e48be1
Disambiguate runner args from krun args in Makefile
2024-01-30 20:15:53 +08:00
Jianfeng Jiang
0920a084e4
License Makefile, shell scripts, assembly source code, Dockerfile
2024-01-18 08:22:58 +08:00
Jianfeng Jiang
f8eca84a99
Refactor sock option implementations
2024-01-11 22:10:29 +08:00
Zhang Junyang
327e991477
Rename boot-wrapper to bzimage-setup
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
32e62080ce
Add EFI stub
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
ddca4fb2fc
Enable some fs system call test cases
2023-12-28 04:54:48 +08:00
Jianfeng Jiang
2b248dc326
Rename jinux-runner to aster-runner
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
e6f3a6a8a4
Update docker image and add the benchmarks
2023-12-20 18:06:33 +08:00