blob: 5c9a98d49650cbd3035e6a695739edfcc9f1e474 (
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
35
36
|
/* $OpenBSD: libbug.h,v 1.5 2006/05/17 06:21:33 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;
char *nbarg_start;
char *nbarg_end;
};
extern struct mvmeprom_args bugargs;
void bugexec(void (*)());
|