Skip to main content
cpu_index_from_gs
strat9_
kernel
0.1.0
In strat9_
kernel::
arch::
x86_
64::
percpu
strat9_kernel
::
arch
::
x86_64
::
percpu
Function
cpu_
index_
from_
gs
Copy item path
Source
pub fn cpu_index_from_gs() ->
Option
<
usize
>
Expand description
Resolve current CPU index from GS base (compatibility).