timer_sp804.cc (10905:a6ca6831e775) | timer_sp804.cc (11793:ef606668d247) |
---|---|
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 --- 23 unchanged lines hidden (view full) --- 32 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 33 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 34 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 35 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 36 * 37 * Authors: Ali Saidi 38 */ 39 | 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 --- 23 unchanged lines hidden (view full) --- 32 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 33 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 34 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 35 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 36 * 37 * Authors: Ali Saidi 38 */ 39 |
40#include "dev/arm/timer_sp804.hh" 41 |
|
40#include "base/intmath.hh" 41#include "base/trace.hh" 42#include "debug/Checkpoint.hh" 43#include "debug/Timer.hh" 44#include "dev/arm/base_gic.hh" | 42#include "base/intmath.hh" 43#include "base/trace.hh" 44#include "debug/Checkpoint.hh" 45#include "debug/Timer.hh" 46#include "dev/arm/base_gic.hh" |
45#include "dev/arm/timer_sp804.hh" | |
46#include "mem/packet.hh" 47#include "mem/packet_access.hh" 48 49Sp804::Sp804(Params *p) 50 : AmbaPioDevice(p, 0xfff), gic(p->gic), 51 timer0(name() + ".timer0", this, p->int_num0, p->clock0), 52 timer1(name() + ".timer1", this, p->int_num1, p->clock1) 53{ --- 231 unchanged lines hidden --- | 47#include "mem/packet.hh" 48#include "mem/packet_access.hh" 49 50Sp804::Sp804(Params *p) 51 : AmbaPioDevice(p, 0xfff), gic(p->gic), 52 timer0(name() + ".timer0", this, p->int_num0, p->clock0), 53 timer1(name() + ".timer1", this, p->int_num1, p->clock1) 54{ --- 231 unchanged lines hidden --- |