xref: /netbsd-src/sys/arch/acorn32/include/machdep.h (revision 95e1ffb15694e54f29f8baaa4232152b703c2a5a)
1*95e1ffb1Schristos /* $NetBSD: machdep.h,v 1.2 2005/12/11 12:16:05 christos Exp $ */
22652188cSthorpej /*-
32652188cSthorpej  * Copyright (c) 1998 Ben Harris
42652188cSthorpej  * All rights reserved.
52652188cSthorpej  *
62652188cSthorpej  * Redistribution and use in source and binary forms, with or without
72652188cSthorpej  * modification, are permitted provided that the following conditions
82652188cSthorpej  * are met:
92652188cSthorpej  * 1. Redistributions of source code must retain the above copyright
102652188cSthorpej  *    notice, this list of conditions and the following disclaimer.
112652188cSthorpej  * 2. Redistributions in binary form must reproduce the above copyright
122652188cSthorpej  *    notice, this list of conditions and the following disclaimer in the
132652188cSthorpej  *    documentation and/or other materials provided with the distribution.
142652188cSthorpej  * 3. The name of the author may not be used to endorse or promote products
152652188cSthorpej  *    derived from this software without specific prior written permission.
162652188cSthorpej  *
172652188cSthorpej  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
182652188cSthorpej  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
192652188cSthorpej  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
202652188cSthorpej  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
212652188cSthorpej  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
222652188cSthorpej  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
232652188cSthorpej  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
242652188cSthorpej  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
252652188cSthorpej  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
262652188cSthorpej  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
272652188cSthorpej  */
282652188cSthorpej /*
292652188cSthorpej  * machdep.h - random exported functions that have to be declared somewhere.
302652188cSthorpej  */
312652188cSthorpej 
322652188cSthorpej #ifndef _ACORN32_MACHDEP_H
332652188cSthorpej #define _ACORN32_MACHDEP_H
342652188cSthorpej 
352652188cSthorpej /* rpc_machdep.c */
362652188cSthorpej extern int cmos_read(int);
372652188cSthorpej extern int cmos_write(int, int);
382652188cSthorpej 
392652188cSthorpej #endif
40