mc146818.hh (7683:f81f5f27592b) | mc146818.hh (7823:dac01f14f20f) |
---|---|
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; --- 57 unchanged lines hidden (view full) --- 66 67 /** Event for RTC periodic interrupt */ 68 struct RTCTickEvent : public Event 69 { 70 MC146818 * parent; 71 72 RTCTickEvent(MC146818 * _parent) : parent(_parent) 73 { | 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; --- 57 unchanged lines hidden (view full) --- 66 67 /** Event for RTC periodic interrupt */ 68 struct RTCTickEvent : public Event 69 { 70 MC146818 * parent; 71 72 RTCTickEvent(MC146818 * _parent) : parent(_parent) 73 { |
74 parent->schedule(this, curTick + SimClock::Int::s); | 74 parent->schedule(this, curTick() + SimClock::Int::s); |
75 } 76 77 /** Event process to occur at interrupt*/ 78 void process(); 79 80 /** Event description */ 81 const char *description() const; 82 }; --- 70 unchanged lines hidden --- | 75 } 76 77 /** Event process to occur at interrupt*/ 78 void process(); 79 80 /** Event description */ 81 const char *description() const; 82 }; --- 70 unchanged lines hidden --- |