Changeset 904b1bc in mainline for uspace/srv/fs/fat/fat.h
- Timestamp:
- 2018-05-22T10:36:58Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a4eb3ba2
- Parents:
- 4f8772d4
- git-author:
- Jiri Svoboda <jiri@…> (2018-05-21 17:36:30)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-05-22 10:36:58)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/fat/fat.h
r4f8772d4 r904b1bc 70 70 71 71 typedef struct fat_bs { 72 uint8_t ji[3]; /**< Jump instruction. */ 72 /** Jump instruction */ 73 uint8_t ji[3]; 73 74 uint8_t oem_name[8]; 75 74 76 /* BIOS Parameter Block */ 75 uint16_t bps; /**< Bytes per sector. */ 76 uint8_t spc; /**< Sectors per cluster. */ 77 uint16_t rscnt; /**< Reserved sector count. */ 78 uint8_t fatcnt; /**< Number of FATs. */ 79 uint16_t root_ent_max; /**< Maximum number of root directory 80 entries. */ 81 uint16_t totsec16; /**< Total sectors. 16-bit version. */ 82 uint8_t mdesc; /**< Media descriptor. */ 83 uint16_t sec_per_fat; /**< Sectors per FAT12/FAT16. */ 84 uint16_t sec_per_track; /**< Sectors per track. */ 85 uint16_t headcnt; /**< Number of heads. */ 86 uint32_t hidden_sec; /**< Hidden sectors. */ 87 uint32_t totsec32; /**< Total sectors. 32-bit version. */ 77 78 /** Bytes per sector */ 79 uint16_t bps; 80 /** Sectors per cluster */ 81 uint8_t spc; 82 /** Reserved sector count */ 83 uint16_t rscnt; 84 /** Number of FATs */ 85 uint8_t fatcnt; 86 /** Maximum number of root directory entries */ 87 uint16_t root_ent_max; 88 /** Total sectors. 16-bit version */ 89 uint16_t totsec16; 90 /** Media descriptor */ 91 uint8_t mdesc; 92 /** Sectors per FAT12/FAT16 */ 93 uint16_t sec_per_fat; 94 /** Sectors per track */ 95 uint16_t sec_per_track; 96 /** Number of heads */ 97 uint16_t headcnt; 98 /** Hidden sectors */ 99 uint32_t hidden_sec; 100 /** Total sectors. 32-bit version */ 101 uint32_t totsec32; 88 102 89 103 union {
Note:
See TracChangeset
for help on using the changeset viewer.