Changeset 99c23405 in mainline for uspace/lib/label/include
- Timestamp:
- 2015-07-04T15:18:06Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 603c1d1f
- Parents:
- 6bc542b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/label/include/types/liblabel.h
r6bc542b r99c23405 94 94 /** Number of blocks */ 95 95 aoff64_t nblocks; 96 /** Partition type */ 97 uint64_t ptype; 96 98 }; 97 99 … … 108 110 }; 109 111 112 typedef struct { 113 uint64_t ptable_ba[2]; 114 size_t esize; 115 } label_gpt_t; 116 117 typedef struct { 118 } label_mbr_t; 119 110 120 /** Label instance */ 111 121 struct label { … … 114 124 /** Label type */ 115 125 label_type_t ltype; 126 /** Block device service ID */ 127 service_id_t svcid; 116 128 /** Partitions */ 117 129 list_t parts; /* of label_part_t */ … … 120 132 /** Number of blocks that can be allocated */ 121 133 aoff64_t anblocks; 134 /** Number of primary partition entries */ 135 int pri_entries; 136 /** Block size */ 137 size_t block_size; 138 union { 139 label_gpt_t gpt; 140 label_mbr_t mbr; 141 } lt; 122 142 }; 123 143
Note:
See TracChangeset
for help on using the changeset viewer.