Deleted Added
sdiff udiff text old ( 3540:87e83423cb36 ) new ( 3846:a0fe3210ce53 )
full compact
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;

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

425{
426 return "tsunami 8254 Interval timer";
427}
428
429TsunamiIO::TsunamiIO(Params *p)
430 : BasicPioDevice(p), tsunami(p->tsunami), pitimer(p->name + "pitimer"),
431 rtc(p->name + ".rtc", p->tsunami, p->frequency)
432{
433 pioSize = 0x100;
434
435 // set the back pointer from tsunami to myself
436 tsunami->io = this;
437
438 timerData = 0;
439 rtc.set_time(p->init_time == 0 ? time(NULL) : p->init_time);
440 picr = 0;
441 picInterrupting = false;

--- 247 unchanged lines hidden ---