Commit Graph

43 Commits

Author SHA1 Message Date
56e9824dd1 Make current_cpu_racy a method of CpuId 2025-05-29 10:33:02 +08:00
89e8cd5936 Move functions related to spawning the init process to a seperate module 2025-05-09 13:19:57 +08:00
50ba735e96 Handle negative P(G)IDs via cast_(un)signed 2025-05-09 11:38:01 +08:00
7de9666e65 Retire incomplete features 2025-05-06 11:17:20 +08:00
88f08de3af Refactor framebuffer 2025-04-29 19:48:45 +08:00
85d4cdbbb0 Avoid excessive heap allocations in sys_futex 2025-04-15 21:56:15 +08:00
3e66732889 Parse netlink message 2025-04-15 17:20:12 +08:00
30ec0be210 Halt the idle CPUs 2025-03-21 21:19:50 +08:00
048fd1077c Inject post_schedule/user_page_fault handler to OSTD 2025-03-20 14:20:47 +08:00
d71771e49a Re-enable CFS 2025-02-11 10:51:12 +08:00
0dca168717 Use #[expect(lint)], not #[allow(lint)] 2025-02-08 15:10:04 +08:00
5ea366bced Move kcmdline parsing out of OSTD 2025-01-02 10:41:51 +08:00
397ce9652f Refactor boot modules to make heap allocation explicit 2025-01-02 10:41:51 +08:00
35c20620bc Rewrite exit() and exit_group() 2024-12-17 19:36:38 +08:00
285dde5546 Set affinity for BSP idle thread 2024-12-16 19:15:59 +08:00
0cb2ea562e Inject the logger for Asterinas 2024-12-04 13:24:06 +08:00
b17cbb2408 Finish bootstrap once finishing the initialization of OSTD 2024-12-04 13:24:06 +08:00
878f3f3760 Scheduling class support 2024-12-04 09:36:41 +08:00
6d3bb5a9d0 Fix compile error caused by updated Step::steps_between in Rust 2024-12-01 18:56:28 +08:00
f762eb8913 Remove the lazy_static dependency 2024-11-28 15:28:30 +08:00
a4a8807a20 Remove KernelThreadExt 2024-11-13 21:44:37 +08:00
5233827160 Don't preempt without good reason 2024-11-06 21:53:55 +08:00
3468ec213b Use CpuId with validity ensurance rather than u32 2024-10-26 22:06:41 +08:00
4658b62f90 Treat thread oops with better care to avoid silent panics 2024-10-22 10:08:24 +08:00
4823b82e41 Catch panics in threads as oops 2024-10-20 13:24:58 +08:00
a716763772 Remove the linkage feature usage for ostd::main 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
8927031426 Remove priority field from OSTD Task struct 2024-09-27 10:21:45 +08:00
81b0f265b5 Move Tid from Thread to PosixThread 2024-09-14 17:34:14 +08:00
63364813a8 Change idle task to lowest priority 2024-09-13 19:52:00 +08:00
3297976700 [Semaphore] Optimize the update_pending_ops 2024-08-30 22:52:24 +08:00
a72c7dadf3 Optimize the latency of lmbench-signal-prot 2024-08-28 14:27:41 +08:00
47be0a909b Schedule tasks to APs in aster-nix 2024-08-27 17:22:47 +08:00
32a1a53ee7 Enable check of atomic mode 2024-08-26 10:23:25 +08:00
dafd16075f Remove the shim kernel crate 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
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
c02eacd50c Use deny(unsafe_code) instead of forbid(unsafe_code) 2024-05-31 16:05:58 +08:00
a51b3c7076 Format OSDK documentation 2024-03-01 13:41:49 +08:00
e3c227ae06 Refactor project structure 2024-02-28 16:30:48 +08:00