浏览代码

Add a todo item for max hart id

luojia65 4 年之前
父节点
当前提交
22cdb1f855
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      platform/qemu/src/hal/clint.rs

+ 1 - 0
platform/qemu/src/hal/clint.rs

@@ -44,6 +44,7 @@ use rustsbi::{HartMask, Ipi, Timer};
 
 impl Ipi for Clint {
     fn max_hart_id(&self) -> usize {
+        /* todo: read from FDT node, instead of hard compile */
         let ans: usize;
         unsafe {
             asm!("