Changeset e63a4e1 in mainline for uspace/drv/vhc/hc.c
- Timestamp:
- 2010-12-15T22:02:26Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f37f811
- Parents:
- 774afaae
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/vhc/hc.c
r774afaae re63a4e1 102 102 /** Host controller manager main function. 103 103 */ 104 void hc_manager(void)104 static int hc_manager_fibril(void *arg) 105 105 { 106 106 list_initialize(&transaction_list); … … 139 139 free(transaction); 140 140 } 141 142 assert(false && "unreachable"); 143 return EOK; 144 } 145 146 void hc_manager(void) 147 { 148 fid_t fid = fibril_create(hc_manager_fibril, NULL); 149 if (fid == 0) { 150 printf(NAME ": failed to start HC manager fibril\n"); 151 return; 152 } 153 fibril_add_ready(fid); 141 154 } 142 155
Note:
See TracChangeset
for help on using the changeset viewer.