Changeset 7be14db in mainline for uspace/srv/fs/exfat/exfat.h
- Timestamp:
- 2011-08-14T07:09:20Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f7d90eb
- Parents:
- 998a78f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/exfat/exfat.h
r998a78f r7be14db 50 50 #define BS_SIZE 512 51 51 52 #define BPS(bs) (1 << (bs->bytes_per_sector)) 53 #define SPC(bs) (1 << (bs->sec_per_cluster)) 52 #define BPS(bs) ((uint32_t) (1 << (bs->bytes_per_sector))) 53 #define SPC(bs) ((uint32_t)(1 << (bs->sec_per_cluster))) 54 #define BPC(bs) ((uint32_t)(BPS(bs)*SPC(bs))) 54 55 #define VOL_FS(bs) uint64_t_le2host(bs->volume_start) 55 56 #define VOL_CNT(bs) uint64_t_le2host(bs->volume_count)
Note:
See TracChangeset
for help on using the changeset viewer.