Changeset fc35e98 in mainline for uspace/srv/fs/fat/fat_fat.h


Ignore:
Timestamp:
2011-04-07T19:14:33Z (13 years ago)
Author:
Oleg Romanenko <romanenko.oleg@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
97bc3ee
Parents:
ccca251
Message:

Basic support for FAT12 file system. With many limitations of course.

File:
1 edited

Legend:

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

    rccca251 rfc35e98  
    4040#define FAT1            0
    4141
    42 #define FAT_CLST_RES0   0x0000
    43 #define FAT_CLST_RES1   0x0001
    44 #define FAT_CLST_FIRST  0x0002
    45 #define FAT_CLST_BAD    0xfff7
    46 #define FAT_CLST_LAST1  0xfff8
    47 #define FAT_CLST_LAST8  0xffff
     42#define FAT_CLST_RES0     0x0000
     43#define FAT_CLST_RES1     0x0001
     44#define FAT_CLST_FIRST    0x0002
     45
     46#define FAT12_CLST_BAD    0x0ff7
     47#define FAT12_CLST_LAST1  0x0ff8
     48#define FAT12_CLST_LAST8  0x0fff
     49#define FAT16_CLST_BAD    0xfff7
     50#define FAT16_CLST_LAST1  0xfff8
     51#define FAT16_CLST_LAST8  0xffff
    4852
    4953/* internally used to mark root directory's parent */
     
    5155/* internally used to mark root directory */
    5256#define FAT_CLST_ROOT           FAT_CLST_RES1
     57
     58#define FATTYPE(bs)      (bs)->reserved
    5359
    5460/* forward declarations */
Note: See TracChangeset for help on using the changeset viewer.