OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [lib/] [include/] [clockdrv.h] - Blame information for rev 173

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
/*  clock.h
2
 *
3
 *  This file describes the Clock Driver for all boards.
4
 *
5
 *  COPYRIGHT (c) 1989-1999.
6
 *  On-Line Applications Research Corporation (OAR).
7
 *
8
 *  The license and distribution terms for this file may be
9
 *  found in the file LICENSE in this distribution or at
10
 *  http://www.OARcorp.com/rtems/license.html.
11
 *
12
 *  $Id: clockdrv.h,v 1.2 2001-09-27 11:59:35 chris Exp $
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;
25
extern rtems_device_major_number rtems_clock_major;
26
extern rtems_device_minor_number rtems_clock_minor;
27
 
28
/* default clock driver entry */
29
 
30
#define CLOCK_DRIVER_TABLE_ENTRY \
31
  { Clock_initialize, NULL, NULL, NULL, NULL, Clock_control }
32
 
33
rtems_device_driver Clock_initialize(
34
  rtems_device_major_number,
35
  rtems_device_minor_number,
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
43
);
44
 
45
#ifdef __cplusplus
46
}
47
#endif
48
 
49
#endif
50
/* end of include file */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.