Changeset 5048be7 in mainline for uspace/srv/bd/ata_bd/ata_bd.h
- Timestamp:
- 2009-08-23T20:41:51Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update
- Children:
- 21d8020
- Parents:
- 1c1657c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/bd/ata_bd/ata_bd.h
r1c1657c r5048be7 242 242 }; 243 243 244 /** Block coordinates */ 245 typedef struct { 246 /** Addressing mode used */ 247 enum addr_mode amode; 248 249 union { 250 /** CHS coordinates */ 251 struct { 252 uint8_t sector; 253 uint8_t cyl_lo; 254 uint8_t cyl_hi; 255 }; 256 /** LBA coordinates */ 257 struct { 258 uint8_t c0; 259 uint8_t c1; 260 uint8_t c2; 261 uint8_t c3; 262 uint8_t c4; 263 uint8_t c5; 264 }; 265 }; 266 267 /** Lower 4 bits for device/head register */ 268 uint8_t h; 269 } block_coord_t; 270 244 271 typedef struct { 245 272 bool present;
Note:
See TracChangeset
for help on using the changeset viewer.