Changeset b69e4c0 in mainline for uspace/srv/fs/fat/fat.h


Ignore:
Timestamp:
2011-09-28T15:29:55Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0f3744d, db96017
Parents:
40cdbec
Message:

Update the FAT32 file system info on unmount.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/fat/fat.h

    r40cdbec rb69e4c0  
    141141} __attribute__ ((packed)) fat_bs_t;
    142142
     143#define FAT32_FSINFO_SIG1       "RRaA"
     144#define FAT32_FSINFO_SIG2       "rrAa"
     145#define FAT32_FSINFO_SIG3       "\x00\x00\x55\xaa"
     146
     147typedef struct {
     148        uint8_t sig1[4];
     149        uint8_t res1[480];
     150        uint8_t sig2[4];
     151        uint32_t free_clusters;
     152        uint32_t last_allocated_cluster;
     153        uint8_t res2[12];
     154        uint8_t sig3[4];
     155} __attribute__ ((packed)) fat32_fsinfo_t;
     156
    143157typedef enum {
    144158        FAT_INVALID,
Note: See TracChangeset for help on using the changeset viewer.