Changeset b7a4d06 in mainline for uspace/lib/c/include
- Timestamp:
- 2015-07-18T12:55:12Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c43db5f
- Parents:
- 70815a24
- Location:
- uspace/lib/c/include
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/types/label.h
r70815a24 rb7a4d06 58 58 #define LT_LIMIT (lt_gpt + 1) 59 59 60 /** Partition kind */ 61 typedef enum { 62 /** Primary partition */ 63 lpk_primary, 64 /** Extended partition */ 65 lpk_extended, 66 /** Logical partition */ 67 lpk_logical 68 } label_pkind_t; 69 70 /** Label flags */ 71 typedef enum { 72 /** Label supports extended (and logical) partitions */ 73 lf_ext_supp = 0x1, 74 /** Currently it is possible to create a primary partition */ 75 lf_can_create_pri = 0x2, 76 /** Currently it is possible to create an extended partition */ 77 lf_can_create_ext = 0x4, 78 /** Currrently it is possible to create a logical partition */ 79 lf_can_create_log = 0x8 80 } label_flags_t; 60 81 61 82 #endif -
uspace/lib/c/include/vbd.h
r70815a24 rb7a4d06 51 51 /** Label type */ 52 52 label_type_t ltype; 53 /** Label flags */ 54 label_flags_t flags; 53 55 /** First block that can be allocated */ 54 56 aoff64_t ablock0; … … 67 69 /** Number of blocks */ 68 70 aoff64_t nblocks; 71 /** Partition kind */ 72 label_pkind_t pkind; 69 73 /** Partition type */ 70 74 uint64_t ptype; … … 75 79 /** Partition index */ 76 80 int index; 81 /** Partition kind */ 82 label_pkind_t pkind; 77 83 /** First block */ 78 84 aoff64_t block0; -
uspace/lib/c/include/vol.h
r70815a24 rb7a4d06 53 53 /** Label type, if disk contents is label */ 54 54 label_type_t ltype; 55 /** Label flags */ 56 label_flags_t flags; 55 57 } vol_disk_info_t; 56 58
Note:
See TracChangeset
for help on using the changeset viewer.
