source: rtems/c/src/lib/libcpu/powerpc/mpc6xx/clock/c_clock.h @ 2f399d6

4.104.114.84.95
Last change on this file since 2f399d6 was 21e1c44, checked in by Joel Sherrill <joel.sherrill@…>, on 09/04/03 at 18:53:10

2003-09-04 Joel Sherrill <joel@…>

  • mpc6xx/clock/c_clock.c, mpc6xx/clock/c_clock.h, mpc6xx/exceptions/raw_exception.c, mpc6xx/exceptions/raw_exception.h, mpc6xx/mmu/bat.c, mpc6xx/mmu/bat.h, mpc6xx/mmu/mmuAsm.S, mpc6xx/timer/timer.c, mpc8260/clock/clock.c, mpc8260/console-generic/console-generic.c, mpc8260/cpm/brg.c, mpc8260/exceptions/raw_exception.c, mpc8260/exceptions/raw_exception.h, mpc8260/include/cpm.h, mpc8260/include/mmu.h, mpc8260/mmu/mmu.c, mpc8260/timer/timer.c, mpc8xx/clock/clock.c, mpc8xx/console-generic/console-generic.c, mpc8xx/exceptions/raw_exception.c, mpc8xx/exceptions/raw_exception.h, mpc8xx/include/cpm.h, mpc8xx/include/mmu.h, mpc8xx/mmu/mmu.c, mpc8xx/timer/timer.c, ppc403/clock/clock.c, ppc403/console/console.c.polled, ppc403/timer/timer.c, rtems/powerpc/debugmod.h, shared/include/byteorder.h, shared/include/cpuIdent.c, shared/include/cpuIdent.h, shared/include/io.h, shared/include/mmu.h, shared/include/page.h, shared/include/pgtable.h, shared/include/spr.h: URL for license changed.
  • 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 *  $Id$
20 */
21
22#ifndef _LIB_LIBCPU_C_CLOCK_H
23#define _LIB_LIBCPU_C_CLOCK_H
24
25#include <rtems.h>
26
27/*
28 * These functions and variables represent the API exported by the
29 * CPU to the BSP.
30 */
31
32extern void clockOff    (void* unused);
33extern void clockOn     (void* unused);
34extern void clockIsr    (void);
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.