Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 375ab5e in mainline for uspace/srv/fs/fat/fat.h


Ignore:
Timestamp:
2011-08-24T20:10:43Z (10 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master
Children:
eb660787
Parents:
7fadb65 (diff), 842a2d2 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge from lp:~romanenko-oleg/helenos/fat.

File:
1 edited

Legend:

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

    r7fadb65 r375ab5e  
    11/*
    22 * Copyright (c) 2008 Jakub Jermar
     3 * Copyright (c) 2011 Oleg Romanenko
    34 * All rights reserved.
    45 *
     
    5556#define RSCNT(bs)       uint16_t_le2host((bs)->rscnt)
    5657#define FATCNT(bs)      (bs)->fatcnt
    57 #define SF(bs)          uint16_t_le2host((bs)->sec_per_fat)
     58#define SF(bs)          (uint16_t_le2host((bs)->sec_per_fat) !=0 ? \
     59    uint16_t_le2host((bs)->sec_per_fat) : \
     60    uint32_t_le2host(bs->fat32.sectors_per_fat))
    5861#define RDE(bs)         uint16_t_le2host((bs)->root_ent_max)
    5962#define TS(bs)          (uint16_t_le2host((bs)->totsec16) != 0 ? \
Note: See TracChangeset for help on using the changeset viewer.