Deleted Added
full compact
atrtc.c (112551) atrtc.c (114216)
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/isa/atrtc.c 112551 2003-03-24 19:14:46Z mdodd $
37 * $FreeBSD: head/sys/isa/atrtc.c 114216 2003-04-29 13:36:06Z kan $
38 */
39
40/*
41 * Routines to handle clock hardware.
42 */
43
44/*
45 * inittodr, settodr and support routines written

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

56#include <sys/systm.h>
57#include <sys/bus.h>
58#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>
38 */
39
40/*
41 * Routines to handle clock hardware.
42 */
43
44/*
45 * inittodr, settodr and support routines written

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

56#include <sys/systm.h>
57#include <sys/bus.h>
58#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>
64#include <sys/limits.h>
64#include <sys/sysctl.h>
65#include <sys/cons.h>
66#include <sys/power.h>
67
68#include <machine/clock.h>
69#include <machine/cputypes.h>
70#include <machine/frame.h>
65#include <sys/sysctl.h>
66#include <sys/cons.h>
67#include <sys/power.h>
68
69#include <machine/clock.h>
70#include <machine/cputypes.h>
71#include <machine/frame.h>
71#include <machine/limits.h>
72#include <machine/md_var.h>
73#include <machine/psl.h>
74#ifdef APIC_IO
75#include <machine/segments.h>
76#endif
77#if defined(SMP) || defined(APIC_IO)
78#include <machine/smp.h>
79#endif /* SMP || APIC_IO */

--- 1137 unchanged lines hidden ---
72#include <machine/md_var.h>
73#include <machine/psl.h>
74#ifdef APIC_IO
75#include <machine/segments.h>
76#endif
77#if defined(SMP) || defined(APIC_IO)
78#include <machine/smp.h>
79#endif /* SMP || APIC_IO */

--- 1137 unchanged lines hidden ---