Changeset 095a989 in mainline for uspace/lib/device/include


Ignore:
Timestamp:
2024-09-05T22:34:53Z (16 months ago)
Author:
Miroslav Cimerman <mc@…>
Children:
ee83e9c
Parents:
e192339
git-author:
Miroslav Cimerman <mc@…> (2024-09-05 22:31:28)
git-committer:
Miroslav Cimerman <mc@…> (2024-09-05 22:34:53)
Message:

hr: add status printing

Location:
uspace/lib/device/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/device/include/hr.h

    re192339 r095a989  
    6363} hr_config_t;
    6464
     65typedef struct hr_vol_info {
     66        service_id_t extents[HR_MAXDEVS];
     67        size_t extent_no;
     68        service_id_t svc_id;
     69        hr_level_t level;
     70        uint64_t nblocks;
     71        size_t bsize;
     72} hr_vol_info_t;
     73
    6574extern errno_t hr_sess_init(hr_t **);
    6675extern void hr_sess_destroy(hr_t *);
    6776
    6877extern errno_t hr_create(hr_t *, hr_config_t *);
     78extern errno_t hr_print_status(void);
    6979
    7080#endif
  • uspace/lib/device/include/ipc/hr.h

    re192339 r095a989  
    3939
    4040typedef enum {
    41         HR_CREATE = IPC_FIRST_USER_METHOD
     41        HR_CREATE = IPC_FIRST_USER_METHOD,
     42        HR_STATUS
    4243} hr_request_t;
    4344
Note: See TracChangeset for help on using the changeset viewer.