Browse Source

feat: show cpu_enabled in print_board_info

Signed-off-by: Woshiluo Luo <woshiluo.luo@outlook.com>
Woshiluo Luo 4 months ago
parent
commit
dceddfb4a2
1 changed files with 1 additions and 0 deletions
  1. 1 0
      prototyper/src/board.rs

+ 1 - 0
prototyper/src/board.rs

@@ -134,6 +134,7 @@ impl Board {
         rustsbi::LOGO.lines().for_each(|line| info!("{}", line));
         info!("Initializing RustSBI machine-mode environment.");
         info!("Number of CPU: {:?}", self.info.cpu_num);
+        info!("Enabled hart: {:?}", self.info.cpu_enabled);
         info!("Model: {}", self.info.model);
         info!("Clint device: {:x?}", self.info.ipi);
         info!("Console device: {:x?}", self.info.console);