Changeset 77a194c in mainline for uspace/lib/label/include/std/gpt.h
- Timestamp:
- 2015-11-04T18:55:46Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 44183b98
- Parents:
- 5265eea4 (diff), bfcde8d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/label/include/std/gpt.h
r5265eea4 r77a194c 1 1 /* 2 * Copyright (c) 20 09Jiri Svoboda2 * Copyright (c) 2015 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 33 33 */ 34 34 35 #ifndef __GPT_H__36 #define __GPT_H__35 #ifndef LIBLABEL_STD_GPT_H_ 36 #define LIBLABEL_STD_GPT_H_ 37 37 38 38 #include <sys/types.h> 39 39 40 /** Block address of GPT header. */ 41 #define GPT_HDR_BA 1 40 enum { 41 /** Block address of primary GPT header. */ 42 gpt_hdr_ba = 1, 43 44 /** Minimum size of partition table in bytes, required by std. */ 45 gpt_ptable_min_size = 16384, 46 47 /** GPT revision */ 48 gpt_revision = 0x00010000 49 }; 42 50 43 51 /** GPT header */ … … 69 77 } __attribute__((packed)) gpt_entry_t; 70 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 71 87 #endif 72 88
Note:
See TracChangeset
for help on using the changeset viewer.