Changeset cccd60c3 in mainline for uspace/lib/c/generic/device/hw_res.c
- Timestamp:
- 2017-10-10T06:51:02Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c46bfbc
- Parents:
- 2bdf92a5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/device/hw_res.c
r2bdf92a5 rcccd60c3 75 75 } 76 76 77 bool hw_res_enable_interrupt(async_sess_t *sess)77 int hw_res_enable_interrupt(async_sess_t *sess, int irq) 78 78 { 79 79 async_exch_t *exch = async_exchange_begin(sess); 80 80 81 int rc = async_req_ 1_0(exch, DEV_IFACE_ID(HW_RES_DEV_IFACE),82 HW_RES_ENABLE_INTERRUPT );81 int rc = async_req_2_0(exch, DEV_IFACE_ID(HW_RES_DEV_IFACE), 82 HW_RES_ENABLE_INTERRUPT, irq); 83 83 async_exchange_end(exch); 84 84 85 return (rc == EOK);85 return rc; 86 86 } 87 87
Note:
See TracChangeset
for help on using the changeset viewer.