Plic: skip reserved interrupt in interrupt map printout
This commit is contained in:
1 parent
aabd17d935
commit
a12fea51e8
1 file changed
+2
-1
@@ -87,7 +87,8 @@ class TLPLIC(supervisor: Boolean, maxPriorities: Int, address: BigInt = 0xC00000
|
|||||||
|
|
||||||
println("\nInterrupt map:")
|
println("\nInterrupt map:")
|
||||||
flatSources.foreach { s =>
|
flatSources.foreach { s =>
|
||||||
println(s" [${s.range.start}, ${s.range.end}) => ${s.name}")
|
// +1 because 0 is reserved, +1-1 because the range is half-open
|
||||||
|
println(s" [${s.range.start+1}, ${s.range.end}] => ${s.name}")
|
||||||
}
|
}
|
||||||
|
|
||||||
val nDevices = interrupts.size
|
val nDevices = interrupts.size
|
||||||
|
|||||||
Reference in new issue
Block a user