rtc_pl031.cc (8869:fa8dcdd7e26c) | rtc_pl031.cc (8904:1b6d79c9a603) |
---|---|
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 --- 38 unchanged lines hidden (view full) --- 47#include "dev/mc146818.hh" 48#include "mem/packet.hh" 49#include "mem/packet_access.hh" 50 51using namespace AmbaDev; 52 53PL031::PL031(Params *p) 54 : AmbaIntDevice(p), timeVal(mkutctime(&p->time)), lastWrittenTick(0), | 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 --- 38 unchanged lines hidden (view full) --- 47#include "dev/mc146818.hh" 48#include "mem/packet.hh" 49#include "mem/packet_access.hh" 50 51using namespace AmbaDev; 52 53PL031::PL031(Params *p) 54 : AmbaIntDevice(p), timeVal(mkutctime(&p->time)), lastWrittenTick(0), |
55 loadVal(0), matchVal(0), rawInt(false), pendingInt(false), 56 matchEvent(this) | 55 loadVal(0), matchVal(0), rawInt(false), maskInt(false), 56 pendingInt(false), matchEvent(this) |
57{ 58 pioSize = 0xfff; 59} 60 61 62Tick 63PL031::read(PacketPtr pkt) 64{ --- 187 unchanged lines hidden --- | 57{ 58 pioSize = 0xfff; 59} 60 61 62Tick 63PL031::read(PacketPtr pkt) 64{ --- 187 unchanged lines hidden --- |