Browse Source

Add a todo item for max hart id

luojia65 4 năm trước cách đây
mục cha
commit
22cdb1f855
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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!("