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