source: rtems/c/src/lib/libcpu/powerpc/mpc6xx/clock/c_clock.h @ 9b4422a2

4.115
Last change on this file since 9b4422a2 was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24

Remove All CVS Id Strings Possible Using a Script

Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines

next to each other after Id string line removed.

+ remove entire comment blocks which only exited to

contain CVS Ids

+ If the processing left a blank line at the top of

a file, it was removed.

  • Property mode set to 100644
File size: 1.3 KB
Line 
1/*
2 *  Clock Tick Device Driver
3 *
4 *  This routine utilizes the Decrementer Register common to the PPC family.
5 *
6 *  The tick frequency is directly programmed to the configured number of
7 *  microseconds per tick.
8 *
9 *  COPYRIGHT (c) 1989-1997.
10 *  On-Line Applications Research Corporation (OAR).
11 *
12 *  The license and distribution terms for this file may in
13 *  the file LICENSE in this distribution or at
14 *  http://www.rtems.com/license/LICENSE.
15 *
16 *  Modified to support the MPC750.
17 *  Modifications Copyright (c) 1999 Eric Valette valette@crf.canon.fr
18 */
19
20#ifndef _LIBCPU_C_CLOCK_H
21#define _LIBCPU_C_CLOCK_H
22
23#include <rtems.h>
24
25/*
26 * These functions and variables represent the API exported by the
27 * CPU to the BSP.
28 */
29
30extern void clockOff    (void* unused);
31extern void clockOn     (void* unused);
32extern void clockIsr    (void* unused);
33/* bookE decrementer is slightly different */
34extern void clockIsrBookE (void *unused);
35extern int  clockIsOn   (void* unused);
36
37/*
38 *  These functions and variables represent the assumptions of this
39 *  driver on the BSP.
40 */
41
42extern int BSP_disconnect_clock_handler (void);
43/*
44 * PCI Bus Frequency
45 */
46extern unsigned int BSP_bus_frequency;
47/*
48 * processor clock frequency
49 */
50extern unsigned int BSP_processor_frequency;
51/*
52 * Time base divisior (how many tick for 1 second).
53 */
54extern unsigned int BSP_time_base_divisor;
55
56#endif
Note: See TracBrowser for help on using the repository browser.