Changeset f57ccb5 in mainline for uspace/lib/label/include
- Timestamp:
- 2015-08-11T16:03:59Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0bde8523
- Parents:
- 1b23e33
- Location:
- uspace/lib/label/include
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/label/include/label.h
r1b23e33 rf57ccb5 55 55 extern int label_part_destroy(label_part_t *); 56 56 extern void label_pspec_init(label_part_spec_t *); 57 extern int label_suggest_ptype(label_t *, label_pcnt_t, label_ptype_t *); 57 58 58 59 #endif -
uspace/lib/label/include/std/gpt.h
r1b23e33 rf57ccb5 77 77 } __attribute__((packed)) gpt_entry_t; 78 78 79 /** Microsoft Basic Data Partition */ 80 #define GPT_MS_BASIC_DATA "EBD0A0A2-B9E5-4433-87C0-68B6B72699C7" 81 /** Linux Filesystem Data */ 82 #define GPT_LINUX_FS_DATA "0FC63DAF-8483-4772-8E79-3D69D8477DE4" 83 /** I could not find any definition of Minix GUID partition type. 84 * This is a randomly generated UUID */ 85 #define GPT_MINIX_FAKE "8308e350-4e2d-46c7-8e3b-24b07e8ac674" 86 79 87 #endif 80 88 -
uspace/lib/label/include/std/mbr.h
r1b23e33 rf57ccb5 57 57 }; 58 58 59 enum ptype {59 enum mbr_ptype { 60 60 /** Unused partition entry */ 61 mbr_pt_unused = 0x00,61 mbr_pt_unused = 0x00, 62 62 /** Extended partition */ 63 mbr_pt_extended = 0x05 63 mbr_pt_extended = 0x05, 64 /** Extended partition with LBA */ 65 mbr_pt_extended_lba = 0x0f, 66 /** FAT16 with LBA */ 67 mbr_pt_fat16_lba = 0x0e, 68 /** FAT32 with LBA */ 69 mbr_pt_fat32_lba = 0x0c, 70 /** IFS, HPFS, NTFS, exFAT */ 71 mbr_pt_ms_advanced = 0x07, 72 /** Minix */ 73 mbr_pt_minix = 0x81, 74 /** Linux */ 75 mbr_pt_linux = 0x83 64 76 }; 65 77 -
uspace/lib/label/include/types/liblabel.h
r1b23e33 rf57ccb5 61 61 int (*part_create)(label_t *, label_part_spec_t *, label_part_t **); 62 62 int (*part_destroy)(label_part_t *); 63 int (*suggest_ptype)(label_t *, label_pcnt_t, label_ptype_t *); 63 64 } label_ops_t; 64 65 … … 106 107 aoff64_t nblocks; 107 108 /** Partition type */ 108 uint64_t ptype;109 label_ptype_t ptype; 109 110 /** Partition UUID */ 110 111 uuid_t part_uuid; … … 124 125 label_pkind_t pkind; 125 126 /** Partition type */ 126 uint64_t ptype;127 label_ptype_t ptype; 127 128 }; 128 129
Note:
See TracChangeset
for help on using the changeset viewer.