Changeset 6a0d4ce2 in mainline
- Timestamp:
- 2015-07-02T21:37:30Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6bc542b
- Parents:
- 1626cd4
- Location:
- uspace/srv/bd/vbd
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/bd/vbd/disk.c
r1626cd4 r6a0d4ce2 43 43 #include <stdlib.h> 44 44 #include <task.h> 45 #include <vbd.h> 45 46 46 47 #include "disk.h" … … 370 371 } 371 372 372 int vbds_part_get_info(vbds_part_id_t partid, vbd s_part_info_t *pinfo)373 int vbds_part_get_info(vbds_part_id_t partid, vbd_part_info_t *pinfo) 373 374 { 374 375 vbds_part_t *part; -
uspace/srv/bd/vbd/disk.h
r1626cd4 r6a0d4ce2 40 40 #include <loc.h> 41 41 #include "types/vbd.h" 42 #include <vbd.h> 42 43 43 44 extern void vbds_disks_init(void); … … 48 49 extern int vbds_label_create(service_id_t, label_type_t); 49 50 extern int vbds_label_delete(service_id_t); 50 extern int vbds_part_get_info(vbds_part_id_t, vbd s_part_info_t *);51 extern int vbds_part_get_info(vbds_part_id_t, vbd_part_info_t *); 51 52 extern int vbds_part_create(service_id_t, vbds_part_id_t *); 52 53 extern int vbds_part_delete(vbds_part_id_t); -
uspace/srv/bd/vbd/types/vbd.h
r1626cd4 r6a0d4ce2 97 97 } vbds_disk_t; 98 98 99 /** Partition info */100 typedef struct {101 /** Partition index */102 int index;103 /** First block */104 aoff64_t block0;105 /** Number of blocks */106 aoff64_t nblocks;107 } vbds_part_info_t;108 109 99 #endif 110 100 -
uspace/srv/bd/vbd/vbd.c
r1626cd4 r6a0d4ce2 44 44 #include <stdlib.h> 45 45 #include <task.h> 46 #include <vbd.h> 46 47 47 48 #include "disk.h" … … 218 219 { 219 220 vbds_part_id_t part; 220 vbd s_part_info_t pinfo;221 vbd_part_info_t pinfo; 221 222 int rc; 222 223
Note:
See TracChangeset
for help on using the changeset viewer.