1*ce3776b0Srin /* $NetBSD: openbios.h,v 1.3 2021/03/30 01:47:45 rin Exp $ */ 20f2e5868Sshige 30f2e5868Sshige /* 40f2e5868Sshige * Copyright (c) 2004 Shigeyuki Fukushima. 50f2e5868Sshige * All rights reserved. 60f2e5868Sshige * 70f2e5868Sshige * Redistribution and use in source and binary forms, with or without 80f2e5868Sshige * modification, are permitted provided that the following conditions 90f2e5868Sshige * are met: 100f2e5868Sshige * 1. Redistributions of source code must retain the above copyright 110f2e5868Sshige * notice, this list of conditions and the following disclaimer. 120f2e5868Sshige * 2. Redistributions in binary form must reproduce the above 130f2e5868Sshige * copyright notice, this list of conditions and the following 140f2e5868Sshige * disclaimer in the documentation and/or other materials provided 150f2e5868Sshige * with the distribution. 160f2e5868Sshige * 3. The name of the author may not be used to endorse or promote 170f2e5868Sshige * products derived from this software without specific prior 180f2e5868Sshige * written permission. 190f2e5868Sshige * 200f2e5868Sshige * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS 210f2e5868Sshige * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 220f2e5868Sshige * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 230f2e5868Sshige * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 240f2e5868Sshige * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 250f2e5868Sshige * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE 260f2e5868Sshige * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 270f2e5868Sshige * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 280f2e5868Sshige * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 290f2e5868Sshige * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 300f2e5868Sshige * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 310f2e5868Sshige */ 320f2e5868Sshige 330f2e5868Sshige #ifndef _IBM4XX_OPENBIOS_H_ 340f2e5868Sshige #define _IBM4XX_OPENBIOS_H_ 350f2e5868Sshige 360f2e5868Sshige #include <sys/param.h> 370f2e5868Sshige 38*ce3776b0Srin extern void openbios_board_init(void *); 390f2e5868Sshige extern unsigned int openbios_board_memsize_get(void); 400f2e5868Sshige extern void openbios_board_info_set(void); 410f2e5868Sshige extern void openbios_board_print(void); 420f2e5868Sshige 430f2e5868Sshige #endif /* _IBM4XX_OPENBIOS_H_ */ 44