Changeset 700f89e in mainline for uspace/lib/gpt/libgpt.c
- Timestamp:
- 2013-05-02T00:51:28Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9bda5d90
- Parents:
- 8f6c7785
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/gpt/libgpt.c
r8f6c7785 r700f89e 58 58 static int gpt_memcmp(const void * a, const void * b, size_t len); 59 59 60 /** Allocate memory for gpt header */ 61 gpt_t * gpt_alloc_gpt_header() 62 { 63 return malloc(sizeof(gpt_t)); 64 } 65 60 66 /** Read GPT from specific device 61 67 * @param dev_handle device to read GPT from … … 162 168 163 169 return 0; 170 } 171 172 /** Alloc partition array */ 173 gpt_partitions_t * gpt_alloc_partitions() 174 { 175 return alloc_part_array(128); 164 176 } 165 177
Note:
See TracChangeset
for help on using the changeset viewer.