generic_timer.cc (12392:e0dbdf30a2a5) | generic_timer.cc (12467:087fab1b0e54) |
---|---|
1/* 2 * Copyright (c) 2013, 2015, 2017 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 --- 225 unchanged lines hidden (view full) --- 234 _gic.clearPPInt(_irq, _cpu); 235 } else { 236 _gic.clearInt(_irq); 237 } 238} 239 240 241GenericTimer::GenericTimer(GenericTimerParams *p) | 1/* 2 * Copyright (c) 2013, 2015, 2017 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 --- 225 unchanged lines hidden (view full) --- 234 _gic.clearPPInt(_irq, _cpu); 235 } else { 236 _gic.clearInt(_irq); 237 } 238} 239 240 241GenericTimer::GenericTimer(GenericTimerParams *p) |
242 : SimObject(p), | 242 : ClockedObject(p), |
243 system(*p->system), 244 gic(p->gic), 245 irqPhys(p->int_phys), 246 irqVirt(p->int_virt) 247{ 248 fatal_if(!p->system, "No system specified, can't instantiate timer.\n"); 249 system.setGenericTimer(this); 250} --- 581 unchanged lines hidden --- | 243 system(*p->system), 244 gic(p->gic), 245 irqPhys(p->int_phys), 246 irqVirt(p->int_virt) 247{ 248 fatal_if(!p->system, "No system specified, can't instantiate timer.\n"); 249 system.setGenericTimer(this); 250} --- 581 unchanged lines hidden --- |