Changeset 8c95dff in mainline for uspace/lib/mbr/libmbr.c
- Timestamp:
- 2013-11-30T17:49:09Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f4a47e52
- Parents:
- 802898f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/mbr/libmbr.c
r802898f r8c95dff 70 70 } 71 71 72 void mbr_set_device(mbr_label_t *label, service_id_t dev_handle) 73 { 74 label->device = dev_handle; 75 } 76 72 77 /** Free mbr_label_t structure */ 73 78 void mbr_free_label(mbr_label_t *label) … … 253 258 } 254 259 260 label->mbr->raw_data.signature = host2uint16_t_le(BR_SIGNATURE); 261 255 262 /* Writing MBR */ 256 263 rc = block_write_direct(dev_handle, 0, 1, &(label->mbr->raw_data)); … … 271 278 * and implementation. If you don't have to change it, don't. Other 272 279 * designs have been tried, this came out as the least horror with 273 * as much power over it as you can get. Thanks.*/280 * as much power over it as you can get. */ 274 281 275 282 /* Encoding and writing first logical partition */
Note:
See TracChangeset
for help on using the changeset viewer.