From 0ee18f5b660ff45a9a13da4c7aaec4d9cd0a975b Mon Sep 17 00:00:00 2001 From: Andreas Sandberg Date: Wed, 11 Nov 2015 10:18:38 +0000 Subject: [PATCH] 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. --- src/dev/arm/gic_pl390.cc | 1 + 1 file changed, 1 insertion(+) 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;