Expand description
Per-CPU GS info struct used by the kernel for things like finding the kernel stack on syscall entry
Authors: MarioS271
Re-exportsยง
use crate::lib::addr::VirtAddr;๐use core::mem::offset_of;๐use core::sync::atomic::AtomicU64;๐use core::sync::atomic::Ordering;๐use x86_64::registers::model_specific::GsBase;๐use x86_64::registers::model_specific::KernelGsBase;๐
Structsยง
- GsInfo
- A per-CPU struct which each CPUโs GS kernel reg points to in order to handle syscall entry