dev-arm: improve Pl390 parameters
[gem5.git] / src / dev / arm / gic_pl390.cc
index b0c4e99eec8fded857124fe23ea0fcd463bea432..9b671e0ca301510aabcb090b4d5286fcdb6a0c31 100644 (file)
@@ -65,7 +65,7 @@ const AddrRange Pl390::GICD_ICFGR     (0xc00, 0xcff);
 Pl390::Pl390(const Params *p)
     : BaseGic(p),
       distRange(RangeSize(p->dist_addr, DIST_SIZE)),
-      cpuRange(RangeSize(p->cpu_addr, CPU_SIZE)),
+      cpuRange(RangeSize(p->cpu_addr, p->cpu_size)),
       addrRanges{distRange, cpuRange},
       distPioDelay(p->dist_pio_delay),
       cpuPioDelay(p->cpu_pio_delay), intLatency(p->int_latency),