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
 
-
 
36
/** @addtogroup FileSystemImpl
-
 
37
* @{
-
 
38
*/
35
 
39
 
-
 
40
/**
-
 
41
 * @file    glo.h
36
/* Global variables */
42
 * @brief   Global variables
-
 
43
*/
37
 
44
 
38
 
45
 
39
#ifndef _GLO_H
46
#ifndef _GLO_H
40
#define _GLO_H
47
#define _GLO_H
41
 
48
 
42
#include "fproc.h"
49
#include "fproc.h"
43
#include "../share/message.h"
50
#include "../share/message.h"
44
 
51
 
45
/* File System global variables. */
52
/* File System global variables. */
46
extern fproc_t *fp;             /* pointer to caller's fproc struct */
53
extern fproc_t *fp;             /**< pointer to caller's fproc struct */
47
 
54
 
48
/* The parameters of the call are kept here. */
55
/* The parameters of the call are kept here. */
49
extern message_params_t message_params; /* parameters of the input message */
56
extern message_params_t message_params; /**< parameters of the input message */
50
extern int rd_phone;            /* call number of RAMDISK driver task */
57
extern int rd_phone;            /**< call number of RAMDISK driver task */
51
extern int con_phone;           /* call number of CONSOLE service */
58
extern int con_phone;           /**< call number of CONSOLE service */
52
extern char user_path[PATH_MAX];    /* storage for user path name */
59
extern char user_path[PATH_MAX];    /**< storage for user path name */
53
 
60
 
54
/* Data needed for communication with RAMDISK. */
61
/* Data needed for communication with RAMDISK. */
55
extern void *buffer;            /* buffer storing copied data */
62
extern void *buffer;            /**< buffer storing copied data */
56
 
63
 
57
/* The following variables are used for returning results to the caller */
64
/* The following variables are used for returning results to the caller */
58
extern int err_code;                /* temporary storage for error number */
65
extern int err_code;                /**< temporary storage for error number */
59
extern int status;          /* status of last disk i/o request */
66
extern int status;          /**< status of last disk i/o request */
60
 
67
 
61
/* Data which need initialization. */
68
/* Data which need initialization. */
62
extern int (*call_vector[])(void);  /* sys call table */
69
extern int (*call_vector[])(void);  /**< sys call table */
63
 
70
 
64
#endif /* _GLO_H */
71
#endif /* _GLO_H */
-
 
72
 
-
 
73
/**
-
 
74
 * }
-
 
75
 */
-
 
76