revert between 56095 -> 55830 in arch
[AROS.git] / rom / filesys / SFS / FS / globals.c
blobcead2dc73b1774dcd2a1501ba201ab84df5c5719
1 #include <exec/types.h>
2 #include <proto/dos.h>
3 #include <proto/exec.h>
5 #include "asmsupport.h"
6 #include "globals.h"
9 #define TIMEOUT (1) /* Timeout in seconds */
10 #define FLUSHTIMEOUT (20) /* Flush timeout in seconds */
13 void initGlobals()
15 globals->is_LittleEndian = FALSE;
16 globals->inhibitnestcounter = 0;
17 globals->block_defragptr = 2;
18 globals->is_casesensitive = FALSE;
19 globals->has_recycled = TRUE;
20 globals->locklist = NULL;
21 globals->notifyrequests = NULL;
22 globals->activitytimeractive = FALSE;
23 globals->pendingchanges = FALSE;
24 globals->timerreset = FALSE;
25 globals->max_name_length = MAX_NAME_LENGTH;
26 globals->activity_timeout = FLUSHTIMEOUT;
27 globals->inactivity_timeout = TIMEOUT;
28 globals->retries = MAX_RETRIES;
29 globals->scsidirect = FALSE;
30 globals->does64bit = FALSE;
31 globals->newstyledevice = FALSE;
32 globals->deviceopened = FALSE;
33 globals->msgport = NULL;
34 globals->ioreq = NULL;
35 globals->ioreq2 = NULL;
36 globals->ioreqchangeint = NULL;
37 globals->cmdread = CMD_READ;
38 globals->cmdwrite = CMD_WRITE;
39 globals->blocks_maxtransfer = 1048576;
40 globals->mask_mask = -1;
41 globals->bufmemtype = MEMF_PUBLIC;
42 globals->transactionpool = 0;
43 globals->compressbuffer = 0;
44 globals->transactionnestcount = 0;
45 globals->iocache_lruhead = NULL;
46 globals->iocache_lines = 8;
47 globals->iocache_copyback = TRUE;
48 globals->iocache_readonwrite = FALSE;
49 globals->templockedobjectnode = 0;
50 globals->internalrename = FALSE;
51 globals->defrag_maxfilestoscan = 512;
52 globals->debugreqs=TRUE;
54 globals->mask_debug = 0xffff;