Subversion Repositories HelenOS

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2371 konopa 1
/* Global variables */
2
 
3
 
4
#ifndef _GLO_H
5
#define _GLO_H
6
 
7
#include "fproc.h"
8
#include "../share/message.h"
9
 
10
/* File System global variables. */
11
extern fproc_t *fp;             /* pointer to caller's fproc struct */
12
 
13
/* The parameters of the call are kept here. */
14
extern message_params_t message_params; /* parameters of the input message */
15
extern int rd_phone;            /* call number of RAMDISK driver task */
16
extern int con_phone;           /* call number of CONSOLE service */
17
extern char user_path[PATH_MAX];    /* storage for user path name */
18
 
19
/* Data needed for communication with RAMDISK. */
20
extern void *buffer;            /* buffer storing copied data */
21
 
22
/* The following variables are used for returning results to the caller */
23
extern int err_code;                /* temporary storage for error number */
24
extern int status;          /* status of last disk i/o request */
25
 
26
/* Data which need initialization. */
27
extern int (*call_vector[])(void);  /* sys call table */
28
 
29
#endif /* _GLO_H */