Last change
on this file since 6bbd779 was 8973acd, checked in by Thomas Lopatic <thomas@…>, 7 years ago |
No more warnings in libcio.
|
-
Property mode
set to
100644
|
File size:
921 bytes
|
Line | |
---|
1 | /*
|
---|
2 | =============================================================================
|
---|
3 | fspars.h -- File system parameters
|
---|
4 | Version 4 -- 1987-12-15 -- D.N. Lynx Crowe
|
---|
5 | =============================================================================
|
---|
6 | */
|
---|
7 |
|
---|
8 | #pragma once
|
---|
9 |
|
---|
10 | #include "stdint.h"
|
---|
11 |
|
---|
12 | #define TBUFFER 1 /* non-zero to enable track buffering */
|
---|
13 |
|
---|
14 | #define NSTREAMS 11 /* maximum number of file streams */
|
---|
15 | #define MAXCHAN 11 /* maximum number of I/O channel fd's */
|
---|
16 | #define MAXDFILE 8 /* maximum number of open DISK files */
|
---|
17 |
|
---|
18 | #define BUFSIZL 256 /* buffer length -- longs */
|
---|
19 | #define BUFSIZ (sizeof (int32_t) * BUFSIZL)
|
---|
20 | /* buffer length -- chars */
|
---|
21 |
|
---|
22 | #define BPSEC 512 /* bytes per disk sector */
|
---|
23 | #define FILESHFT 9 /* file shift */
|
---|
24 |
|
---|
25 | #define MAXFAT 7 /* maximum number of fat sectors */
|
---|
26 | #define MAXDIRNT 224 /* maximum number of directory entries */
|
---|
27 |
|
---|
28 | typedef void *io_arg; /* must be big enough to contain a pointer */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.