atrtc.c (5) | atrtc.c (619) |
---|---|
1/*- 2 * Copyright (c) 1990 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * William Jolitz and Don Ahn. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 19 unchanged lines hidden (view full) --- 28 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 * | 1/*- 2 * Copyright (c) 1990 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * William Jolitz and Don Ahn. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 19 unchanged lines hidden (view full) --- 28 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 * |
36 * @(#)clock.c 7.2 (Berkeley) 5/12/91 37 * 38 * PATCHES MAGIC LEVEL PATCH THAT GOT US HERE 39 * -------------------- ----- ---------------------- 40 * CURRENT PATCH LEVEL: 5 00158 41 * -------------------- ----- ---------------------- 42 * 43 * 14 Aug 92 Arne Henrik Juul Added code in the kernel to 44 * allow for DST in the BIOS. 45 * 17 Jan 93 Bruce Evans Fixed leap year and second 46 * calculations 47 * 01 Feb 93 Julian Elischer Added code to for the cpu 48 * speed independent spinwait() 49 * function, (used by scsi and others) 50 * 25 Mar 93 Sean Eric Fagan Add microtimer support using timer 1 51 * 08 Apr 93 Poul-Henning Kamp/P-HK Fixes, and support for dcfclock 52 * 26 Apr 93 Bruce Evans Eliminate findspeed, new spinwait 53 * 26 Apr 93 Rodney W. Grimes I merged in Bruce changes and hope I 54 * still kept the other fixes... Had to 55 * add back in findcpuspeed that Bruce 56 * had removed. | 36 * from: @(#)clock.c 7.2 (Berkeley) 5/12/91 37 * $Id$ |
57 */ 58 59/* 60 * Primitive clock interrupt routines. 61 */ 62#include "param.h" 63#include "systm.h" 64#include "time.h" --- 207 unchanged lines hidden --- | 38 */ 39 40/* 41 * Primitive clock interrupt routines. 42 */ 43#include "param.h" 44#include "systm.h" 45#include "time.h" --- 207 unchanged lines hidden --- |