blob: ff3e7fdd3155675db98916048ff519140c6c0871 (
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
|
/* $OpenBSD: libbug.h,v 1.6 2008/04/02 21:53:18 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_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;
|