Commit Graph

132 Commits

Author SHA1 Message Date
c85986caed Correct OSDK profiling tool's behavior 2025-03-23 22:40:45 +08:00
58ad43b0a9 Adjust feature selection 2025-03-20 11:44:28 +08:00
2bcc13a9e2 force-unwind-tables=yes instead of panic=unwind 2025-03-20 11:44:28 +08:00
10926ce547 Include payload as bytes in EFI stub 2025-03-17 13:30:59 +08:00
288942b970 Revise the docs of the slab and remove an unused type 2025-03-14 21:17:47 +08:00
a708a0c046 Inject a scalable slab allocator 2025-03-14 19:55:00 +08:00
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
9c430b9901 Move the test kernel to OSDK/deps 2025-03-14 08:37:37 +08:00
9b8c6b5aa9 Update the toolchain version in template 2025-02-27 11:36:41 +08:00
cbb4b4e631 Fix lint errors 2025-02-27 11:36:41 +08:00
17c8da7459 Fix the problem that OSDK picks the test kernel by default 2025-02-21 21:17:29 +08:00
d74d126e64 Enhance OSDK profile stability for SMP 2025-02-21 09:54:36 +08:00
faf2bcc3ef Make cargo osdk profile more fine-grained 2025-02-13 16:01:40 +08:00
3e31df74e3 Fix an unfulfilled lint expectation on OSDK unit tests 2025-02-11 10:48:34 +08:00
0fc2bccd44 Let OSDK forward commands to the base crate if it is kernel 2025-02-11 10:48:34 +08:00
cb2d8412aa Refactor the generation of base crates 2025-02-11 10:48:34 +08:00
32a6025819 Refactor the parsing of OSDK crate types 2025-02-11 10:48:34 +08:00
0dca168717 Use #[expect(lint)], not #[allow(lint)] 2025-02-08 15:10:04 +08:00
397ce9652f Refactor boot modules to make heap allocation explicit 2025-01-02 10:41:51 +08:00
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