diff options
Diffstat (limited to 'sys/arch/mvme88k/stand/libbug/libbug.h')
-rw-r--r-- | sys/arch/mvme88k/stand/libbug/libbug.h | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/sys/arch/mvme88k/stand/libbug/libbug.h b/sys/arch/mvme88k/stand/libbug/libbug.h index f5325292ce7..005ae94b617 100644 --- a/sys/arch/mvme88k/stand/libbug/libbug.h +++ b/sys/arch/mvme88k/stand/libbug/libbug.h @@ -1,23 +1,36 @@ -/* $OpenBSD: libbug.h,v 1.3 2002/03/14 03:15:57 millert Exp $ */ +/* $OpenBSD: libbug.h,v 1.4 2006/05/16 22:51:30 miod Exp $ */ /* * prototypes and such. note that get/put char are in stand.h */ - void mvmeprom_delay(int); int mvmeprom_diskrd(struct mvmeprom_dskio *); int mvmeprom_diskwr(struct mvmeprom_dskio *); -struct mvmeprom_brdid *mvmeprom_getbrdid(void); -int peekchar(void); +struct mvmeprom_brdid *mvmeprom_getbrdid(void); +int mvmeprom_netfopen(struct mvmeprom_netfopen *); +int mvmeprom_netfread(struct mvmeprom_netfread *); void mvmeprom_outln(char *, char *); void mvmeprom_outstr(char *, char *); void mvmeprom_rtc_rd(struct mvmeprom_time *); /* - * bugcrt stuff + * bugcrt stuff */ +struct mvmeprom_args { + u_int dev_lun; + u_int ctrl_lun; + u_int flags; + u_int ctrl_addr; + u_int entry; + u_int conf_blk; + char *arg_start; + char *arg_end; + char *nbarg_start; + char *nbarg_end; +}; + extern struct mvmeprom_args bugargs; void bugexec(void (*)()); |