sbi_init() sets mimpid, we can use that value.
Sponsored by: Axiado
Differential D26092
riscv: Use global mimpid in identify_cpu() nick on Aug 17 2020, 9:20 PM. Authored by Tags Referenced Files
Subscribers
Details
sbi_init() sets mimpid, we can use that value. Sponsored by: Axiado I've tested this on internal hardware and Qemu (with some Qemu hacks as RISCV Qemu returns 0 by default)
Diff Detail
Event Timeline |