diff options
author | Nikos Nikoleris <nikos.nikoleris@arm.com> | 2018-06-04 17:50:46 +0100 |
---|---|---|
committer | Nikos Nikoleris <nikos.nikoleris@arm.com> | 2018-06-15 10:51:28 +0000 |
commit | 71c6a68a2f363de3b50ec15151e5d78605666292 (patch) | |
tree | 07013f950da0bbaf0b487ccdeddacaf0b4f7b510 /src/dev/arm/timer_sp804.cc | |
parent | e502572ce4c30a74ea1847e123c886f984dee311 (diff) | |
download | gem5-71c6a68a2f363de3b50ec15151e5d78605666292.tar.xz |
dev-arm: Fix the address range for some I/O devices
Previously, many devices were incorrecty configured to respond to an
address range of size 0xfff. This changes fixes this and sets it to
0x1000.
Change-Id: I4b027a27adf60ceae4859e287d7f34443b398752
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/11116
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Diffstat (limited to 'src/dev/arm/timer_sp804.cc')
-rw-r--r-- | src/dev/arm/timer_sp804.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dev/arm/timer_sp804.cc b/src/dev/arm/timer_sp804.cc index 86fbc7f05..f28ba7bf0 100644 --- a/src/dev/arm/timer_sp804.cc +++ b/src/dev/arm/timer_sp804.cc @@ -48,7 +48,7 @@ #include "mem/packet_access.hh" Sp804::Sp804(Params *p) - : AmbaPioDevice(p, 0xfff), gic(p->gic), + : AmbaPioDevice(p, 0x1000), gic(p->gic), timer0(name() + ".timer0", this, p->int_num0, p->clock0), timer1(name() + ".timer1", this, p->int_num1, p->clock1) { |