From: Andreas Sandberg Date: Wed, 11 Nov 2015 10:18:38 +0000 (+0000) Subject: dev, arm: Initialized the iccrpr register in the GIC X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0ee18f5b660ff45a9a13da4c7aaec4d9cd0a975b;p=gem5.git 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. --- 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;