timer_cpulocal.hh (9338:97b4a2be1e5b) | timer_cpulocal.hh (9525:0587c8983d47) |
---|---|
1/* 2 * Copyright (c) 2010-2011 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 --- 36 unchanged lines hidden (view full) --- 45#include "dev/io_device.hh" 46#include "params/CpuLocalTimer.hh" 47 48/** @file 49 * This implements the cpu local timer from the Cortex-A9 MPCore 50 * Technical Reference Manual rev r2p2 (ARM DDI 0407F) 51 */ 52 | 1/* 2 * Copyright (c) 2010-2011 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 --- 36 unchanged lines hidden (view full) --- 45#include "dev/io_device.hh" 46#include "params/CpuLocalTimer.hh" 47 48/** @file 49 * This implements the cpu local timer from the Cortex-A9 MPCore 50 * Technical Reference Manual rev r2p2 (ARM DDI 0407F) 51 */ 52 |
53class Gic; | 53class BaseGic; |
54 55class CpuLocalTimer : public BasicPioDevice 56{ 57 protected: 58 class Timer 59 { 60 61 public: --- 90 unchanged lines hidden (view full) --- 152 void unserialize(Checkpoint *cp, const std::string §ion); 153 154 friend class CpuLocalTimer; 155 }; 156 157 static const int CPU_MAX = 8; 158 159 /** Pointer to the GIC for causing an interrupt */ | 54 55class CpuLocalTimer : public BasicPioDevice 56{ 57 protected: 58 class Timer 59 { 60 61 public: --- 90 unchanged lines hidden (view full) --- 152 void unserialize(Checkpoint *cp, const std::string §ion); 153 154 friend class CpuLocalTimer; 155 }; 156 157 static const int CPU_MAX = 8; 158 159 /** Pointer to the GIC for causing an interrupt */ |
160 Gic *gic; | 160 BaseGic *gic; |
161 162 /** Timers that do the actual work */ 163 Timer localTimer[CPU_MAX]; 164 165 public: 166 typedef CpuLocalTimerParams Params; 167 const Params * 168 params() const --- 31 unchanged lines hidden --- | 161 162 /** Timers that do the actual work */ 163 Timer localTimer[CPU_MAX]; 164 165 public: 166 typedef CpuLocalTimerParams Params; 167 const Params * 168 params() const --- 31 unchanged lines hidden --- |