Home | History | Annotate | Line # | Download | only in include
mips3_clock.h revision 1.5
      1  1.5    joerg /*	$NetBSD: mips3_clock.h,v 1.5 2008/01/08 14:46:28 joerg Exp $	*/
      2  1.1  gdamore 
      3  1.1  gdamore /*
      4  1.1  gdamore  * Copyright (c) 2006 Garrett D'Amore.
      5  1.1  gdamore  * All rights reserved.
      6  1.1  gdamore  *
      7  1.1  gdamore  * Written by Garrett D'Amore for the NetBSD Project.
      8  1.1  gdamore  *
      9  1.1  gdamore  * Redistribution and use in source and binary forms, with or
     10  1.1  gdamore  * without modification, are permitted provided that the following
     11  1.1  gdamore  * conditions are met:
     12  1.1  gdamore  * 1. Redistributions of source code must retain the above copyright
     13  1.1  gdamore  *    notice, this list of conditions and the following disclaimer.
     14  1.1  gdamore  * 2. Redistributions in binary form must reproduce the above
     15  1.1  gdamore  *    copyright notice, this list of conditions and the following
     16  1.1  gdamore  *    disclaimer in the documentation and/or other materials provided
     17  1.1  gdamore  *    with the distribution.
     18  1.1  gdamore  * 3. Garrett D'Amore's name may not be used to endorse or promote products
     19  1.1  gdamore  *    derived from this software without specific prior written permission.
     20  1.1  gdamore  *
     21  1.1  gdamore  * THIS SOFTWARE IS PROVIDED BY GARRETT D'AMORE ``AS IS'' AND ANY EXPRESS
     22  1.1  gdamore  * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
     23  1.1  gdamore  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     24  1.1  gdamore  * ARE DISCLAIMED.  IN NO EVENT SHALL GARRETT D'AMORE BE LIABLE FOR ANY
     25  1.1  gdamore  * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
     26  1.1  gdamore  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
     27  1.1  gdamore  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
     28  1.1  gdamore  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
     29  1.1  gdamore  * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     30  1.1  gdamore  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
     31  1.1  gdamore  * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
     32  1.1  gdamore  */
     33  1.1  gdamore 
     34  1.1  gdamore #ifndef	_MIPS3_CLOCK_H
     35  1.1  gdamore #define	_MIPS3_CLOCK_H
     36  1.1  gdamore 
     37  1.4  tsutsui void	mips3_clockintr(struct clockframe *);
     38  1.3  gdamore void	mips3_initclocks(void);
     39  1.3  gdamore void	mips3_delay(int);
     40  1.3  gdamore void	mips3_setstatclockrate(int);
     41  1.1  gdamore 
     42  1.3  gdamore void	mips3_init_tc(void);
     43  1.2  gdamore 
     44  1.1  gdamore #endif	/* _MIPS3_CLOCK_H */
     45