blob: a63828794e1dbe0348d35d8a47fd2a90824a803a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
/* $OpenBSD: libbug.h,v 1.7 2012/11/25 14:10:47 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_brdid(void);
int mvmeprom_netcfig(struct mvmeprom_netcfig *);
int mvmeprom_netctrl(struct mvmeprom_netctrl *);
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
*/
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;
};
extern struct mvmeprom_args bugargs;
|