1/* 2 * Copyright (c) 2010-2014 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 125 unchanged lines hidden (view full) --- 134 miscRegs[MISCREG_SCTLR_RST] = sctlr; 135 136 // Hook up a dummy device if we haven't been configured with a 137 // real PMU. By using a dummy device, we don't need to check that 138 // the PMU exist every time we try to access a PMU register. 139 if (!pmu) 140 pmu = &dummyDevice; 141 |
142 // Give all ISA devices a pointer to this ISA 143 pmu->setISA(this); 144 |
145 system = dynamic_cast<ArmSystem *>(p->system); 146 DPRINTFN("ISA system set to: %p %p\n", system, p->system); 147 148 // Cache system-level properties 149 if (FullSystem && system) { 150 haveSecurity = system->haveSecurity(); 151 haveLPAE = system->haveLPAE(); 152 haveVirtualization = system->haveVirtualization(); --- 1909 unchanged lines hidden --- |