Changeset de0e6b3 in mainline for uspace/drv/uhci/callback.c


Ignore:
Timestamp:
2011-01-28T12:43:07Z (14 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d93ff502
Parents:
45c4f5a
Message:

Used usbmem allocator

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/uhci/callback.c

    r45c4f5a rde0e6b3  
    99        assert(instance);
    1010        assert(func_in == NULL || func_out == NULL);
    11         instance->new_buffer = trans_malloc(size);
     11        instance->new_buffer = malloc32(size);
    1212        if (!instance->new_buffer) {
    1313                uhci_print_error("Failed to allocate device acessible buffer.\n");
     
    3434        if (instance->new_buffer) {
    3535                memcpy(instance->new_buffer, instance->old_buffer, instance->buffer_size);
    36                 trans_free(instance->new_buffer);
     36                free32(instance->new_buffer);
    3737                instance->new_buffer = NULL;
    3838        }
Note: See TracChangeset for help on using the changeset viewer.