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.
This commit is contained in:
Andreas Sandberg 2015-11-11 10:18:38 +00:00
parent 9d23e6d323
commit 0ee18f5b66
1 changed files with 1 additions and 0 deletions

View File

@ -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;