Changeset 46577995 in mainline for uspace/lib/drv/generic/remote_hw_res.c
- Timestamp:
- 2018-01-04T20:50:52Z (8 years ago)
- Children:
- e211ea04
- Parents:
- facacc71
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-04 20:47:53)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-04 20:50:52)
- File:
-
- 1 edited
-
uspace/lib/drv/generic/remote_hw_res.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/generic/remote_hw_res.c
rfacacc71 r46577995 79 79 80 80 const int irq = DEV_IPC_GET_ARG1(*call); 81 const int ret = hw_res_ops->enable_interrupt(fun, irq);81 const errno_t ret = hw_res_ops->enable_interrupt(fun, irq); 82 82 async_answer_0(callid, ret); 83 83 } … … 94 94 95 95 const int irq = DEV_IPC_GET_ARG1(*call); 96 const int ret = hw_res_ops->disable_interrupt(fun, irq);96 const errno_t ret = hw_res_ops->disable_interrupt(fun, irq); 97 97 async_answer_0(callid, ret); 98 98 } … … 109 109 110 110 const int irq = DEV_IPC_GET_ARG1(*call); 111 const int ret = hw_res_ops->enable_interrupt(fun, irq);111 const errno_t ret = hw_res_ops->enable_interrupt(fun, irq); 112 112 async_answer_0(callid, ret); 113 113 } … … 153 153 const uint32_t size = DEV_IPC_GET_ARG3(*call); 154 154 155 const int ret = hw_res_ops->dma_channel_setup(155 const errno_t ret = hw_res_ops->dma_channel_setup( 156 156 fun, channel, address, size, mode); 157 157 async_answer_0(callid, ret); … … 169 169 const unsigned channel = DEV_IPC_GET_ARG1(*call); 170 170 size_t remain = 0; 171 const int ret = hw_res_ops->dma_channel_remain(fun, channel, &remain);171 const errno_t ret = hw_res_ops->dma_channel_remain(fun, channel, &remain); 172 172 async_answer_1(callid, ret, remain); 173 173 }
Note:
See TracChangeset
for help on using the changeset viewer.
