diff options
Diffstat (limited to '')
-rw-r--r-- | tools/cpu/nios2/clocks.h | 28 |
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 + |