Changeset 700f89e in mainline for uspace/lib/gpt/libgpt.c


Ignore:
Timestamp:
2013-05-02T00:51:28Z (12 years ago)
Author:
Dominik Taborsky (AT DOT) <brembyseznamcz>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9bda5d90
Parents:
8f6c7785
Message:

libmbr semifinal, hdisk enhancements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/gpt/libgpt.c

    r8f6c7785 r700f89e  
    5858static int gpt_memcmp(const void * a, const void * b, size_t len);
    5959
     60/** Allocate memory for gpt header */
     61gpt_t * gpt_alloc_gpt_header()
     62{
     63        return malloc(sizeof(gpt_t));
     64}
     65
    6066/** Read GPT from specific device
    6167 * @param       dev_handle      device to read GPT from
     
    162168
    163169        return 0;
     170}
     171
     172/** Alloc partition array */
     173gpt_partitions_t *      gpt_alloc_partitions()
     174{
     175        return alloc_part_array(128);
    164176}
    165177
Note: See TracChangeset for help on using the changeset viewer.