rtc_pl031.cc (8904:1b6d79c9a603) rtc_pl031.cc (8993:d5f9445010da)
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

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

186void
187PL031::counterMatch()
188{
189 DPRINTF(Timer, "Counter reached zero\n");
190
191 rawInt = true;
192 bool old_pending = pendingInt;
193 pendingInt = maskInt & rawInt;
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

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

186void
187PL031::counterMatch()
188{
189 DPRINTF(Timer, "Counter reached zero\n");
190
191 rawInt = true;
192 bool old_pending = pendingInt;
193 pendingInt = maskInt & rawInt;
194 if (pendingInt && ~old_pending) {
194 if (pendingInt && !old_pending) {
195 DPRINTF(Timer, "-- Causing interrupt\n");
196 gic->sendInt(intNum);
197 }
198}
199
200void
201PL031::serialize(std::ostream &os)
202{

--- 49 unchanged lines hidden ---
195 DPRINTF(Timer, "-- Causing interrupt\n");
196 gic->sendInt(intNum);
197 }
198}
199
200void
201PL031::serialize(std::ostream &os)
202{

--- 49 unchanged lines hidden ---