summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sandberg <andreas.sandberg@arm.com>2015-11-11 10:18:38 +0000
committerAndreas Sandberg <andreas.sandberg@arm.com>2015-11-11 10:18:38 +0000
commit0ee18f5b660ff45a9a13da4c7aaec4d9cd0a975b (patch)
tree200459b8ca9645e8ff02afe89bab7b3056aae632
parent9d23e6d3234f7565aba2087b3b88f246b016cdc3 (diff)
downloadgem5-0ee18f5b660ff45a9a13da4c7aaec4d9cd0a975b.tar.xz
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.
-rw-r--r--src/dev/arm/gic_pl390.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dev/arm/gic_pl390.cc b/src/dev/arm/gic_pl390.cc
index fb1711c92..0de8a86c4 100644
--- a/src/dev/arm/gic_pl390.cc
+++ b/src/dev/arm/gic_pl390.cc
@@ -60,6 +60,7 @@ Pl390::Pl390(const Params *p)
itLinesLog2 = ceilLog2(itLines);
for (int x = 0; x < CPU_MAX; x++) {
+ iccrpr[x] = 0xff;
cpuEnabled[x] = false;
cpuPriority[x] = 0xff;
cpuBpr[x] = 0;