mc146818.cc (6772:788cdecedf9f) mc146818.cc (7064:586b0e3a12b3)
1/*
2 * Copyright (c) 2004-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

266{
267 return "RTC interrupt";
268}
269
270void
271MC146818::RTCTickEvent::process()
272{
273 DPRINTF(MC146818, "RTC clock tick\n");
1/*
2 * Copyright (c) 2004-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

266{
267 return "RTC interrupt";
268}
269
270void
271MC146818::RTCTickEvent::process()
272{
273 DPRINTF(MC146818, "RTC clock tick\n");
274 parent->schedule(this, curTick + Clock::Int::s);
274 parent->schedule(this, curTick + SimClock::Int::s);
275 parent->tickClock();
276}
277
278const char *
279MC146818::RTCTickEvent::description() const
280{
281 return "RTC clock tick";
282}
275 parent->tickClock();
276}
277
278const char *
279MC146818::RTCTickEvent::description() const
280{
281 return "RTC clock tick";
282}