Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2371 | konopa | 1 | /* Global variables declaring. */ |
2 | |||
3 | |||
4 | #include "fs.h" |
||
5 | #include "file.h" |
||
6 | #include "fproc.h" |
||
7 | #include "inode.h" |
||
8 | #include "../share/message.h" |
||
9 | |||
10 | |||
11 | /* File System global variables. */ |
||
12 | fproc_t *fp; /* pointer to caller's fproc struct */ |
||
13 | fproc_t fproc[NR_PROCS]; /* per process information table */ |
||
14 | filp_t filp[NR_FILPS]; /* filp table */ |
||
15 | |||
16 | /* The parameters of the call are kept here. */ |
||
17 | message_params_t message_params; /* parameters of the input message */ |
||
18 | int rd_phone; /* call number of RAMDISK driver task */ |
||
19 | int con_phone; /* call number of CONSOLE service */ |
||
20 | char user_path[PATH_MAX]; /* storage for user path name */ |
||
21 | |||
22 | /* Data needed for communication with RAMDISK. */ |
||
23 | void *buffer; /* buffer for storing data retrieved from RAMDISK */ |
||
24 | |||
25 | /* The following variables are used for returning results to the caller. */ |
||
26 | int err_code; /* temporary storage for error number */ |
||
27 | int status; /* status of last disk i/o request */ |
||
28 |