Commit Graph

13 Commits

Author SHA1 Message Date
Ruihan Li 1469059888 Implement `CurrentTask` 2024-11-13 10:32:54 +08:00
Zhang Junyang 47be0a909b Schedule tasks to APs in `aster-nix` 2024-08-27 17:22:47 +08:00
jellllly420 32a1a53ee7 Enable check of atomic mode 2024-08-26 10:23:25 +08:00
jellllly420 2ab4ba11bc Refactor preemption-related code in OSTD 2024-08-15 23:06:18 +08:00
jellllly420 f5464e82c0 Implement new scheduling API in OSTD 2024-08-15 23:06:18 +08:00
Zhang Junyang be54a39592 Remove the preempt guard from the IRQ guard 2024-08-13 20:34:26 +08:00
Zhang Junyang 37a9590cfe Refactor `ostd::task::processor` based on faster CPU-local cells 2024-08-08 19:21:03 +08:00
Zhang Junyang fe68b4b510 Generalize single instruction CPU local operations by `cpu_local_cell` 2024-08-08 19:21:03 +08:00
Zhang Junyang 3ae884081f Fix both the preempt count atomicity and the CPU-local init problem 2024-07-25 13:20:09 +08:00
Zhang Junyang 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
Ruihan Li 57ecfa2fec Add `#[must_use]` to all guard types 2024-07-02 12:41:52 +08:00
Chen Chengjun cd2b305fa8 Modify the userspace read/write usage location 2024-06-28 15:36:21 +08:00
Jianfeng Jiang 59350a8578 Rename aster-frame to ostd 2024-06-27 15:45:49 +08:00