Subversion Repositories HelenOS

Rev

Rev 2404 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2404 Rev 2435
Line 30... Line 30...
30
 * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
30
 * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
31
 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
31
 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
32
 * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
32
 * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
33
 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33
 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
34
 */
34
 */
35
 
35
 
-
 
36
/** @addtogroup FileSystemImpl
-
 
37
* @{
-
 
38
*/
36
 
39
 
-
 
40
/**
-
 
41
 * @file    glo.c
37
/* Global variables declaring. */
42
 * @brief   File System global variables.
-
 
43
 */
38
 
44
 
39
 
45
 
40
#include "fs.h"
46
#include "fs.h"
41
#include "file.h"
47
#include "file.h"
42
#include "fproc.h"
48
#include "fproc.h"
43
#include "inode.h"
49
#include "inode.h"
44
#include "../share/message.h"
50
#include "../share/message.h"
45
 
51
 
46
 
52
 
47
/* File System global variables. */
-
 
48
fproc_t *fp;                /* pointer to caller's fproc struct */
53
fproc_t *fp;                /**< pointer to caller's fproc struct */
49
fproc_t fproc[NR_PROCS];    /* per process information table */
54
fproc_t fproc[NR_PROCS];    /**< per process information table */
50
filp_t filp[NR_FILPS];      /* filp table */
55
filp_t filp[NR_FILPS];      /**< filp table */
51
 
56
 
52
/* The parameters of the call are kept here. */
57
/* The parameters of the call are kept here. */
53
message_params_t message_params;    /* parameters of the input message */
58
message_params_t message_params;    /**< parameters of the input message */
54
int rd_phone;               /* call number of RAMDISK driver task */
59
int rd_phone;               /**< call number of RAMDISK driver task */
55
int con_phone;              /* call number of CONSOLE service */
60
int con_phone;              /**< call number of CONSOLE service */
56
char user_path[PATH_MAX];       /* storage for user path name */
61
char user_path[PATH_MAX];       /**< storage for user path name */
57
 
62
 
58
/* Data needed for communication with RAMDISK. */
63
/* Data needed for communication with RAMDISK. */
59
void *buffer;           /* buffer for storing data retrieved from RAMDISK */
64
void *buffer;           /**< buffer for storing data retrieved from RAMDISK */
60
 
65
 
61
/* The following variables are used for returning results to the caller. */
66
/* The following variables are used for returning results to the caller. */
62
int err_code;               /* temporary storage for error number */
67
int err_code;               /**< temporary storage for error number */
63
int status;                 /* status of last disk i/o request */
68
int status;                 /**< status of last disk i/o request */
64
 
69
 
-
 
70
 
-
 
71
/**
-
 
72
 * }
-
 
73
 */
-
 
74