Move CPU context implementations to a specific module

This commit is contained in:
Zhang Junyang
2025-03-05 15:17:32 +08:00
committed by Tate, Hongliang Tian
parent fc67adb1f0
commit f1c7564184
24 changed files with 49 additions and 38 deletions

View File

@ -2,7 +2,7 @@
use core::{num::NonZeroU64, sync::atomic::Ordering};
use ostd::{cpu::UserContext, sync::RwArc, task::Task, user::UserContextApi};
use ostd::{cpu::context::UserContext, sync::RwArc, task::Task, user::UserContextApi};
use super::{
posix_thread::{AsPosixThread, PosixThreadBuilder, ThreadName},