Changeset 8013637 in mainline for uspace/drv/bus
- Timestamp:
- 2012-07-20T13:51:28Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8fccd42
- Parents:
- c5bff3c (diff), 7030bc9 (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. - Location:
- uspace/drv/bus
- Files:
-
- 4 edited
-
isa/isa.c (modified) (2 diffs)
-
usb/ohci/utils/malloc32.h (modified) (1 diff)
-
usb/uhci/utils/malloc32.h (modified) (2 diffs)
-
usb/usbmast/main.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/isa/isa.c
rc5bff3c r8013637 201 201 202 202 isa_fun_t *fun = ddf_fun_data_alloc(fnode, sizeof(isa_fun_t)); 203 if (fun == NULL) 203 if (fun == NULL) { 204 ddf_fun_destroy(fnode); 204 205 return NULL; 206 } 205 207 206 208 fibril_mutex_initialize(&fun->mutex); … … 552 554 553 555 isa_fun_t *fun = isa_fun_create(isa, fun_name); 556 free(fun_name); 554 557 if (fun == NULL) { 555 free(fun_name);556 558 return NULL; 557 559 } -
uspace/drv/bus/usb/ohci/utils/malloc32.h
rc5bff3c r8013637 37 37 #include <assert.h> 38 38 #include <malloc.h> 39 #include <unistd.h> 39 40 #include <errno.h> 40 41 #include <mem.h> -
uspace/drv/bus/usb/uhci/utils/malloc32.h
rc5bff3c r8013637 36 36 37 37 #include <assert.h> 38 #include <unistd.h> 38 39 #include <errno.h> 39 40 #include <malloc.h> … … 98 99 static inline void * get_page(void) 99 100 { 100 void *address = as_area_create( (void *) -1, UHCI_REQUIRED_PAGE_SIZE,101 void *address = as_area_create(AS_AREA_ANY, UHCI_REQUIRED_PAGE_SIZE, 101 102 AS_AREA_READ | AS_AREA_WRITE); 102 if (address == (void *) -1)103 if (address == AS_MAP_FAILED) 103 104 return NULL; 104 105 -
uspace/drv/bus/usb/usbmast/main.c
rc5bff3c r8013637 302 302 303 303 (void) async_share_out_finalize(callid, &comm_buf); 304 if (comm_buf == (void *) -1) {304 if (comm_buf == AS_MAP_FAILED) { 305 305 async_answer_0(callid, EHANGUP); 306 306 return;
Note:
See TracChangeset
for help on using the changeset viewer.
