Expand description
x86_64 specific CPU data such as TSS, GDT, IDT and selectors
Authors: MarioS271
Re-exportsยง
use super::tables;๐use super::tables::gdt::GdtSetupInfo;๐use super::tables::gdt::gdt_init;๐use super::tables::gdt::gdt_load;๐use super::tables::idt::idt_init;๐use crate::arch::x86_64::cpu::gs_info::GsInfo;๐use crate::lib::addr::VirtAddr;๐use crate::lib::panic::kernel_panic;๐use crate::lib::panic_codes::PanicCode;๐use crate::lib::sync::unchecked_cell::UncheckedCell;๐use core::sync::atomic::AtomicU16;๐use core::sync::atomic::Ordering;๐use x86_64::structures::gdt::GlobalDescriptorTable;๐use x86_64::structures::idt::InterruptDescriptorTable;๐
Structsยง
- CpuState
- Per-CPU state such as TSS and GDT
- Global
CpuState - Global CPU state such as IDT and user code/data selectors