generic_timer.hh (12102:909ed81fd533) | generic_timer.hh (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 --- 212 unchanged lines hidden (view full) --- 221 // For ArchTimer's in a GenericTimerISA with Kvm execution about 222 // to begin, skip rescheduling the event. 223 // Otherwise, we should reschedule the event (if necessary). 224 bool scheduleEvents() override { 225 return !system.validKvmEnvironment(); 226 } 227}; 228 | 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 --- 212 unchanged lines hidden (view full) --- 221 // For ArchTimer's in a GenericTimerISA with Kvm execution about 222 // to begin, skip rescheduling the event. 223 // Otherwise, we should reschedule the event (if necessary). 224 bool scheduleEvents() override { 225 return !system.validKvmEnvironment(); 226 } 227}; 228 |
229class GenericTimer : public SimObject | 229class GenericTimer : public ClockedObject |
230{ 231 public: 232 GenericTimer(GenericTimerParams *p); 233 234 void serialize(CheckpointOut &cp) const override; 235 void unserialize(CheckpointIn &cp) override; 236 237 public: --- 129 unchanged lines hidden --- | 230{ 231 public: 232 GenericTimer(GenericTimerParams *p); 233 234 void serialize(CheckpointOut &cp) const override; 235 void unserialize(CheckpointIn &cp) override; 236 237 public: --- 129 unchanged lines hidden --- |