xref: /freebsd/sys/dev/xen/timer/timer.h (revision 5f05c79450788b33bd82738ee27bf6d0ceeb12ca)
1*5f05c794SRoger Pau Monné /*-
2*5f05c794SRoger Pau Monné  * Copyright (c) 2013 Roger Pau Monné <roger.pau@citrix.com>
3*5f05c794SRoger Pau Monné  * All rights reserved.
4*5f05c794SRoger Pau Monné  *
5*5f05c794SRoger Pau Monné  * Redistribution and use in source and binary forms, with or without
6*5f05c794SRoger Pau Monné  * modification, are permitted provided that the following conditions
7*5f05c794SRoger Pau Monné  * are met:
8*5f05c794SRoger Pau Monné  * 1. Redistributions of source code must retain the above copyright
9*5f05c794SRoger Pau Monné  *    notice, this list of conditions and the following disclaimer.
10*5f05c794SRoger Pau Monné  * 2. Redistributions in binary form must reproduce the above copyright
11*5f05c794SRoger Pau Monné  *    notice, this list of conditions and the following disclaimer in the
12*5f05c794SRoger Pau Monné  *    documentation and/or other materials provided with the distribution.
13*5f05c794SRoger Pau Monné  *
14*5f05c794SRoger Pau Monné  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS AS IS'' AND
15*5f05c794SRoger Pau Monné  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16*5f05c794SRoger Pau Monné  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17*5f05c794SRoger Pau Monné  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18*5f05c794SRoger Pau Monné  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19*5f05c794SRoger Pau Monné  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20*5f05c794SRoger Pau Monné  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21*5f05c794SRoger Pau Monné  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22*5f05c794SRoger Pau Monné  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23*5f05c794SRoger Pau Monné  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24*5f05c794SRoger Pau Monné  * SUCH DAMAGE.
25*5f05c794SRoger Pau Monné  *
26*5f05c794SRoger Pau Monné  * $FreeBSD$
27*5f05c794SRoger Pau Monné  */
28*5f05c794SRoger Pau Monné 
29*5f05c794SRoger Pau Monné #ifndef _XEN_TIMER_H_
30*5f05c794SRoger Pau Monné #define _XEN_TIMER_H_
31*5f05c794SRoger Pau Monné 
32*5f05c794SRoger Pau Monné void xen_clock_init(void);
33*5f05c794SRoger Pau Monné void xen_delay(int);
34*5f05c794SRoger Pau Monné 
35*5f05c794SRoger Pau Monné #endif /* _XEN_TIMER_H_ */
36