1*3c550524Sjoerg /* $NetBSD: common.h,v 1.4 2011/01/22 19:19:20 joerg Exp $ */ 2a3ec1726Swdk 3a3ec1726Swdk /*- 4a3ec1726Swdk * Copyright (c) 1999 The NetBSD Foundation, Inc. 5a3ec1726Swdk * All rights reserved. 6a3ec1726Swdk * 7a3ec1726Swdk * This code is derived from software contributed to The NetBSD Foundation 8a3ec1726Swdk * by Jonathan Stone, Michael Hitch and Simon Burge. 9a3ec1726Swdk * 10a3ec1726Swdk * Redistribution and use in source and binary forms, with or without 11a3ec1726Swdk * modification, are permitted provided that the following conditions 12a3ec1726Swdk * are met: 13a3ec1726Swdk * 1. Redistributions of source code must retain the above copyright 14a3ec1726Swdk * notice, this list of conditions and the following disclaimer. 15a3ec1726Swdk * 2. Redistributions in binary form must reproduce the above copyright 16a3ec1726Swdk * notice, this list of conditions and the following disclaimer in the 17a3ec1726Swdk * documentation and/or other materials provided with the distribution. 18a3ec1726Swdk * 19a3ec1726Swdk * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 20a3ec1726Swdk * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 21a3ec1726Swdk * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 22a3ec1726Swdk * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 23a3ec1726Swdk * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 24a3ec1726Swdk * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 25a3ec1726Swdk * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 26a3ec1726Swdk * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 27a3ec1726Swdk * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 28a3ec1726Swdk * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 29a3ec1726Swdk * POSSIBILITY OF SUCH DAMAGE. 30a3ec1726Swdk */ 31a3ec1726Swdk 32a3ec1726Swdk /* startprog.S */ 33a3ec1726Swdk 34a3ec1726Swdk /* PROM callbacks */ 3502cdf4d2Sdsl char *getenv(const char *); 3602cdf4d2Sdsl int prom_close(int); 3702cdf4d2Sdsl int prom_open(const char *, ...); 3802cdf4d2Sdsl int prom_read(int, void *, int); 3902cdf4d2Sdsl int prom_write(int, void *, int); 40a3ec1726Swdk 41a3ec1726Swdk /* 42a3ec1726Swdk * vers.c (generated by newvers.sh) 43a3ec1726Swdk */ 44a3ec1726Swdk extern const char bootprog_rev[]; 45