Commit Graph

132 Commits

Author SHA1 Message Date
cad36ecdab Don't inherit OSDK manifest values from workspace root 2024-08-23 23:37:50 +08:00
8317c4c1e8 Rename "intel_tdx" feature to "cvm_guest" 2024-08-09 17:11:12 +08:00
923ca16d32 Make code more readable 2024-08-08 19:55:15 +08:00
ae63aa699b Fix panic when OSDK creating crate with - in its name 2024-08-08 19:55:15 +08:00
05564ecd4f Abort on double panics 2024-08-08 19:21:03 +08:00
fe68b4b510 Generalize single instruction CPU local operations by cpu_local_cell 2024-08-08 19:21:03 +08:00
6752baf166 Utilize libflate crate to compress and decompress payload 2024-08-05 15:36:55 +08:00
393c9019c0 Boot application processors into spin loops
Co-authored-by: Chuandong Li <lichuand@pku.edu.cn>
2024-07-30 10:24:09 +08:00
91d524c19a Allow debugging with KVM enabled 2024-07-29 22:46:32 +08:00
3ae884081f Fix both the preempt count atomicity and the CPU-local init problem 2024-07-25 13:20:09 +08:00
eb5356c492 Set EM_386 only in x86 2024-07-22 21:47:37 +08:00
f86583dbce Make essential changes for publishing OSTD 2024-07-18 18:18:05 +08:00
0f8d8da372 Refactor code related to CPU local memory
Co-authored-by: Chuandong Li <lichuand@pku.edu.cn>
2024-07-03 17:40:53 +08:00
72e726295f Include the 100 lines kernel in CI 2024-06-28 20:22:12 +08:00
5f7cf245ac Enable exception table mechanism 2024-06-28 15:36:21 +08:00
3de8a9330a Fix the OSDK CI failure 2024-06-27 15:45:49 +08:00
fe7251c413 Rename aster_main as ostd::main 2024-06-27 15:45:49 +08:00
59350a8578 Rename aster-frame to ostd 2024-06-27 15:45:49 +08:00
18b11ec193 Fix debug target path in OSDK 2024-06-26 19:09:46 +08:00
237c223b1c Update the aster-frame version used by OSDK 2024-06-24 11:11:43 +08:00
46fd09833e Update the Rust toolchain to 2024-06-20 2024-06-21 10:57:08 +08:00
a089fbd4fc Fix a needless borrow in OSDK 2024-06-21 10:57:08 +08:00
eaf51ccb24 Fix multiple dead code problems 2024-06-21 10:57:08 +08:00
8633893bb9 Add cfg(ktest) as a well-known configuration 2024-06-21 10:57:08 +08:00
ab1d931cb7 Adjust for Rust unstable feature's stability change 2024-06-21 10:57:08 +08:00
c06c1aa422 Fix bad ASTER_GIT_REV 2024-06-18 12:45:03 +08:00
6cf28751c6 Not add project_type if the manifest is in workspace root 2024-06-09 22:55:01 +08:00
3b95191f7e Subcommand new should not parse CommonArgs 2024-06-09 22:55:01 +08:00
1391ff59f2 Polish OSDK documentation 2024-06-09 22:55:01 +08:00
74e4623e70 Let OSDK allow specifying additional boot drive options 2024-06-07 10:46:06 +08:00
37e23a16a3 Bring OSDK's full support of QCOW2 booting 2024-06-07 10:46:06 +08:00
c02eacd50c Use deny(unsafe_code) instead of forbid(unsafe_code) 2024-05-31 16:05:58 +08:00
da3e279ac6 Increase memory size and change boot mode in CI 2024-05-31 15:19:17 +08:00
f581ebdd03 Add workarounds for slow memcpy 2024-05-28 22:35:25 +08:00
8e874e6a88 Let OSDK print source lines of the panic stack trace 2024-05-23 12:37:57 +08:00
f420286920 Make stripping ELF optional for QEMU direct boot 2024-05-23 12:37:57 +08:00
32b1fb3723 Fix OSDK CI bugs & Build OSDK with stable channel in CI 2024-05-23 12:32:25 +08:00
ccc4e6ec6b Move whole kernel ELF to VMA 2024-05-15 21:31:09 +08:00
57f4ed778d Update proper dep for builder in OSDK and allow publishing 2024-05-08 15:41:32 +08:00
ee740020d0 Use clone_from in OSDK instead of assigning clones 2024-05-06 12:19:16 +08:00
cc4111cab2 Remove the vars mechanism in OSDK and polish documents 2024-04-25 09:44:46 +08:00
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
f9ac2ee498 Fix OSDK feature selection 2024-04-25 09:44:46 +08:00
e4c2151566 Implement the next OSDK 2024-04-25 09:44:46 +08:00
3dce753c86 Multiple ways to specify OSDK new's type 2024-04-25 09:44:46 +08:00
33c53dcf2b Overhaul OSDK 2024-04-25 09:44:46 +08:00
735d7b7b11 Prepare OSDK for multi arch support and the upcoming refactor 2024-04-25 09:44:46 +08:00
d28292cec4 Add debuginfo when using GDB in release profile 2024-04-22 15:21:07 +08:00
94550dd5c6 Add config option for CargoArgs 2024-04-22 15:21:07 +08:00
a52e43218e Disable KVM when using GDB 2024-04-22 15:21:07 +08:00