git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Kernel - Slight reworks to timer code
[tpg/acess2.git]
/
Kernel
/
vfs
/
main.c
diff --git
a/Kernel/vfs/main.c
b/Kernel/vfs/main.c
index
cb798c1
..
5ff0e7c
100644
(file)
--- a/
Kernel/vfs/main.c
+++ b/
Kernel/vfs/main.c
@@
-4,9
+4,10
@@
*/
#include <acess.h>
#include <fs_sysfs.h>
*/
#include <acess.h>
#include <fs_sysfs.h>
-#include "vfs.h"
-#include "vfs_int.h"
-#include "vfs_ext.h"
+#include <threads.h>
+#include <vfs.h>
+#include <vfs_int.h>
+#include <vfs_ext.h>
// === IMPORTS ===
extern tVFS_Driver gRootFS_Info;
// === IMPORTS ===
extern tVFS_Driver gRootFS_Info;
@@
-60,7
+61,7
@@
int VFS_Init(void)
VFS_Mount("dev", "/Devices", "devfs", "");
Log_Debug("VFS", "Setting max files");
VFS_Mount("dev", "/Devices", "devfs", "");
Log_Debug("VFS", "Setting max files");
-
CFGINT(CFG_VFS_MAXFILES
) = 32;
+
*Threads_GetMaxFD(
) = 32;
return 0;
}
return 0;
}
@@
-81,7
+82,7
@@
char *VFS_GetTruePath(const char *Path)
//Log(" VFS_GetTruePath: node=%p, ret='%s'", node, ret);
if(!node) return NULL;
//Log(" VFS_GetTruePath: node=%p, ret='%s'", node, ret);
if(!node) return NULL;
- if(node->
Close) nod
e->Close(node);
+ if(node->
Type->Close) node->Typ
e->Close(node);
return ret;
}
return ret;
}
UCC
git Repository :: git.ucc.asn.au