summaryrefslogtreecommitdiff
path: root/sys/arch/atari/dev/clock.c
AgeCommit message (Collapse)Author
2000-06-07Mark 'n' explicitely as output of the 'mulul' instruction.leo
2000-05-31Fix some bugs in clkread(). These bugs caused strange time leaps.leo
2000-01-06Fix y2k buglet in /dev/rtc reported by Julian Coleman. Note that the inputleo
and output format of /dev/rtc is now changed.
1999-08-06Change the way that bit's are cleared in the InterruptPending register ofleo
the 68901. Do this now by _assigning_ ~<bit_to_clear> instead of the previously used 'andb ~<bit_to_clear>'. The latter caused a rwm-cycle that caused a race condition to happen when an interrupt arrived between the Read and Modify-Write. Anyway, this solved my hanging keyboard problem.
1998-01-12Update for changes to config.thorpej
1997-02-26Use generic date conversion module.leo
1996-12-20Get rid of BROKEN_INDIRECT_CONFIGleo
1996-12-18Tweak the clockframe structure a bit so we are able to save a few cyclesleo
at interrupt time. (From Gordon Ross).
1996-12-16Move up the initialisations for the delay routine in the initialisationleo
process. It's now also available to the different device probes.
1996-12-16Implement an rtc-device. Credits for the idea goes to Wolfgang Solfrank.leo
Because there is no way yet to tell init(1) to execute commands before single user-mode is entered, the inittodr() function is still partly functional. It retrieves the value of the RTC and sets the time as if the RTC was running at UTC. The resettodr() function is a No-Op. The RTC can only be changed by a write to /dev/rtc. The TIMEZONE and DST options are no longer needed and removed from the config files.
1996-10-13backout previous kprintf changeschristos
1996-10-11printf -> kprintf, sprintf -> ksprintfchristos
1996-04-26Corrections for removed <sys/cpu.h> and some more prototypes.leo
1996-03-17New device attachment scheme:thorpej
- split softc size and match/attach out from cfdriver into a new struct cfattach. - new "attach" directive for files.*. May specify the name of the cfattach structure, so that devices may be easily attached to parents with different autoconfiguration semantics.
1996-02-22First bunch of changes due to stricter prototype checking.leo
1996-02-11Some extra range-tests on the RTC values.leo
1996-01-06Add an nvram-driver. This driver makes it possible to read/write theleo
configuration info stored in the nvram on the mc146818.
1995-12-01Remove forgotten #endifleo
1995-11-30Add kernel option for separate {stat,prof}clockleo
1995-09-23PROF -> GPROFleo
1995-05-28Use <dev/ic/mc146818.h>. Change systemclock settings. Usable values forleo
HZ are now 48/64/96. This reduces the interrupt overhead, because we don't need the extra division by 4 in the interrupt handler.
1995-05-05Shift system clocks from TT-mfp to ST-mfp and remove some dead-code.leo
1995-03-26NetBSD/Atari, port by Leo Weppelman.leo