1 /* $FreeBSD: src/sys/dev/dec/mcclockvar.h,v 1.3.2.1 2000/08/02 22:34:11 peter Exp $ */
2 /* $DragonFly: src/sys/dev/misc/dec/Attic/mcclockvar.h,v 1.2 2003/06/17 04:28:23 dillon Exp $ */
3 /* $NetBSD: mcclockvar.h,v 1.4 1997/06/22 08:02:19 jonathan Exp $ */
6 * Copyright (c) 1996 Carnegie-Mellon University.
9 * Author: Chris G. Demetriou
11 * Permission to use, copy, modify and distribute this software and
12 * its documentation is hereby granted, provided that both the copyright
13 * notice and this permission notice appear in all copies of the
14 * software, derivative works or modified versions, and any portions
15 * thereof, and that both notices appear in supporting documentation.
17 * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
18 * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
19 * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
21 * Carnegie Mellon requests users of this software to return to
23 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
24 * School of Computer Science
25 * Carnegie Mellon University
26 * Pittsburgh PA 15213-3890
28 * any improvements or extensions that they make and grant Carnegie the
29 * rights to redistribute these changes.
32 #include "mcclock_if.h"
34 void mcclock_attach(device_t dev);
35 void mcclock_init(device_t);
36 void mcclock_get(device_t, time_t, struct clocktime *);
37 void mcclock_set(device_t, struct clocktime *);
38 int mcclock_getsecs(device_t dev, int *secp);