changeset 817bed25c1a8 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=817bed25c1a8
description:
dev, arm: Initialized the iccrpr register in the GIC
The IICRPR register in the GIC is currently not being initialized when
the GIC is instantiated. Initialize to the value mandated by the
architecture specification.
diffstat:
src/dev/arm/gic_pl390.cc | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r 7a9eeecf2b52 -r 817bed25c1a8 src/dev/arm/gic_pl390.cc
--- a/src/dev/arm/gic_pl390.cc Thu Nov 05 09:40:12 2015 +0000
+++ b/src/dev/arm/gic_pl390.cc Wed Nov 11 10:18:38 2015 +0000
@@ -60,6 +60,7 @@
itLinesLog2 = ceilLog2(itLines);
for (int x = 0; x < CPU_MAX; x++) {
+ iccrpr[x] = 0xff;
cpuEnabled[x] = false;
cpuPriority[x] = 0xff;
cpuBpr[x] = 0;
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev