summaryrefslogtreecommitdiffstats
path: root/tools/cpu/nios2/clocks.h
blob: ef8395d39c1cd37f3f5555e3ecd45705aaa9ba5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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