Fixes to Libc, Doxygen Comments and VTerm layout
[tpg/acess2.git] / Kernel / vfs / fs / fat.c
index 01c90c2..5712da9 100644 (file)
@@ -25,7 +25,7 @@ typedef struct s_lfncache {
 \r
 // === PROTOTYPES ===\r
  int   FAT_Install(char **Arguments);\r
-tVFS_Node      *FAT_InitDevice(char *device, char *options);\r
+tVFS_Node      *FAT_InitDevice(char *device, char **options);\r
 void   FAT_Unmount(tVFS_Node *Node);\r
 Uint64 FAT_Read(tVFS_Node *node, Uint64 offset, Uint64 length, void *buffer);\r
 Uint64 FAT_Write(tVFS_Node *node, Uint64 offset, Uint64 length, void *buffer);\r
@@ -36,7 +36,7 @@ tVFS_Node     *FAT_FindDir(tVFS_Node *dirNode, char *file);
 void   FAT_CloseFile(tVFS_Node *node);\r
 \r
 // === SEMI-GLOBALS ===\r
-MODULE_DEFINE(0, 0x5B /*v0.90*/, FAT32, FAT_Install, NULL);\r
+MODULE_DEFINE(0, 0x51 /*v0.80*/, FAT32, FAT_Install, NULL, NULL);\r
 tFAT_VolInfo   gFAT_Disks[8];\r
  int   giFAT_PartCount = 0;\r
 #if CACHE_FAT\r
@@ -61,10 +61,10 @@ int FAT_Install(char **Arguments)
 }\r
 \r
 /**\r
- * \fn tVFS_Node *FAT_InitDevice(char *Device, char *options)\r
+ * \fn tVFS_Node *FAT_InitDevice(char *Device, char **options)\r
  * \brief Reads the boot sector of a disk and prepares the structures for it\r
  */\r
-tVFS_Node *FAT_InitDevice(char *Device, char *options)\r
+tVFS_Node *FAT_InitDevice(char *Device, char **options)\r
 {\r
        fat_bootsect *bs;\r
         int    i;\r
@@ -324,12 +324,12 @@ Uint64 FAT_Read(tVFS_Node *node, Uint64 offset, Uint64 length, void *buffer)
        \r
        // Sanity Check offset\r
        if(offset > node->Size) {\r
-               //Log("FAT_Read: Reading past EOF (%i > %i)", offset, node->Size);\r
+               //LOG("Reading past EOF (%i > %i)", offset, node->Size);\r
                return 0;\r
        }\r
        // Clamp Size\r
        if(offset + length > node->Size) {\r
-               //Log("FAT_Read: Reading past EOF (%lli + %lli > %lli), clamped to %lli",\r
+               //LOG("Reading past EOF (%lli + %lli > %lli), clamped to %lli",\r
                //      offset, length, node->Size, node->Size - offset);\r
                length = node->Size - offset;\r
        }\r

UCC git Repository :: git.ucc.asn.au