1*c13a5359Sthorpej /* $NetBSD: cpu.h,v 1.7 2024/01/20 00:15:33 thorpej Exp $ */ 2f83db12cSthorpej 3f83db12cSthorpej /* 4f83db12cSthorpej * Copyright (c) 1988 University of Utah. 5f83db12cSthorpej * Copyright (c) 1982, 1990, 1993 6f83db12cSthorpej * The Regents of the University of California. All rights reserved. 7f83db12cSthorpej * 8f83db12cSthorpej * This code is derived from software contributed to Berkeley by 9f83db12cSthorpej * the Systems Programming Group of the University of Utah Computer 10f83db12cSthorpej * Science Department. 11f83db12cSthorpej * 12f83db12cSthorpej * Redistribution and use in source and binary forms, with or without 13f83db12cSthorpej * modification, are permitted provided that the following conditions 14f83db12cSthorpej * are met: 15f83db12cSthorpej * 1. Redistributions of source code must retain the above copyright 16f83db12cSthorpej * notice, this list of conditions and the following disclaimer. 17f83db12cSthorpej * 2. Redistributions in binary form must reproduce the above copyright 18f83db12cSthorpej * notice, this list of conditions and the following disclaimer in the 19f83db12cSthorpej * documentation and/or other materials provided with the distribution. 20f83db12cSthorpej * 3. Neither the name of the University nor the names of its contributors 21f83db12cSthorpej * may be used to endorse or promote products derived from this software 22f83db12cSthorpej * without specific prior written permission. 23f83db12cSthorpej * 24f83db12cSthorpej * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 25f83db12cSthorpej * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 26f83db12cSthorpej * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 27f83db12cSthorpej * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 28f83db12cSthorpej * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 29f83db12cSthorpej * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30f83db12cSthorpej * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31f83db12cSthorpej * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32f83db12cSthorpej * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33f83db12cSthorpej * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34f83db12cSthorpej * SUCH DAMAGE. 35f83db12cSthorpej * 36f83db12cSthorpej * from: Utah $Hdr: cpu.h 1.16 91/03/25$ 37f83db12cSthorpej * 38f83db12cSthorpej * @(#)cpu.h 8.4 (Berkeley) 1/5/94 39f83db12cSthorpej */ 40f83db12cSthorpej 41f83db12cSthorpej #ifndef _MACHINE_CPU_H_ 42f83db12cSthorpej #define _MACHINE_CPU_H_ 43f83db12cSthorpej 44f83db12cSthorpej #if defined(_KERNEL_OPT) 45f83db12cSthorpej #include "opt_lockdebug.h" 46f83db12cSthorpej #endif 47f83db12cSthorpej 48f83db12cSthorpej /* 49f83db12cSthorpej * Get common m68k CPU definitions. 50f83db12cSthorpej */ 51f83db12cSthorpej #include <m68k/cpu.h> 52f83db12cSthorpej 53f83db12cSthorpej #ifdef _KERNEL 5446ec8114Sthorpej void cpu_set_reset_func(void (*)(void *, int), void *); 55f83db12cSthorpej int nmihand(void *); 56f83db12cSthorpej 57f83db12cSthorpej #endif /* _KERNEL */ 58f83db12cSthorpej 59f83db12cSthorpej #endif /* _MACHINE_CPU_H_ */ 60