15f05c794SRoger Pau Monné /*- 2*4d846d26SWarner Losh * SPDX-License-Identifier: BSD-2-Clause 3718cf2ccSPedro F. Giffuni * 45f05c794SRoger Pau Monné * Copyright (c) 2013 Roger Pau Monné <roger.pau@citrix.com> 55f05c794SRoger Pau Monné * All rights reserved. 65f05c794SRoger Pau Monné * 75f05c794SRoger Pau Monné * Redistribution and use in source and binary forms, with or without 85f05c794SRoger Pau Monné * modification, are permitted provided that the following conditions 95f05c794SRoger Pau Monné * are met: 105f05c794SRoger Pau Monné * 1. Redistributions of source code must retain the above copyright 115f05c794SRoger Pau Monné * notice, this list of conditions and the following disclaimer. 125f05c794SRoger Pau Monné * 2. Redistributions in binary form must reproduce the above copyright 135f05c794SRoger Pau Monné * notice, this list of conditions and the following disclaimer in the 145f05c794SRoger Pau Monné * documentation and/or other materials provided with the distribution. 155f05c794SRoger Pau Monné * 165f05c794SRoger Pau Monné * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS AS IS'' AND 175f05c794SRoger Pau Monné * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 185f05c794SRoger Pau Monné * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 195f05c794SRoger Pau Monné * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 205f05c794SRoger Pau Monné * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 215f05c794SRoger Pau Monné * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 225f05c794SRoger Pau Monné * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 235f05c794SRoger Pau Monné * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 245f05c794SRoger Pau Monné * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 255f05c794SRoger Pau Monné * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 265f05c794SRoger Pau Monné * SUCH DAMAGE. 275f05c794SRoger Pau Monné */ 285f05c794SRoger Pau Monné 295f05c794SRoger Pau Monné #ifndef _XEN_TIMER_H_ 305f05c794SRoger Pau Monné #define _XEN_TIMER_H_ 315f05c794SRoger Pau Monné 325f05c794SRoger Pau Monné void xen_clock_init(void); 335f05c794SRoger Pau Monné void xen_delay(int); 345f05c794SRoger Pau Monné 355f05c794SRoger Pau Monné #endif /* _XEN_TIMER_H_ */ 36