Subversion Repositories NaviCtrl

Rev

Rev 427 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 427 Rev 433
Line 64... Line 64...
64
        u8              active;                                 // if the attribute active is set the name and the attributes of an element found within DirectoryEntryExist will be entered into the structure 
64
        u8              active;                                 // if the attribute active is set the name and the attributes of an element found within DirectoryEntryExist will be entered into the structure 
65
        u8              attribfilter;                  
65
        u8              attribfilter;                  
66
        u8              attribmask;
66
        u8              attribmask;
67
} __attribute__((packed)) Find_t;
67
} __attribute__((packed)) Find_t;
Line -... Line 68...
-
 
68
 
-
 
69
 
-
 
70
 
-
 
71
typedef struct
-
 
72
{
-
 
73
        u8      IsValid;                                // 0 means invalid, else valid
-
 
74
        u8      SectorsPerCluster;              // how many sectors does a cluster contain?
-
 
75
        u8      FatCopies;                              // Numbers of copies of the FAT
-
 
76
        u16     MaxRootEntries;                 // Possible number of entries in the root directory.
-
 
77
        u16     SectorsPerFat;                  // how many sectors does a fat16 contain?
-
 
78
        u32 FirstFatSector;                     // sector of the start of the fat
-
 
79
        u32 FirstRootDirSector;         // sector of the rootdirectory
-
 
80
        u32 FirstDataSector;            // sector of the first cluster containing data (cluster2).
-
 
81
        u32 LastDataSector;                     // the last data sector of the partition
-
 
82
        u8  VolumeLabel[12];        // the volume label
-
 
83
        u32     CurrentWorkingDirectory;// A pointer to the directory we are actual using
-
 
84
        s8      PathToCwd[256];                 // a string containing the complete path to the current working directory
-
 
85
}   __attribute__((packed)) Partition_t;
-
 
86
 
-
 
87
extern Partition_t      Partition;              // Structure holds partition information
68
 
88
 
69
//________________________________________________________________________________________________________________________________________
89
//________________________________________________________________________________________________________________________________________
70
// 
90
// 
71
// API to the FAT16 filesystem
91
// API to the FAT16 filesystem
72
//                              
92
//