Is it necessary to add specific arch cpu info in a crate?
KuangjuX opened this issue · 1 comments
KuangjuX commented
Right now, I am designing percpu
struct in hypercraft. When initializing SMP, I need to obtain information about all of cpu info, such as the number of hart, whether it supports AIA and SSTC, and so on. This information needs to be probed and parsed through device trees. However, these pieces of information are not actually part of the core content of the hypervisor. Is it necessary to add CPU probe information in ArceOS, just like https://github.com/rivosinc/salus/blob/main/drivers/src/cpu.rs#L34 ?
equation314 commented