4.104.114.84.95
Last change
on this file since d3d9ef37 was
d3d9ef37,
checked in by Jennifer Averett <Jennifer.Averett@…>, on 04/15/05 at 18:30:11
|
2005-04-15 Jennifer Averett <jennifer.averett@…>
- mpc6xx/clock/c_clock.c, mpc6xx/clock/c_clock.h,
mpc8260/console-generic/console-generic.c: add parameter to new
exception interrupt handlers in powerpc bsps
|
-
Property mode set to
100644
|
File size:
1.3 KB
|
Rev | Line | |
---|
[acc25ee] | 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 |
---|
[21e1c44] | 14 | * http://www.rtems.com/license/LICENSE. |
---|
[acc25ee] | 15 | * |
---|
| 16 | * Modified to support the MPC750. |
---|
| 17 | * Modifications Copyright (c) 1999 Eric Valette valette@crf.canon.fr |
---|
| 18 | * |
---|
| 19 | * $Id$ |
---|
| 20 | */ |
---|
| 21 | |
---|
[a859df85] | 22 | #ifndef _LIBCPU_C_CLOCK_H |
---|
| 23 | #define _LIBCPU_C_CLOCK_H |
---|
[acc25ee] | 24 | |
---|
| 25 | #include <rtems.h> |
---|
| 26 | |
---|
| 27 | /* |
---|
[8e13ca61] | 28 | * These functions and variables represent the API exported by the |
---|
| 29 | * CPU to the BSP. |
---|
[acc25ee] | 30 | */ |
---|
[8e13ca61] | 31 | |
---|
[acc25ee] | 32 | extern void clockOff (void* unused); |
---|
| 33 | extern void clockOn (void* unused); |
---|
[d3d9ef37] | 34 | extern void clockIsr (void* unused); |
---|
[acc25ee] | 35 | extern int clockIsOn (void* unused); |
---|
| 36 | |
---|
[8e13ca61] | 37 | /* |
---|
| 38 | * These functions and variables represent the assumptions of this |
---|
| 39 | * driver on the BSP. |
---|
| 40 | */ |
---|
| 41 | |
---|
| 42 | extern int BSP_disconnect_clock_handler (void); |
---|
| 43 | /* |
---|
| 44 | * PCI Bus Frequency |
---|
| 45 | */ |
---|
| 46 | extern unsigned int BSP_bus_frequency; |
---|
| 47 | /* |
---|
| 48 | * processor clock frequency |
---|
| 49 | */ |
---|
| 50 | extern unsigned int BSP_processor_frequency; |
---|
| 51 | /* |
---|
| 52 | * Time base divisior (how many tick for 1 second). |
---|
| 53 | */ |
---|
| 54 | extern unsigned int BSP_time_base_divisor; |
---|
| 55 | |
---|
[acc25ee] | 56 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.