Commit Graph

30 Commits

Author SHA1 Message Date
131a25c15c Provide the way to override the panic handler. 2024-10-20 13:24:58 +08:00
2f511069ee Move SoftIRQ implementations to softirq component 2024-10-18 09:35:40 +08:00
9e4257b655 Fix multiple issues pointed out by the new compiler 2024-10-13 22:32:05 +08:00
4fa0e6334b Add RISC-V base support 2024-09-30 10:02:08 +08:00
839c2a6689 Extract shared code from timer 2024-09-30 10:02:08 +08:00
a754accf6a Copy the code from slab_allocator into OSTD and add license header 2024-09-22 12:27:04 +08:00
9a79ecbcbe Clean up the frame buffer state in ostd::mm 2024-09-21 15:38:15 +08:00
c2f7a10b84 Implement cpu_local with GS and ensure GS points to TSS 2024-09-19 13:00:36 +08:00
c8ba695c85 Implement VmIoOnce for IoMem 2024-09-17 17:46:56 +08:00
425027677b Add the inter-processor-call facilities 2024-09-13 20:10:03 +08:00
5feb8f5de8 Refactor the boot PT initialization for SMP 2024-08-27 17:22:47 +08:00
aeba7bec52 Fix SoftIRQ initialization requirements for SMP 2024-08-27 17:22:47 +08:00
86f09eef75 Fix all spelling mistakes in history by typos tool 2024-08-27 12:19:48 +08:00
32a1a53ee7 Enable check of atomic mode 2024-08-26 10:23:25 +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
491e4325fa Enable IRQs before leaving the OSTD boot routine 2024-08-13 20:34:26 +08:00
8317c4c1e8 Rename "intel_tdx" feature to "cvm_guest" 2024-08-09 17:11:12 +08:00
fe68b4b510 Generalize single instruction CPU local operations by cpu_local_cell 2024-08-08 19:21:03 +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
8acfc8eb6a Move CpuSet out of ostd::arch and implement this_cpu
Co-authored-by: Chuandong Li <lichuand@pku.edu.cn>
2024-07-30 10:24:09 +08:00
3ae884081f Fix both the preempt count atomicity and the CPU-local init problem 2024-07-25 13:20:09 +08:00
f86583dbce Make essential changes for publishing OSTD 2024-07-18 18:18:05 +08:00
4292ec2ebb Make intel_tdx feature as default 2024-07-16 21:22:29 +08:00
cf56bce57c Pass kernel command line option to logger 2024-07-04 10:56:55 +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
b7a3f1a540 Use volatile copy in VmReader/VmWriter 2024-06-28 20:23:24 +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