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


Ignore:
Timestamp:
2011-05-24T19:56:11Z (13 years ago)
Author:
Oleg Romanenko <romanenko.oleg@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a1467102
Parents:
88a27f1
Message:
  1. Rewrite and clean fat_get_cluster_fat12
  2. Support MIPS and other arch with only alligned memory access.
  3. Fix incompatibilities with BigEndian.
  4. Tested on IA32 and on MIPS32 EndianBig (GXEmul):

FAT12,16 reading and writing. FAT32 only reading. FAT32 writing - not tested!

  1. Some fixes for FAT32: reading hi and lo part of node cluster number from fat_dentry_t,

but its need more fixes to change size of cluster number from uint16_t to uint32_t etc.

File:
1 edited

Legend:

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

    r88a27f1 r0182e5cc  
    4040#define FAT1            0
    4141
    42 #define FAT_CLST_RES0     0x0000
    43 #define FAT_CLST_RES1     0x0001
    44 #define FAT_CLST_FIRST    0x0002
     42#define FAT_CLST_RES0     0
     43#define FAT_CLST_RES1     1
     44#define FAT_CLST_FIRST    2
    4545
    4646#define FAT32_CLST_BAD    0x0ffffff7
Note: See TracChangeset for help on using the changeset viewer.