4.104.114.84.95
Last change
on this file since c3a0358 was
98e4ebf5,
checked in by Joel Sherrill <joel.sherrill@…>, on 10/08/97 at 15:45:54
|
Fixed typo in the pointer to the license terms.
|
-
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-1997. |
---|
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 |
---|
20 | extern "C" { |
---|
21 | #endif |
---|
22 | |
---|
23 | /* variables */ |
---|
24 | |
---|
25 | extern volatile rtems_unsigned32 Clock_driver_ticks; |
---|
26 | extern rtems_device_major_number rtems_clock_major; |
---|
27 | extern 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 | |
---|
34 | rtems_device_driver Clock_initialize( |
---|
35 | rtems_device_major_number, |
---|
36 | rtems_device_minor_number, |
---|
37 | void * |
---|
38 | ); |
---|
39 | |
---|
40 | rtems_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.