Commit Graph

113 Commits

Author SHA1 Message Date
ea1874aa46 Enhance OSDK performance by using size and modified time instead of sha256sum 2024-12-15 16:42:57 +08:00
9d82ac8958 Enhance OSDK performance by using hard link instead of copy 2024-12-15 16:42:57 +08:00
7601509e6e Fix OSDK original directory not restored if bundle validation fails 2024-12-15 16:42:57 +08:00
858e95ed4d Enhance OSDK performance by reusing existing base, bundle and build 2024-12-15 16:42:57 +08:00
18d5eb1f02 Use physical addresses in boot segments 2024-12-13 10:42:05 +08:00
a3ae1aa28a Make segments explicit and aligned 2024-12-13 10:42:05 +08:00
6eecde7812 Remove some unused sections 2024-12-13 10:42:05 +08:00
6d3bb5a9d0 Fix compile error caused by updated Step::steps_between in Rust 2024-12-01 18:56:28 +08:00
d67976da88 Support TDX debugging feature 2024-11-26 19:15:22 +08:00
5f35189a51 Add compile flags to disable the red zone optimization 2024-11-22 04:40:07 +08:00
d977fe54c6 Fix wrong serde name in OSDK 2024-10-26 20:44:45 +08:00
a716763772 Remove the linkage feature usage for ostd::main 2024-10-20 13:24:58 +08:00
131a25c15c Provide the way to override the panic handler. 2024-10-20 13:24:58 +08:00
3f1fa33b13 Bump and publish linux-bzimage crate series with OSTD and OSDK 2024-10-16 10:05:34 +08:00
662894ee90 Refine relocations in x86-64 EFI boot 2024-10-16 10:05:34 +08:00
e78303b01a Fix OSDK lint warnings from the new tool-chain 2024-10-14 16:41:15 +08:00
5f2bd9d0ac Update the Rust toolchain to nightly-2024-10-12 2024-10-13 22:32:05 +08:00
8e210c2241 Add ktest array to riscv64 linker 2024-10-08 11:47:01 +08:00
ab8b6afee5 OSDK GDB server args with QEMU-style options 2024-09-30 16:04:03 +08:00
43e3f8cf6b Update the OSDK default GDB socket 2024-09-30 16:04:03 +08:00
ecae3475cc Integrate the SVG flame graph generation into OSDK 2024-09-30 16:04:03 +08:00
a67a6e6a38 Add documentation for OSDK profiling 2024-09-30 16:04:03 +08:00
eca9aacbf0 Introduce cargo osdk profile for flame graph profiling 2024-09-30 16:04:03 +08:00
4fa0e6334b Add RISC-V base support 2024-09-30 10:02:08 +08:00
c2f7a10b84 Implement cpu_local with GS and ensure GS points to TSS 2024-09-19 13:00:36 +08:00
b3b5e136bd Delay the canonicalization until after processing the CLI arguments 2024-08-30 22:46:34 +08:00
86f09eef75 Fix all spelling mistakes in history by typos tool 2024-08-27 12:19:48 +08:00
d91573248c Fix local development version OSDK's out-tree behavior 2024-08-25 20:42:04 +08:00
f7a9510be0 Refactor the this_cpu API with PinCurrentCpu 2024-08-25 20:14:06 +08:00
d76c7a5b1e OSDK check and clippy with cfg(ktest) 2024-08-23 23:37:50 +08:00
be3492d7f0 Extract the OSTD test runner as a kernel 2024-08-23 23:37:50 +08:00
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