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

4.104.114.84.95
Last change on this file since 4a6e64d was ac7d5ef0, checked in by Joel Sherrill <joel.sherrill@…>, on 05/11/95 at 17:39:37

Initial revision

  • 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, 1990, 1991, 1992, 1993, 1994.
6 *  On-Line Applications Research Corporation (OAR).
7 *  All rights assigned to U.S. Government, 1994.
8 *
9 *  This material may be reproduced by or for the U.S. Government pursuant
10 *  to the copyright license under the clause at DFARS 252.227-7013.  This
11 *  notice must appear in all copies of this file and its derivatives.
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;
26
27/* functions */
28
29rtems_task Exit_task();
30void exit_task_init();
31
32void Install_clock( rtems_isr_entry );
33void ReInstall_clock( rtems_isr_entry );
34void Clock_exit();
35
36rtems_isr Clock_isr(
37  rtems_vector_number
38);
39
40/* driver entries */
41
42#define CLOCK_DRIVER_TABLE_ENTRY \
43  { Clock_initialize, NULL, NULL, NULL, NULL, NULL }
44
45rtems_device_driver Clock_initialize(
46  rtems_device_major_number,
47  rtems_device_minor_number,
48  void *,
49  rtems_id,
50  rtems_unsigned32 *
51);
52
53#ifdef __cplusplus
54}
55#endif
56
57#endif
58/* end of include file */
Note: See TracBrowser for help on using the repository browser.