1*df1f5d3aSweingart /* $OpenBSD: libsa.h,v 1.2 1997/03/31 03:12:14 weingart Exp $ */ 2*df1f5d3aSweingart 3*df1f5d3aSweingart /* 4*df1f5d3aSweingart * Copyright (c) 1996 Michael Shalayeff 5*df1f5d3aSweingart * All rights reserved. 6*df1f5d3aSweingart * 7*df1f5d3aSweingart * Redistribution and use in source and binary forms, with or without 8*df1f5d3aSweingart * modification, are permitted provided that the following conditions 9*df1f5d3aSweingart * are met: 10*df1f5d3aSweingart * 1. Redistributions of source code must retain the above copyright 11*df1f5d3aSweingart * notice, this list of conditions and the following disclaimer. 12*df1f5d3aSweingart * 2. Redistributions in binary form must reproduce the above copyright 13*df1f5d3aSweingart * notice, this list of conditions and the following disclaimer in the 14*df1f5d3aSweingart * documentation and/or other materials provided with the distribution. 15*df1f5d3aSweingart * 3. All advertising materials mentioning features or use of this software 16*df1f5d3aSweingart * must display the following acknowledgement: 17*df1f5d3aSweingart * This product includes software developed by Michael Shalayeff. 18*df1f5d3aSweingart * 4. The name of the author may not be used to endorse or promote products 19*df1f5d3aSweingart * derived from this software without specific prior written permission. 20*df1f5d3aSweingart * 21*df1f5d3aSweingart * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 22*df1f5d3aSweingart * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 23*df1f5d3aSweingart * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 24*df1f5d3aSweingart * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 25*df1f5d3aSweingart * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 26*df1f5d3aSweingart * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27*df1f5d3aSweingart * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28*df1f5d3aSweingart * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29*df1f5d3aSweingart * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30*df1f5d3aSweingart * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31*df1f5d3aSweingart * SUCH DAMAGE. 32*df1f5d3aSweingart * 33*df1f5d3aSweingart */ 34*df1f5d3aSweingart 35*df1f5d3aSweingart #include <stand.h> 36*df1f5d3aSweingart 37*df1f5d3aSweingart void startprog __P((char *addr, int argv[])); 38*df1f5d3aSweingart void gateA20 __P((int on)); 39*df1f5d3aSweingart int memsize __P((int which)); 40*df1f5d3aSweingart int memprobe __P((void)); 41*df1f5d3aSweingart 42*df1f5d3aSweingart extern dev_t bootdev, maj, unit, part; 43*df1f5d3aSweingart extern u_long cyloffset; 44*df1f5d3aSweingart extern u_long ourseg, esym; 45*df1f5d3aSweingart extern int boothowto; 46