Changeset de0e6b3 in mainline for uspace/drv/uhci/uhci.c
- Timestamp:
- 2011-01-28T12:43:07Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d93ff502
- Parents:
- 45c4f5a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/uhci/uhci.c
r45c4f5a rde0e6b3 3 3 #include <usb/usb.h> 4 4 5 #include " translating_malloc.h"5 #include "utils/malloc32.h" 6 6 7 7 #include "debug.h" … … 61 61 62 62 instance->frame_list = 63 trans_malloc(sizeof(link_pointer_t) * UHCI_FRAME_LIST_COUNT);63 malloc32(sizeof(link_pointer_t) * UHCI_FRAME_LIST_COUNT); 64 64 if (instance->frame_list == NULL) { 65 65 uhci_print_error("Failed to allocate frame list pointer.\n"); … … 200 200 callback_dispose(job); \ 201 201 } \ 202 if (td) { trans_free(td); } \202 if (td) { free32(td); } \ 203 203 return ret; \ 204 204 } else (void) 0 … … 243 243 uhci_print_verbose("Cleaning fibril found inactive transport."); 244 244 instance->transfers[i].first = transfer->next_va; 245 transfer_descriptor_fini(transfer); 246 trans_free(transfer); 245 transfer_descriptor_dispose(transfer); 247 246 } 248 247 if (!instance->transfers[i].first)
Note:
See TracChangeset
for help on using the changeset viewer.