Skip to main content
core_id
atmos
0.1.0
In atmos::
kernel::
scheduler
atmos
::
kernel
::
scheduler
Function
core_id
Copy item path
Source
pub fn core_id() ->
usize
Expand description
現在実行中のCPUコアのID (0〜3) を取得します。
mpidr_el1
レジスタからアフィニティレベル0を取得します。