mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-18 03:56:42 +00:00
Implement cpu_local with GS and ensure GS points to TSS
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
52bde1721e
commit
c2f7a10b84
@ -9,11 +9,13 @@ use core::fmt::Debug;
|
||||
use bitflags::bitflags;
|
||||
use log::info;
|
||||
use spin::Once;
|
||||
use trapframe::TrapFrame;
|
||||
use volatile::{access::ReadWrite, Volatile};
|
||||
|
||||
use super::registers::Capability;
|
||||
use crate::{mm::Vaddr, trap::IrqLine};
|
||||
use crate::{
|
||||
mm::Vaddr,
|
||||
trap::{IrqLine, TrapFrame},
|
||||
};
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct FaultEventRegisters {
|
||||
|
Reference in New Issue
Block a user