diff options
author | chuck <chuck@cvs.openbsd.org> | 1996-05-29 15:43:56 +0000 |
---|---|---|
committer | chuck <chuck@cvs.openbsd.org> | 1996-05-29 15:43:56 +0000 |
commit | 0a25818ac3349e6f2aa96c3a178f074a7c66ea97 (patch) | |
tree | f7094752b6fbace962fd72bc0688a35641847e68 /sys | |
parent | a9be8d2ffd57ba1dd8fb0a3b3cf4669b0319149f (diff) |
add stuff for generic boot
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/mvme68k/include/autoconf.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/sys/arch/mvme68k/include/autoconf.h b/sys/arch/mvme68k/include/autoconf.h index 8c6f604b65f..9be0cfecfdf 100644 --- a/sys/arch/mvme68k/include/autoconf.h +++ b/sys/arch/mvme68k/include/autoconf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: autoconf.h,v 1.3 1996/04/28 10:56:03 deraadt Exp $ */ +/* $OpenBSD: autoconf.h,v 1.4 1996/05/29 15:43:55 chuck Exp $ */ /* * Copyright (c) 1995 Theo de Raadt @@ -52,5 +52,16 @@ struct confargs { #define BUS_VMEL 6 /* 32 bit VME access */ #define BUS_IP 7 /* VME162 IP module bus */ +/* the following are from the prom/bootblocks */ +void *bootaddr; /* PA of boot device */ +int bootctrllun; /* ctrl_lun of boot device */ +int bootdevlun; /* dev_lun of boot device */ +int bootpart; /* boot partition (disk) */ + +struct device *bootdv; /* boot device */ + +/* PARTITIONSHIFT from disklabel.h */ +#define PARTITIONMASK ((1 << PARTITIONSHIFT) - 1) + caddr_t mapiodev __P((caddr_t pa, int size)); void unmapiodev __P((caddr_t kva, int size)); |