11.3Srin/*	$NetBSD: openbios.h,v 1.3 2021/03/30 01:47:45 rin Exp $	*/
21.1Sshige
31.1Sshige/*
41.1Sshige * Copyright (c) 2004 Shigeyuki Fukushima.
51.1Sshige * All rights reserved.
61.1Sshige *
71.1Sshige * Redistribution and use in source and binary forms, with or without
81.1Sshige * modification, are permitted provided that the following conditions
91.1Sshige * are met:
101.1Sshige * 1. Redistributions of source code must retain the above copyright
111.1Sshige *    notice, this list of conditions and the following disclaimer.
121.1Sshige * 2. Redistributions in binary form must reproduce the above
131.1Sshige *    copyright notice, this list of conditions and the following
141.1Sshige *    disclaimer in the documentation and/or other materials provided
151.1Sshige *    with the distribution.
161.1Sshige * 3. The name of the author may not be used to endorse or promote
171.1Sshige *    products derived from this software without specific prior
181.1Sshige *    written permission.
191.1Sshige *
201.1Sshige * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
211.1Sshige * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
221.1Sshige * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
231.1Sshige * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
241.1Sshige * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
251.1Sshige * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
261.1Sshige * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
271.1Sshige * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
281.1Sshige * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
291.1Sshige * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
301.1Sshige * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
311.1Sshige */
321.1Sshige
331.1Sshige#ifndef _IBM4XX_OPENBIOS_H_
341.1Sshige#define	_IBM4XX_OPENBIOS_H_
351.1Sshige
361.1Sshige#include <sys/param.h>
371.1Sshige
381.3Srinextern void		openbios_board_init(void *);
391.1Sshigeextern unsigned int	openbios_board_memsize_get(void);
401.1Sshigeextern void		openbios_board_info_set(void);
411.1Sshigeextern void		openbios_board_print(void);
421.1Sshige
431.1Sshige#endif	/* _IBM4XX_OPENBIOS_H_ */
44