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 - Split per-process and per-thread data
[tpg/acess2.git]
/
Kernel
/
vfs
/
main.c
diff --git
a/Kernel/vfs/main.c
b/Kernel/vfs/main.c
index
c6525f4
..
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;
}
UCC
git Repository :: git.ucc.asn.au