Changeset 50c57df in mainline for uspace/lib/drv/include/hw_res.h
- Timestamp:
- 2011-01-09T17:40:10Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 41b56084
- Parents:
- 36a6e11
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/include/hw_res.h
r36a6e11 r50c57df 33 33 */ 34 34 35 #ifndef LIBDRV_ RESOURCE_H_36 #define LIBDRV_ RESOURCE_H_35 #ifndef LIBDRV_HW_RES_H_ 36 #define LIBDRV_HW_RES_H_ 37 37 38 38 #include <device/hw_res.h> 39 39 #include <sys/types.h> 40 40 41 typedef struct resource_iface{42 hw_resource_list_t *(* get_resources)(device_t *);41 typedef struct { 42 hw_resource_list_t *(*get_resource_list)(device_t *); 43 43 bool (*enable_interrupt)(device_t *); 44 } resource_iface_t; 45 44 } hw_res_ops_t; 46 45 47 46 #endif
Note:
See TracChangeset
for help on using the changeset viewer.