Changeset f724e82 in mainline for uspace/lib/c/include/device/hw_res.h


Ignore:
Timestamp:
2011-01-09T12:52:30Z (13 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ce79069b
Parents:
b2263e6a
Message:

Clean up hw_res interface client API.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/device/hw_res.h

    rb2263e6a rf724e82  
    4141/** HW resource provider interface */
    4242typedef enum {
    43         GET_RESOURCE_LIST = 0,
    44         ENABLE_INTERRUPT
     43        HW_RES_GET_RESOURCE_LIST = 0,
     44        HW_RES_ENABLE_INTERRUPT
    4545} hw_res_funcs_t;
    4646
     
    8484} hw_resource_list_t;
    8585
    86 static inline void clean_hw_resource_list(hw_resource_list_t *hw_res)
     86static inline void hw_res_clean_resource_list(hw_resource_list_t *hw_res)
    8787{
    8888        if (hw_res->resources != NULL) {
     
    9595}
    9696
    97 extern int get_hw_resources(int, hw_resource_list_t *);
    98 extern bool enable_interrupt(int);
     97extern int hw_res_get_resource_list(int, hw_resource_list_t *);
     98extern bool hw_res_enable_interrupt(int);
    9999
    100100#endif
Note: See TracChangeset for help on using the changeset viewer.