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
Bugfixing initrd and ld-acess
[tpg/acess2.git]
/
Kernel
/
vfs
/
main.c
diff --git
a/Kernel/vfs/main.c
b/Kernel/vfs/main.c
index
4722aae
..
736b578
100644
(file)
--- a/
Kernel/vfs/main.c
+++ b/
Kernel/vfs/main.c
@@
-2,7
+2,7
@@
* Acess 2
* Virtual File System
*/
* Acess 2
* Virtual File System
*/
-#include <
common
.h>
+#include <
acess
.h>
#include <fs_sysfs.h>
#include "vfs.h"
#include "vfs_int.h"
#include <fs_sysfs.h>
#include "vfs.h"
#include "vfs_int.h"
@@
-20,6
+20,9
@@
tVFS_Driver *VFS_GetFSByName(char *Name);
int VFS_AddDriver(tVFS_Driver *Info);
void VFS_UpdateDriverFile();
int VFS_AddDriver(tVFS_Driver *Info);
void VFS_UpdateDriverFile();
+// === EXPORTS ===
+EXPORT(VFS_AddDriver);
+
// === GLOBALS ===
tVFS_Node NULLNode = {0};
tSpinlock siDriverListLock = 0;
// === GLOBALS ===
tVFS_Node NULLNode = {0};
tSpinlock siDriverListLock = 0;
@@
-86,6
+89,7
@@
void VFS_GetMemPath(char *Dest, void *Base, Uint Length)
itoa( &Dest[1], (Uint)Base, 16, BITS/4, '0' );
Dest[BITS/4+1] = ':';
itoa( &Dest[BITS/4+2], Length, 16, BITS/4, '0' );
itoa( &Dest[1], (Uint)Base, 16, BITS/4, '0' );
Dest[BITS/4+1] = ':';
itoa( &Dest[BITS/4+2], Length, 16, BITS/4, '0' );
+ Dest[BITS/2+2] = '\0';
Log("VFS_GetMemPath: Dest = \"%s\"", Dest);
}
Log("VFS_GetMemPath: Dest = \"%s\"", Dest);
}
UCC
git Repository :: git.ucc.asn.au