projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d23e6d
)
dev, arm: Initialized the iccrpr register in the GIC
author
Andreas Sandberg
<andreas.sandberg@arm.com>
Wed, 11 Nov 2015 10:18:38 +0000
(10:18 +0000)
committer
Andreas Sandberg
<andreas.sandberg@arm.com>
Wed, 11 Nov 2015 10:18:38 +0000
(10:18 +0000)
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.
src/dev/arm/gic_pl390.cc
patch
|
blob
|
history
diff --git
a/src/dev/arm/gic_pl390.cc
b/src/dev/arm/gic_pl390.cc
index fb1711c927f251ee999e25fb901aa2a80d16d8e2..0de8a86c4b1820a0c7215b6bdd582308b4babd5c 100644
(file)
--- 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;