Changeset 1626cd4 in mainline for uspace/lib/c/include/vbd.h


Ignore:
Timestamp:
2015-07-02T19:01:37Z (9 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6a0d4ce2
Parents:
3faa03d
Message:

Propagate label and partition block ranges and other info up through the stack.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/vbd.h

    r3faa03d r1626cd4  
    3939#include <loc.h>
    4040#include <types/label.h>
     41#include <sys/types.h>
    4142
    4243/** VBD service */
     
    5051        /** Label type */
    5152        label_type_t ltype;
     53        /** First block that can be allocated */
     54        aoff64_t ablock0;
     55        /** Number of blocks that can be allocated */
     56        aoff64_t anblocks;
     57        /** Block size */
     58        size_t block_size;
    5259} vbd_disk_info_t;
    5360
     
    5663
    5764typedef struct {
     65        /** Partition index */
     66        int index;
     67        /** First block */
     68        aoff64_t block0;
     69        /** Number of blocks */
     70        aoff64_t nblocks;
    5871} vbd_part_info_t;
    5972
Note: See TracChangeset for help on using the changeset viewer.