source: rtems/c/src/lib/include/clockdrv.h @ b29378e

4.104.114.84.95
Last change on this file since b29378e was 60b791ad, checked in by Joel Sherrill <joel.sherrill@…>, on Feb 17, 1998 at 11:46:28 PM

updated copyright to 1998

  • Property mode set to 100644
File size: 1.1 KB
Line 
1/*  clock.h
2 *
3 *  This file describes the Clock Driver for all boards.
4 *
5 *  COPYRIGHT (c) 1989-1998.
6 *  On-Line Applications Research Corporation (OAR).
7 *  Copyright assigned to U.S. Government, 1994.
8 *
9 *  The license and distribution terms for this file may be
10 *  found in the file LICENSE in this distribution or at
11 *  http://www.OARcorp.com/rtems/license.html.
12 *
13 *  $Id$
14 */
15
16#ifndef __CLOCK_DRIVER_h
17#define __CLOCK_DRIVER_h
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
23/* variables */
24
25extern volatile rtems_unsigned32 Clock_driver_ticks;
26extern rtems_device_major_number rtems_clock_major;
27extern rtems_device_minor_number rtems_clock_minor;
28
29/* default clock driver entry */
30
31#define CLOCK_DRIVER_TABLE_ENTRY \
32  { Clock_initialize, NULL, NULL, NULL, NULL, Clock_control }
33 
34rtems_device_driver Clock_initialize(
35  rtems_device_major_number,
36  rtems_device_minor_number,
37  void *
38);
39
40rtems_device_driver Clock_control(
41  rtems_device_major_number major,
42  rtems_device_minor_number minor,
43  void *pargp
44);
45
46#ifdef __cplusplus
47}
48#endif
49
50#endif
51/* end of include file */
Note: See TracBrowser for help on using the repository browser.