Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 2404 → Rev 2435

/branches/fs/uspace/fs/glo.c
32,11 → 32,17
* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
/** @addtogroup FileSystemImpl
* @{
*/
 
/**
* @file glo.c
* @brief File System global variables.
*/
 
/* Global variables declaring. */
 
 
#include "fs.h"
#include "file.h"
#include "fproc.h"
44,21 → 50,25
#include "../share/message.h"
 
 
/* File System global variables. */
fproc_t *fp; /* pointer to caller's fproc struct */
fproc_t fproc[NR_PROCS]; /* per process information table */
filp_t filp[NR_FILPS]; /* filp table */
fproc_t *fp; /**< pointer to caller's fproc struct */
fproc_t fproc[NR_PROCS]; /**< per process information table */
filp_t filp[NR_FILPS]; /**< filp table */
 
/* The parameters of the call are kept here. */
message_params_t message_params; /* parameters of the input message */
int rd_phone; /* call number of RAMDISK driver task */
int con_phone; /* call number of CONSOLE service */
char user_path[PATH_MAX]; /* storage for user path name */
message_params_t message_params; /**< parameters of the input message */
int rd_phone; /**< call number of RAMDISK driver task */
int con_phone; /**< call number of CONSOLE service */
char user_path[PATH_MAX]; /**< storage for user path name */
 
/* Data needed for communication with RAMDISK. */
void *buffer; /* buffer for storing data retrieved from RAMDISK */
void *buffer; /**< buffer for storing data retrieved from RAMDISK */
 
/* The following variables are used for returning results to the caller. */
int err_code; /* temporary storage for error number */
int status; /* status of last disk i/o request */
int err_code; /**< temporary storage for error number */
int status; /**< status of last disk i/o request */
 
 
/**
* }
*/