Changeset 0adddea in mainline for uspace/lib/c/generic/device/hw_res.c
- Timestamp:
- 2011-01-09T12:30:26Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b2263e6a
- Parents:
- 54de5ebd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/device/hw_res.c
r54de5ebd r0adddea 26 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 27 */ 28 28 29 29 /** @addtogroup libc 30 30 * @{ … … 32 32 /** @file 33 33 */ 34 34 35 35 #include <device/hw_res.h> 36 36 #include <errno.h> … … 44 44 int rc = async_req_1_1(dev_phone, DEV_IFACE_ID(HW_RES_DEV_IFACE), 45 45 GET_RESOURCE_LIST, &count); 46 46 47 hw_resources->count = count; 47 48 if (rc != EOK) … … 67 68 int rc = async_req_1_0(dev_phone, DEV_IFACE_ID(HW_RES_DEV_IFACE), 68 69 ENABLE_INTERRUPT); 70 69 71 return rc == EOK; 70 72 } 71 72 73 74 /** @} 73 74 /** @} 75 75 */
Note:
See TracChangeset
for help on using the changeset viewer.