cpu.h revision 1.7
11.7Sthorpej/*	$NetBSD: cpu.h,v 1.7 2024/01/20 00:15:33 thorpej Exp $	*/
21.1Sthorpej
31.1Sthorpej/*
41.1Sthorpej * Copyright (c) 1988 University of Utah.
51.1Sthorpej * Copyright (c) 1982, 1990, 1993
61.1Sthorpej *	The Regents of the University of California.  All rights reserved.
71.1Sthorpej *
81.1Sthorpej * This code is derived from software contributed to Berkeley by
91.1Sthorpej * the Systems Programming Group of the University of Utah Computer
101.1Sthorpej * Science Department.
111.1Sthorpej *
121.1Sthorpej * Redistribution and use in source and binary forms, with or without
131.1Sthorpej * modification, are permitted provided that the following conditions
141.1Sthorpej * are met:
151.1Sthorpej * 1. Redistributions of source code must retain the above copyright
161.1Sthorpej *    notice, this list of conditions and the following disclaimer.
171.1Sthorpej * 2. Redistributions in binary form must reproduce the above copyright
181.1Sthorpej *    notice, this list of conditions and the following disclaimer in the
191.1Sthorpej *    documentation and/or other materials provided with the distribution.
201.1Sthorpej * 3. Neither the name of the University nor the names of its contributors
211.1Sthorpej *    may be used to endorse or promote products derived from this software
221.1Sthorpej *    without specific prior written permission.
231.1Sthorpej *
241.1Sthorpej * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
251.1Sthorpej * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
261.1Sthorpej * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
271.1Sthorpej * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
281.1Sthorpej * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
291.1Sthorpej * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
301.1Sthorpej * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
311.1Sthorpej * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
321.1Sthorpej * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
331.1Sthorpej * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
341.1Sthorpej * SUCH DAMAGE.
351.1Sthorpej *
361.1Sthorpej * from: Utah $Hdr: cpu.h 1.16 91/03/25$
371.1Sthorpej *
381.1Sthorpej *	@(#)cpu.h	8.4 (Berkeley) 1/5/94
391.1Sthorpej */
401.1Sthorpej
411.1Sthorpej#ifndef _MACHINE_CPU_H_
421.1Sthorpej#define _MACHINE_CPU_H_
431.1Sthorpej
441.1Sthorpej#if defined(_KERNEL_OPT)
451.1Sthorpej#include "opt_lockdebug.h"
461.1Sthorpej#endif
471.1Sthorpej
481.1Sthorpej/*
491.1Sthorpej * Get common m68k CPU definitions.
501.1Sthorpej */
511.1Sthorpej#include <m68k/cpu.h>
521.1Sthorpej
531.1Sthorpej#ifdef _KERNEL
541.3Sthorpejvoid	cpu_set_reset_func(void (*)(void *, int), void *);
551.1Sthorpejint	nmihand(void *);
561.1Sthorpej
571.1Sthorpej#endif /* _KERNEL */
581.1Sthorpej
591.1Sthorpej#endif /* _MACHINE_CPU_H_ */
60