1 1.1 jruoho /* $NetBSD: est.h,v 1.1 2011/02/23 11:43:22 jruoho Exp $ */ 2 1.1 jruoho 3 1.1 jruoho /* 4 1.1 jruoho * Copyright (c) 2003 Michael Eriksson. 5 1.1 jruoho * All rights reserved. 6 1.1 jruoho * 7 1.1 jruoho * Redistribution and use in source and binary forms, with or without 8 1.1 jruoho * modification, are permitted provided that the following conditions 9 1.1 jruoho * are met: 10 1.1 jruoho * 1. Redistributions of source code must retain the above copyright 11 1.1 jruoho * notice, this list of conditions and the following disclaimer. 12 1.1 jruoho * 2. Redistributions in binary form must reproduce the above copyright 13 1.1 jruoho * notice, this list of conditions and the following disclaimer in the 14 1.1 jruoho * documentation and/or other materials provided with the distribution. 15 1.1 jruoho * 3. The name of the author may not be used to endorse or promote products 16 1.1 jruoho * derived from this software without specific prior written permission. 17 1.1 jruoho * 18 1.1 jruoho * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 19 1.1 jruoho * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 20 1.1 jruoho * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 21 1.1 jruoho * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 22 1.1 jruoho * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 23 1.1 jruoho * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24 1.1 jruoho * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 1.1 jruoho * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 1.1 jruoho * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 27 1.1 jruoho * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 1.1 jruoho */ 29 1.1 jruoho 30 1.1 jruoho /*- 31 1.1 jruoho * Copyright (c) 2004 The NetBSD Foundation, Inc. 32 1.1 jruoho * All rights reserved. 33 1.1 jruoho * 34 1.1 jruoho * Redistribution and use in source and binary forms, with or without 35 1.1 jruoho * modification, are permitted provided that the following conditions 36 1.1 jruoho * are met: 37 1.1 jruoho * 1. Redistributions of source code must retain the above copyright 38 1.1 jruoho * notice, this list of conditions and the following disclaimer. 39 1.1 jruoho * 2. Redistributions in binary form must reproduce the above copyright 40 1.1 jruoho * notice, this list of conditions and the following disclaimer in the 41 1.1 jruoho * documentation and/or other materials provided with the distribution. 42 1.1 jruoho * 43 1.1 jruoho * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 44 1.1 jruoho * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 45 1.1 jruoho * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 46 1.1 jruoho * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 47 1.1 jruoho * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 48 1.1 jruoho * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 49 1.1 jruoho * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 50 1.1 jruoho * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 51 1.1 jruoho * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 52 1.1 jruoho * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 53 1.1 jruoho * POSSIBILITY OF SUCH DAMAGE. 54 1.1 jruoho */ 55 1.1 jruoho 56 1.1 jruoho #ifndef _X86_EST_H_ 57 1.1 jruoho #define _X86_EST_H_ 58 1.1 jruoho 59 1.1 jruoho int via_get_bus_clock(struct cpu_info *); 60 1.1 jruoho int viac7_get_bus_clock(struct cpu_info *); 61 1.1 jruoho int p3_get_bus_clock(struct cpu_info *); 62 1.1 jruoho int p4_get_bus_clock(struct cpu_info *); 63 1.1 jruoho 64 1.1 jruoho #endif /* !_X86_EST_H_ */ 65