rust: cpu: Introduce CpuId abstraction
authorViresh Kumar <viresh.kumar@linaro.org>
Mon, 9 Jun 2025 07:08:43 +0000 (12:38 +0530)
committerViresh Kumar <viresh.kumar@linaro.org>
Thu, 12 Jun 2025 03:15:19 +0000 (08:45 +0530)
commitebf2e500e06f707654572bc7d8bc569a8caa51aa
tree89b07360817f430c2e6fb8fcd9fda2f9d44f057f
parent4823a58093c6dfa20df62b5c18da613621b9716e
rust: cpu: Introduce CpuId abstraction

This adds abstraction for representing a CPU identifier.

Suggested-by: Boqun Feng <boqun.feng@gmail.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Boqun Feng <boqun.feng@gmail.com>
rust/kernel/cpu.rs