diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-12-02 14:31:19 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-12-02 14:31:19 +0000 |
commit | acc25eec35e186abc118b9ca4f097e22fc6b4846 (patch) | |
tree | 7fa75871c51372e70cbd9cb50b0a2fab55cfa750 /c/src/lib/libcpu/powerpc/mpc6xx/clock/c_clock.h | |
parent | Merged of mcp750 and mvme2307 BSP by Eric Valette <valette@crf.canon.fr>. (diff) | |
download | rtems-acc25eec35e186abc118b9ca4f097e22fc6b4846.tar.bz2 |
Merged of mcp750 and mvme2307 BSP by Eric Valette <valette@crf.canon.fr>.
As part of this effort, the mpc750 libcpu code is now shared with the
ppc6xx.
Diffstat (limited to 'c/src/lib/libcpu/powerpc/mpc6xx/clock/c_clock.h')
-rw-r--r-- | c/src/lib/libcpu/powerpc/mpc6xx/clock/c_clock.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/c/src/lib/libcpu/powerpc/mpc6xx/clock/c_clock.h b/c/src/lib/libcpu/powerpc/mpc6xx/clock/c_clock.h new file mode 100644 index 0000000000..237273f6f9 --- /dev/null +++ b/c/src/lib/libcpu/powerpc/mpc6xx/clock/c_clock.h @@ -0,0 +1,42 @@ +/* + * Clock Tick Device Driver + * + * This routine utilizes the Decrementer Register common to the PPC family. + * + * The tick frequency is directly programmed to the configured number of + * microseconds per tick. + * + * COPYRIGHT (c) 1989-1997. + * On-Line Applications Research Corporation (OAR). + * Copyright assigned to U.S. Government, 1994. + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.OARcorp.com/rtems/license.html. + * + * Modified to support the MPC750. + * Modifications Copyright (c) 1999 Eric Valette valette@crf.canon.fr + * + * $Id$ + */ + +#ifndef _LIB_LIBCPU_C_CLOCK_H +#define _LIB_LIBCPU_C_CLOCK_H + +#include <rtems.h> +#include <bsp.h> + +/* + * Theses functions and variables represent the API exported by the CPU to the BSP + */ +extern void clockOff (void* unused); +extern void clockOn (void* unused); +extern void clockIsr (void); +extern int clockIsOn (void* unused); + +#endif + + + + + |