1*ce099b40Smartin /* $NetBSD: timer_jazziovar.h,v 1.6 2008/04/28 20:23:13 martin Exp $ */ 2c6eacfaeSsoda 3c6eacfaeSsoda /*- 4c6eacfaeSsoda * Copyright (c) 2001 The NetBSD Foundation, Inc. 5c6eacfaeSsoda * All rights reserved. 6c6eacfaeSsoda * 7c6eacfaeSsoda * This code is derived from software contributed to The NetBSD Foundation 8c6eacfaeSsoda * by SODA Noriyuki. 9c6eacfaeSsoda * 10c6eacfaeSsoda * Redistribution and use in source and binary forms, with or without 11c6eacfaeSsoda * modification, are permitted provided that the following conditions 12c6eacfaeSsoda * are met: 13c6eacfaeSsoda * 1. Redistributions of source code must retain the above copyright 14c6eacfaeSsoda * notice, this list of conditions and the following disclaimer. 15c6eacfaeSsoda * 2. Redistributions in binary form must reproduce the above copyright 16c6eacfaeSsoda * notice, this list of conditions and the following disclaimer in the 17c6eacfaeSsoda * documentation and/or other materials provided with the distribution. 18c6eacfaeSsoda * 19c6eacfaeSsoda * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 20c6eacfaeSsoda * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 21c6eacfaeSsoda * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 22c6eacfaeSsoda * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 23c6eacfaeSsoda * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 24c6eacfaeSsoda * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 25c6eacfaeSsoda * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 26c6eacfaeSsoda * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 27c6eacfaeSsoda * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 28c6eacfaeSsoda * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 29c6eacfaeSsoda * POSSIBILITY OF SUCH DAMAGE. 30c6eacfaeSsoda */ 31c6eacfaeSsoda 32c6eacfaeSsoda struct timer_jazzio_config { 337310abdeStsutsui uint32_t tjc_intr_mask; 347310abdeStsutsui uint32_t (*tjc_intr)(uint32_t, struct clockframe *); 357fe2a5a0Stsutsui void (*tjc_init)(int); 36c6eacfaeSsoda }; 37c6eacfaeSsoda 38c6eacfaeSsoda extern struct timer_jazzio_config *timer_jazzio_conf; 3954713c08Stsutsui extern struct evcnt timer_jazzio_ev; 40