Changeset cf2af94 in mainline for uspace/lib/drv/include/ops/hw_res.h
- Timestamp:
- 2011-02-09T11:46:47Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- cb15135a
- Parents:
- a49c4002 (diff), 0b37882 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/include/ops/hw_res.h
ra49c4002 rcf2af94 33 33 */ 34 34 35 #ifndef LIBDRV_ RESOURCE_H_36 #define LIBDRV_ RESOURCE_H_35 #ifndef LIBDRV_OPS_HW_RES_H_ 36 #define LIBDRV_OPS_HW_RES_H_ 37 37 38 #include "driver.h" 38 #include <device/hw_res.h> 39 #include <sys/types.h> 39 40 40 typedef struct resource_iface { 41 hw_resource_list_t *(* get_resources)(device_t *); 41 #include "../driver.h" 42 43 typedef struct { 44 hw_resource_list_t *(*get_resource_list)(device_t *); 42 45 bool (*enable_interrupt)(device_t *); 43 } resource_iface_t; 44 46 } hw_res_ops_t; 45 47 46 48 #endif
Note:
See TracChangeset
for help on using the changeset viewer.