blob: 0883299691648d8e5f5ca05db0b15dc1c5d07f35 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
typedef uvlong Devbytes, Devsects;
typedef struct Biosdrive Biosdrive; /* 1 drive -> ndevs */
typedef struct Biosdev Biosdev;
struct Biosdrive {
int ndevs;
};
struct Biosdev {
Devbytes size;
Devbytes offset;
uchar id;
char type;
};
int biosboot(int dev, char *file, Boot *b);
void* biosgetfspart(int i, char *name, int chatty);
void biosinitdev(int i, char *name);
int biosinit(void);
void biosprintbootdevs(int dev);
void biosprintdevs(int i);
long biosread(Fs *fs, void *a, long n);
|