e67fc5771d
In order to make it more clear that ticks should be used for timers and realtime should be used for timestamps / displaying the date/time, getuptime() was renamed to getticks() and getuptime2() was renamed to getuptime(). Servers, drivers, libraries, tests, etc that use getuptime()/getuptime2() have been updated. In instances where a realtime was calculated, the calculation was changed to use realtime. System calls clock_getres() and clock_gettime() were added to PM/libc.
35 lines
1 KiB
C
35 lines
1 KiB
C
/* EXTERN should be extern except for the table file */
|
|
#ifdef _TABLE
|
|
#undef EXTERN
|
|
#define EXTERN
|
|
#endif
|
|
|
|
/* The following variables are used for returning results to the caller. */
|
|
|
|
EXTERN int err_code; /* temporary storage for error number */
|
|
EXTERN int rdwt_err; /* status of last disk i/o request */
|
|
|
|
EXTERN int(*fs_call_vec[]) (void);
|
|
|
|
EXTERN message fs_m_in; /* contains the input message of the request */
|
|
EXTERN message fs_m_out; /* contains the output message of the
|
|
* request */
|
|
EXTERN int FS_STATE;
|
|
|
|
EXTERN uid_t caller_uid;
|
|
EXTERN gid_t caller_gid;
|
|
|
|
EXTERN int req_nr; /* request number to the server */
|
|
|
|
EXTERN int SELF_E; /* process number */
|
|
|
|
EXTERN short path_processed; /* number of characters processed */
|
|
EXTERN char user_path[PATH_MAX+1]; /* pathname to be processed */
|
|
EXTERN char *vfs_slink_storage;
|
|
EXTERN int symloop;
|
|
|
|
EXTERN int unmountdone;
|
|
|
|
EXTERN dev_t fs_dev; /* the device that is handled by this FS proc */
|
|
EXTERN char fs_dev_label[16]; /* Name of the device driver that is handled */
|
|
|