Subversion Repositories planix.SVN

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
/* fs's configuration: 4K blocks, 32-bit sizes */
2
 
3
/*
4
 * The most fundamental constant.
5
 * The code will not compile with RBUFSIZE made a variable;
6
 * for one thing, RBUFSIZE determines FEPERBUF, which determines
7
 * the number of elements in a free-list-block array.
8
 */
9
#ifndef RBUFSIZE
10
#define RBUFSIZE	(4*1024)	/* raw buffer size */
11
#endif
12
#include "32bit.h"
13
/*
14
 * setting this to zero permits the use of discs of different sizes, but
15
 * can make jukeinit() quite slow while the robotics work through each disc
16
 * twice (once per side).
17
 */
18
enum { FIXEDSIZE = 1 };
19
 
20
 
21
#include "portdat.h"
22
 
23
enum { MAXBANK = 2 };
24
 
25
typedef struct Mbank {
26
	ulong	base;
27
	ulong	limit;
28
} Mbank;
29
 
30
typedef struct Mconf {
31
	Lock;
32
	Mbank	bank[MAXBANK];
33
	int	nbank;
34
	ulong	memsize;
35
} Mconf;
36
extern Mconf mconf;