rtc_pl031.cc (12086:069c529a76fd) | rtc_pl031.cc (12772:362544959c40) |
---|---|
1/* 2 * Copyright (c) 2010-2012 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 --- 35 unchanged lines hidden (view full) --- 44#include "base/trace.hh" 45#include "debug/Checkpoint.hh" 46#include "debug/Timer.hh" 47#include "dev/arm/amba_device.hh" 48#include "mem/packet.hh" 49#include "mem/packet_access.hh" 50 51PL031::PL031(Params *p) | 1/* 2 * Copyright (c) 2010-2012 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 --- 35 unchanged lines hidden (view full) --- 44#include "base/trace.hh" 45#include "debug/Checkpoint.hh" 46#include "debug/Timer.hh" 47#include "dev/arm/amba_device.hh" 48#include "mem/packet.hh" 49#include "mem/packet_access.hh" 50 51PL031::PL031(Params *p) |
52 : AmbaIntDevice(p, 0xfff), timeVal(mkutctime(&p->time)), | 52 : AmbaIntDevice(p, 0x1000), timeVal(mkutctime(&p->time)), |
53 lastWrittenTick(0), loadVal(0), matchVal(0), 54 rawInt(false), maskInt(false), pendingInt(false), 55 matchEvent([this]{ counterMatch(); }, name()) 56{ 57} 58 59 60Tick --- 187 unchanged lines hidden --- | 53 lastWrittenTick(0), loadVal(0), matchVal(0), 54 rawInt(false), maskInt(false), pendingInt(false), 55 matchEvent([this]{ counterMatch(); }, name()) 56{ 57} 58 59 60Tick --- 187 unchanged lines hidden --- |