Annotation of sys/arch/vax/boot/boot/data.h, Revision 1.1
1.1 ! nbrk 1: /* $OpenBSD: data.h,v 1.2 2002/06/11 09:36:23 hugh Exp $ */
! 2: /* $NetBSD: data.h,v 1.3 2001/07/26 15:05:09 wiz Exp $ */
! 3: /*
! 4: * Copyright (c) 1995 Ludd, University of Lule}, Sweden.
! 5: * All rights reserved.
! 6: *
! 7: * This code is derived from software contributed to Ludd by
! 8: * Bertram Barth.
! 9: *
! 10: * Redistribution and use in source and binary forms, with or without
! 11: * modification, are permitted provided that the following conditions
! 12: * are met:
! 13: * 1. Redistributions of source code must retain the above copyright
! 14: * notice, this list of conditions and the following disclaimer.
! 15: * 2. Redistributions in binary form must reproduce the above copyright
! 16: * notice, this list of conditions and the following disclaimer in the
! 17: * documentation and/or other materials provided with the distribution.
! 18: * 3. All advertising materials mentioning features or use of this software
! 19: * must display the following acknowledgement:
! 20: * This product includes software developed at Ludd, University of
! 21: * Lule}, Sweden and its contributors.
! 22: * 4. The name of the author may not be used to endorse or promote products
! 23: * derived from this software without specific prior written permission
! 24: *
! 25: * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
! 26: * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
! 27: * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
! 28: * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
! 29: * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
! 30: * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
! 31: * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
! 32: * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
! 33: * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
! 34: * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
! 35: */
! 36:
! 37: /* All bugs are subject to removal without further notice */
! 38:
! 39:
! 40:
! 41: /*
! 42: * rpb->iovec gives pointer to this structure.
! 43: *
! 44: * bqo->unit_init() is used to initialize the controller,
! 45: * bqo->qio() is used to read from boot-device
! 46: */
! 47:
! 48: struct bqo {
! 49: long qio; /* 4 QIO entry */
! 50: long map; /* 4 Mapping entry */
! 51: long select; /* 4 Selection entry */
! 52: long drivrname; /* 4 Offset to driver name */
! 53: short version; /* 2 Version number of VMB */
! 54: short vercheck; /* 2 Check field */
! 55: /* offset: 20 */
! 56: long reselect; /* 4 Reselection entry */
! 57: long move; /* 4 Move driver entry */
! 58: long unit_init; /* 4 Unit initialization entry */
! 59: long auxdrname; /* 4 Offset to auxiliary driver name */
! 60: long umr_dis; /* 4 UNIBUS Map Registers to disable */
! 61: /* offset: 40 */
! 62: long ucode; /* 4 Absolute address of booting microcode */
! 63: long unit_disc; /* 4 Unit disconnecting entry */
! 64: long devname; /* 4 Offset to boot device name */
! 65: long umr_tmpl; /* 4 UNIBUS map register template */
! 66: /* offset: 60 */
! 67: /*
! 68: * the rest is unknown / unnecessary ...
! 69: */
! 70: long xxx[6]; /* 24 -- total: 84 bytes */
! 71: };
! 72:
! 73: extern struct bqo *bqo;
CVSweb