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

@ -7,7 +7,7 @@ use alloc::{
};
use ostd::{
cpu::{cpuid, CpuException, CpuExceptionInfo, RawGeneralRegs, UserContext},
cpu::context::{cpuid, CpuException, CpuExceptionInfo, RawGeneralRegs, UserContext},
Pod,
};

View File

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MPL-2.0
use ostd::cpu::{CpuException, CpuExceptionInfo, UserContext};
use ostd::cpu::context::{CpuException, CpuExceptionInfo, UserContext};
use crate::process::signal::{
constants::*, sig_num::SigNum, signals::fault::FaultSignal, SignalContext,