Module cpu

Module cpu 

Source
Expand description

RISC-V 架构的 CPU 相关功能

Functions§

cpu_id
获取当前 CPU 的 ID TODO: 暂时只支持单核,返回 0