timer_sp804.hh (9421:b43a56850757) timer_sp804.hh (9525:0587c8983d47)
1/*
2 * Copyright (c) 2010 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

--- 33 unchanged lines hidden (view full) ---

42
43#include "dev/arm/amba_device.hh"
44#include "params/Sp804.hh"
45
46/** @file
47 * This implements the dual Sp804 timer block
48 */
49
1/*
2 * Copyright (c) 2010 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

--- 33 unchanged lines hidden (view full) ---

42
43#include "dev/arm/amba_device.hh"
44#include "params/Sp804.hh"
45
46/** @file
47 * This implements the dual Sp804 timer block
48 */
49
50class Gic;
50class BaseGic;
51
52class Sp804 : public AmbaDevice
53{
54 protected:
55 class Timer
56 {
57
58 public:

--- 63 unchanged lines hidden (view full) ---

122 void write(PacketPtr pkt, Addr daddr);
123
124 void serialize(std::ostream &os);
125 void unserialize(Checkpoint *cp, const std::string &section);
126
127 };
128
129 /** Pointer to the GIC for causing an interrupt */
51
52class Sp804 : public AmbaDevice
53{
54 protected:
55 class Timer
56 {
57
58 public:

--- 63 unchanged lines hidden (view full) ---

122 void write(PacketPtr pkt, Addr daddr);
123
124 void serialize(std::ostream &os);
125 void unserialize(Checkpoint *cp, const std::string &section);
126
127 };
128
129 /** Pointer to the GIC for causing an interrupt */
130 Gic *gic;
130 BaseGic *gic;
131
132 /** Timers that do the actual work */
133 Timer timer0;
134 Timer timer1;
135
136 public:
137 typedef Sp804Params Params;
138 const Params *

--- 32 unchanged lines hidden ---
131
132 /** Timers that do the actual work */
133 Timer timer0;
134 Timer timer1;
135
136 public:
137 typedef Sp804Params Params;
138 const Params *

--- 32 unchanged lines hidden ---