Changeset 904b1bc in mainline for uspace/lib/label/include/std/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/lib/label/include/std/fat.h
r4f8772d4 r904b1bc 51 51 52 52 typedef struct fat_bs { 53 uint8_t ji[3]; /**< Jump instruction. */ 53 /** Jump instruction */ 54 uint8_t ji[3]; 54 55 uint8_t oem_name[8]; 56 55 57 /* BIOS Parameter Block */ 56 uint16_t bps; /**< Bytes per sector. */ 57 uint8_t spc; /**< Sectors per cluster. */ 58 uint16_t rscnt; /**< Reserved sector count. */ 59 uint8_t fatcnt; /**< Number of FATs. */ 60 uint16_t root_ent_max; /**< Maximum number of root directory 61 entries. */ 62 uint16_t totsec16; /**< Total sectors. 16-bit version. */ 63 uint8_t mdesc; /**< Media descriptor. */ 64 uint16_t sec_per_fat; /**< Sectors per FAT12/FAT16. */ 65 uint16_t sec_per_track; /**< Sectors per track. */ 66 uint16_t headcnt; /**< Number of heads. */ 67 uint32_t hidden_sec; /**< Hidden sectors. */ 68 uint32_t totsec32; /**< Total sectors. 32-bit version. */ 58 59 /** Bytes per sector */ 60 uint16_t bps; 61 /** Sectors per cluster */ 62 uint8_t spc; 63 /** Reserved sector count */ 64 uint16_t rscnt; 65 /** Number of FATs */ 66 uint8_t fatcnt; 67 /** Maximum number of root directory entries */ 68 uint16_t root_ent_max; 69 /** Total sectors. 16-bit version */ 70 uint16_t totsec16; 71 /** Media descriptor */ 72 uint8_t mdesc; 73 /** Sectors per FAT12/FAT16 */ 74 uint16_t sec_per_fat; 75 /** Sectors per track */ 76 uint16_t sec_per_track; 77 /** Number of heads */ 78 uint16_t headcnt; 79 /** Hidden sectors */ 80 uint32_t hidden_sec; 81 /** Total sectors. 32-bit version */ 82 uint32_t totsec32; 69 83 70 84 union {
Note:
See TracChangeset
for help on using the changeset viewer.