Subversion Repositories planix.SVN

Rev

Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
#include "portfns.h"
2
 
3
long	belong(char *);
4
Chan*	chaninit(char*);
5
void	check(Filsys *, long);
6
int 	cmd_exec(char*);
7
void	consserve(void);
8
void	confinit(void);
9
int	fsinit(int, int);
10
void	*ialloc(ulong);
11
int	nextelem(void);
12
long	number(int, int);
13
Device	scsidev(char*);
14
int	skipbl(int);
15
void	startproc(void (*)(void), char *);
16
void	syncproc(void);
17
void	syncall(void);
18
 
19
int	fprint(int, char*, ...);
20
void	wreninit(Device);
21
int	wrencheck(Device);
22
void	wrenream(Device);
23
long	wrensize(Device);
24
long	wrensuper(Device);
25
long	wrenroot(Device);
26
int	wrenread(Device, long, void *);
27
int	wrenwrite(Device, long, void *);
28
 
29
/*
30
 * macros for compat with bootes
31
 */
32
#define	localfs			1
33
 
34
#define devgrow(d, s)	0
35
#define nofree(d, a)	0
36
#define isro(d)		0
37
 
38
#define	superaddr(d)		((*devcall[d.type].super)(d))
39
#define	getraddr(d)		((*devcall[d.type].root)(d))
40
#define devsize(d)		((*devcall[d.type].size)(d))
41
#define	devwrite(d, a, v)	((*devcall[d.type].write)(d, a, v))
42
#define	devread(d, a, v)	((*devcall[d.type].read)(d, a, v))