Changeset cf28ffd3 in mainline for uspace/lib/device/src/hr.c


Ignore:
Timestamp:
2024-10-28T22:19:45Z (9 months ago)
Author:
Miroslav Cimerman <mc@…>
Children:
1cfa162
Parents:
d84773a
Message:

hr: add option to silently fail an extent

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/device/src/hr.c

    rd84773a rcf28ffd3  
    169169}
    170170
    171 errno_t hr_stop(const char *devname)
     171errno_t hr_stop(const char *devname, long extent)
    172172{
    173173        hr_t *hr;
     
    189189                goto error;
    190190        }
    191         rc = async_req_1_0(exch, HR_STOP, svc_id);
     191        rc = async_req_2_0(exch, HR_STOP, svc_id, extent);
    192192        async_exchange_end(exch);
    193193
Note: See TracChangeset for help on using the changeset viewer.