blob: 20ccebe10c850b1cc758b97e317fb3571e310cdf (
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
|
/* $OpenBSD: libsa.h,v 1.4 2013/10/10 21:22:07 miod Exp $ */
/*
* libsa prototypes
*/
#include <machine/prom.h>
extern int boothowto;
#define BOOT_ETHERNET_ZERO 0x0001
struct boot_info {
unsigned int bootdev;
unsigned int bootunit;
unsigned int bootlun;
unsigned int bootpart;
};
extern struct boot_info bi;
int badaddr(void *, int);
void delay(unsigned int);
void exec(char *, const char *, uint, uint, uint, uint);
int parse_args(const char *, char **, int);
|