forked from Imagelibrary/rtems
* 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.
29 lines
508 B
C
29 lines
508 B
C
/*
|
|
* 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
|
|
|