clock.c (72678) | clock.c (74914) |
---|---|
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 --- 20 unchanged lines hidden (view full) --- 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 * from: @(#)clock.c 7.2 (Berkeley) 5/12/91 | 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 --- 20 unchanged lines hidden (view full) --- 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 * from: @(#)clock.c 7.2 (Berkeley) 5/12/91 |
37 * $FreeBSD: head/sys/i386/isa/clock.c 72678 2001-02-19 03:00:34Z bde $ | 37 * $FreeBSD: head/sys/i386/isa/clock.c 74914 2001-03-28 09:17:56Z jhb $ |
38 */ 39 40/* 41 * Routines to handle clock hardware. 42 */ 43 44/* 45 * inittodr, settodr and support routines written --- 5 unchanged lines hidden (view full) --- 51#include "opt_clock.h" 52#include "opt_apm.h" 53#include "opt_mca.h" 54 55#include <sys/param.h> 56#include <sys/systm.h> 57#include <sys/bus.h> 58#include <sys/ipl.h> | 38 */ 39 40/* 41 * Routines to handle clock hardware. 42 */ 43 44/* 45 * inittodr, settodr and support routines written --- 5 unchanged lines hidden (view full) --- 51#include "opt_clock.h" 52#include "opt_apm.h" 53#include "opt_mca.h" 54 55#include <sys/param.h> 56#include <sys/systm.h> 57#include <sys/bus.h> 58#include <sys/ipl.h> |
59#include <sys/lock.h> |
|
59#include <sys/mutex.h> 60#include <sys/proc.h> 61#include <sys/time.h> 62#include <sys/timetc.h> 63#include <sys/kernel.h> | 60#include <sys/mutex.h> 61#include <sys/proc.h> 62#include <sys/time.h> 63#include <sys/timetc.h> 64#include <sys/kernel.h> |
64#ifndef SMP 65#include <sys/lock.h> 66#endif | |
67#include <sys/sysctl.h> 68#include <sys/cons.h> 69 70#include <machine/clock.h> 71#ifdef CLK_CALIBRATION_LOOP 72#endif 73#include <machine/cputypes.h> 74#include <machine/frame.h> --- 1196 unchanged lines hidden --- | 65#include <sys/sysctl.h> 66#include <sys/cons.h> 67 68#include <machine/clock.h> 69#ifdef CLK_CALIBRATION_LOOP 70#endif 71#include <machine/cputypes.h> 72#include <machine/frame.h> --- 1196 unchanged lines hidden --- |