Changeset 78d50bd in mainline for uspace/srv/bd/vbd/types/vbd.h
- Timestamp:
- 2015-06-29T18:47:07Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3faa03d
- Parents:
- 28ed0d9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/bd/vbd/types/vbd.h
r28ed0d9 r78d50bd 39 39 40 40 #include <adt/list.h> 41 #include <bd_srv.h> 41 42 #include <label.h> 42 43 #include <loc.h> 43 44 #include <types/label.h> 45 46 typedef sysarg_t vbds_part_id_t; 44 47 45 48 /** Disk info */ … … 57 60 /** Link to vbds_disk_t.parts */ 58 61 link_t ldisk; 62 /** Link to vbds_parts */ 63 link_t lparts; 64 /** Partition ID */ 65 vbds_part_id_t id; 59 66 /** Label partition */ 60 67 label_part_t *lpart; 68 /** Block device service */ 69 bd_srvs_t bds; 70 /** Number of times the device is open */ 71 int open_cnt; 72 /** Address of first block */ 73 aoff64_t block0; 74 /** Number of blocks */ 75 aoff64_t nblocks; 61 76 } vbds_part_t; 62 77 … … 67 82 /** Service ID */ 68 83 service_id_t svc_id; 84 /** Disk service name */ 85 char *svc_name; 69 86 /** Label */ 70 87 label_t *label; 71 88 /** Partitions */ 72 89 list_t parts; /* of vbds_part_t */ 90 /** Block size */ 91 size_t block_size; 73 92 } vbds_disk_t; 74 93 … … 76 95 } vbds_part_info_t; 77 96 78 typedef sysarg_t vbds_part_id_t;79 80 97 #endif 81 98
Note:
See TracChangeset
for help on using the changeset viewer.