tick.h revision 145150
1291603Sngie/*- 2258299Sjmmv * Copyright (c) 2001 Jake Burkholder. 3258299Sjmmv * All rights reserved. 4258299Sjmmv * 5258299Sjmmv * Redistribution and use in source and binary forms, with or without 6258299Sjmmv * modification, are permitted provided that the following conditions 7258299Sjmmv * are met: 8258299Sjmmv * 1. Redistributions of source code must retain the above copyright 9258299Sjmmv * notice, this list of conditions and the following disclaimer. 10258299Sjmmv * 2. Redistributions in binary form must reproduce the above copyright 11258299Sjmmv * notice, this list of conditions and the following disclaimer in the 12258299Sjmmv * documentation and/or other materials provided with the distribution. 13258299Sjmmv * 14258299Sjmmv * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15258299Sjmmv * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16258299Sjmmv * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17258299Sjmmv * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18258299Sjmmv * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19258299Sjmmv * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20258299Sjmmv * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21258299Sjmmv * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22258299Sjmmv * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23258299Sjmmv * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24258299Sjmmv * SUCH DAMAGE. 25258299Sjmmv * 26258299Sjmmv * $FreeBSD: head/sys/sparc64/include/tick.h 145150 2005-04-16 14:57:38Z marius $ 27258299Sjmmv */ 28258299Sjmmv 29258299Sjmmv#ifndef _MACHINE_TICK_H_ 30258299Sjmmv#define _MACHINE_TICK_H_ 31258299Sjmmv 32258299Sjmmvvoid tick_init(u_long clock); 33258299Sjmmvvoid tick_start(void); 34258299Sjmmvvoid tick_stop(void); 35258299Sjmmv 36258299Sjmmv#endif 37258299Sjmmv