Changeset 301032a in mainline for uspace/lib/drv/generic/remote_hw_res.c
- Timestamp:
- 2013-08-16T14:08:03Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 537620a8
- Parents:
- c762ad5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/generic/remote_hw_res.c
rc762ad5 r301032a 110 110 return; 111 111 } 112 const unsigned channel = DEV_IPC_GET_ARG1(*call); 112 const unsigned channel = DEV_IPC_GET_ARG1(*call) & 0xffff; 113 const uint8_t mode = DEV_IPC_GET_ARG1(*call) >> 16; 113 114 const uint32_t address = DEV_IPC_GET_ARG2(*call); 114 const uint16_t size = DEV_IPC_GET_ARG3(*call) & 0xffff; 115 const uint8_t mode = DEV_IPC_GET_ARG3(*call) >> 16; 115 const uint32_t size = DEV_IPC_GET_ARG3(*call); 116 116 117 117 const int ret = hw_res_ops->dma_channel_setup(
Note:
See TracChangeset
for help on using the changeset viewer.