Changeset b7fd2a0 in mainline for uspace/lib/drv/generic/remote_hw_res.c
- Timestamp:
- 2018-01-13T03:10:29Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a53ed3a
- Parents:
- 36f0738
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/generic/remote_hw_res.c
r36f0738 rb7fd2a0 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.