1*ce099b40Smartin /* $NetBSD: clock.c,v 1.8 2008/04/28 20:23:18 martin Exp $ */
204faabf0Stsutsui
304faabf0Stsutsui /*-
404faabf0Stsutsui * Copyright (c) 2001, 2004, 2005 The NetBSD Foundation, Inc.
504faabf0Stsutsui * All rights reserved.
604faabf0Stsutsui *
704faabf0Stsutsui * Redistribution and use in source and binary forms, with or without
804faabf0Stsutsui * modification, are permitted provided that the following conditions
904faabf0Stsutsui * are met:
1004faabf0Stsutsui * 1. Redistributions of source code must retain the above copyright
1104faabf0Stsutsui * notice, this list of conditions and the following disclaimer.
1204faabf0Stsutsui * 2. Redistributions in binary form must reproduce the above copyright
1304faabf0Stsutsui * notice, this list of conditions and the following disclaimer in the
1404faabf0Stsutsui * documentation and/or other materials provided with the distribution.
1504faabf0Stsutsui *
1604faabf0Stsutsui * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
1704faabf0Stsutsui * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
1804faabf0Stsutsui * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
1904faabf0Stsutsui * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
2004faabf0Stsutsui * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
2104faabf0Stsutsui * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
2204faabf0Stsutsui * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
2304faabf0Stsutsui * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
2404faabf0Stsutsui * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
2504faabf0Stsutsui * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
2604faabf0Stsutsui * POSSIBILITY OF SUCH DAMAGE.
2704faabf0Stsutsui */
2804faabf0Stsutsui
2904faabf0Stsutsui #include <sys/cdefs.h>
30*ce099b40Smartin __KERNEL_RCSID(0, "$NetBSD: clock.c,v 1.8 2008/04/28 20:23:18 martin Exp $");
3104faabf0Stsutsui
3204faabf0Stsutsui #include <sys/param.h>
3304faabf0Stsutsui
348639b95cSgdamore #include <mips/mips3_clock.h>
3504faabf0Stsutsui
3604faabf0Stsutsui #include <machine/sbdvar.h>
3704faabf0Stsutsui
3804faabf0Stsutsui void
cpu_initclocks(void)3904faabf0Stsutsui cpu_initclocks(void)
4004faabf0Stsutsui {
4104faabf0Stsutsui
4204faabf0Stsutsui KASSERT(platform.initclocks);
4304faabf0Stsutsui
4404faabf0Stsutsui (*platform.initclocks)();
454e1adf90Stsutsui
468639b95cSgdamore mips3_init_tc();
4704faabf0Stsutsui }
48780822fbSgdamore
4904faabf0Stsutsui void
setstatclockrate(int arg)5004faabf0Stsutsui setstatclockrate(int arg)
5104faabf0Stsutsui {
5204faabf0Stsutsui
5304faabf0Stsutsui /* not yet */
5404faabf0Stsutsui }
55