Deleted Added
sdiff udiff text old ( 10631:6d6bfdb036ce ) new ( 10777:a8a5eb637d72 )
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;

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

122 reg.dv == RTCA_DV_DISABLED1;
123}
124
125void
126MC146818::startup()
127{
128 assert(!event.scheduled());
129 assert(!tickEvent.scheduled());
130 schedule(event, curTick() + event.offset);
131 schedule(tickEvent, curTick() + tickEvent.offset);
132}
133
134void
135MC146818::writeData(const uint8_t addr, const uint8_t data)
136{
137 bool panic_unsupported(false);
138
139 if (addr < RTC_STAT_REGA) {

--- 208 unchanged lines hidden ---