summaryrefslogtreecommitdiffstats
path: root/tools/cpu/nios2/clocks.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2006-08-09 21:05:32 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2006-08-09 21:05:32 +0000
commit037e16396df671074fca9e0348626b724d2c2960 (patch)
tree09dd6fa9a7d56dab4284ef1416fed604dc84965d /tools/cpu/nios2/clocks.h
parent2006-08-09 Kolja Waschk <waschk@telos.de> (diff)
downloadrtems-037e16396df671074fca9e0348626b724d2c2960.tar.bz2
2006-08-09 Kolja Waschk <waschk@telos.de>
* configure.ac: New port to Altera NIOS II. * nios2/.cvsignore, nios2/Makefile.am, nios2/README, nios2/bridges.c, nios2/bridges.h, nios2/clocks.c, nios2/clocks.h, nios2/configure.ac, nios2/devices.c, nios2/devices.h, nios2/nios2gen.c, nios2/output.c, nios2/output.h, nios2/ptf.c, nios2/ptf.h: New files.
Diffstat (limited to 'tools/cpu/nios2/clocks.h')
-rw-r--r--tools/cpu/nios2/clocks.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/tools/cpu/nios2/clocks.h b/tools/cpu/nios2/clocks.h
new file mode 100644
index 0000000000..ef8395d39c
--- /dev/null
+++ b/tools/cpu/nios2/clocks.h
@@ -0,0 +1,28 @@
+/*
+ * Copyright (c) 2006 Kolja Waschk rtemsdev/ixo.de
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.com/license/LICENSE.
+ *
+ * $Id$
+ */
+
+#ifndef __NIOS2GEN_CLOCKS_H
+#define __NIOS2GEN_CLOCKS_H 1
+
+#include "ptf.h"
+
+typedef struct clockdsc
+{
+ char *name;
+ char *cfgname;
+ unsigned long freq;
+ struct clockdsc *next;
+}
+clock_desc;
+
+clock_desc *find_clocks( struct ptf *ptf, struct ptf *cfg );
+
+#endif
+