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

4.104.114.84.95
Last change on this file since 60b791ad was 60b791ad, checked in by Joel Sherrill <joel.sherrill@…>, on 02/17/98 at 23:46:28

updated copyright to 1998

  • Property mode set to 100644
File size: 1.1 KB
RevLine 
[ac7d5ef0]1/*  clock.h
2 *
3 *  This file describes the Clock Driver for all boards.
4 *
[60b791ad]5 *  COPYRIGHT (c) 1989-1998.
[ac7d5ef0]6 *  On-Line Applications Research Corporation (OAR).
[03f2154e]7 *  Copyright assigned to U.S. Government, 1994.
[ac7d5ef0]8 *
[98e4ebf5]9 *  The license and distribution terms for this file may be
10 *  found in the file LICENSE in this distribution or at
[03f2154e]11 *  http://www.OARcorp.com/rtems/license.html.
[ac7d5ef0]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;
[b06e68ef]26extern rtems_device_major_number rtems_clock_major;
27extern rtems_device_minor_number rtems_clock_minor;
[ac7d5ef0]28
[b06e68ef]29/* default clock driver entry */
[ac7d5ef0]30
31#define CLOCK_DRIVER_TABLE_ENTRY \
[b06e68ef]32  { Clock_initialize, NULL, NULL, NULL, NULL, Clock_control }
33 
[ac7d5ef0]34rtems_device_driver Clock_initialize(
35  rtems_device_major_number,
36  rtems_device_minor_number,
[b06e68ef]37  void *
38);
39
40rtems_device_driver Clock_control(
41  rtems_device_major_number major,
42  rtems_device_minor_number minor,
43  void *pargp
[ac7d5ef0]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.