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