4.115
Last change
on this file since 253dde0 was
253dde0,
checked in by Ralf Corsepius <ralf.corsepius@…>, on 02/23/11 at 14:27:15
|
2011-02-23 Ralf Corsépius <ralf.corsepius@…>
- libcsupport/include/clockdrv.h, libcsupport/include/console.h,
libcsupport/include/spurious.h, libcsupport/include/rtems/error.h,
libcsupport/include/rtems/libcsupport.h: Add missing includes.
|
-
Property mode set to
100644
|
File size:
1000 bytes
|
Line | |
---|
1 | /** |
---|
2 | * @file rtems/clockdrv.h |
---|
3 | */ |
---|
4 | |
---|
5 | /* clock.h |
---|
6 | * |
---|
7 | * This file describes the Clock Driver for all boards. |
---|
8 | * |
---|
9 | * COPYRIGHT (c) 1989-1999. |
---|
10 | * On-Line Applications Research Corporation (OAR). |
---|
11 | * |
---|
12 | * The license and distribution terms for this file may be |
---|
13 | * found in the file LICENSE in this distribution or at |
---|
14 | * http://www.rtems.com/license/LICENSE. |
---|
15 | * |
---|
16 | * $Id$ |
---|
17 | */ |
---|
18 | |
---|
19 | #ifndef _RTEMS_CLOCKDRV_H |
---|
20 | #define _RTEMS_CLOCKDRV_H |
---|
21 | |
---|
22 | #include <rtems/io.h> /* rtems_device_driver */ |
---|
23 | |
---|
24 | #ifdef __cplusplus |
---|
25 | extern "C" { |
---|
26 | #endif |
---|
27 | |
---|
28 | /* variables */ |
---|
29 | |
---|
30 | extern volatile uint32_t Clock_driver_ticks; |
---|
31 | extern rtems_device_major_number rtems_clock_major; |
---|
32 | extern rtems_device_minor_number rtems_clock_minor; |
---|
33 | |
---|
34 | /* default clock driver entry */ |
---|
35 | |
---|
36 | #define CLOCK_DRIVER_TABLE_ENTRY \ |
---|
37 | { Clock_initialize, NULL, NULL, NULL, NULL, NULL } |
---|
38 | |
---|
39 | rtems_device_driver Clock_initialize( |
---|
40 | rtems_device_major_number, |
---|
41 | rtems_device_minor_number, |
---|
42 | void * |
---|
43 | ); |
---|
44 | |
---|
45 | void Clock_exit(void); |
---|
46 | |
---|
47 | #ifdef __cplusplus |
---|
48 | } |
---|
49 | #endif |
---|
50 | |
---|
51 | #endif |
---|
52 | /* end of include file */ |
---|
Note: See
TracBrowser
for help on using the repository browser.