Ignore:
Timestamp:
2015-07-03T03:54:45Z (9 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8fc61c8
Parents:
e6d7df1
Message:

ehci, libusbhost: Move malloc32 to libusbhost.

So it can be shared with other HCDs.
Make sure the memory is mapped before returning from malloc32.
Add poison.

Fixes non-cntl transfers for ehci

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/ehci/ehci_batch.c

    re6d7df1 r45cbf897  
    4242#include <usb/usb.h>
    4343#include <usb/debug.h>
     44#include <usb/host/utils/malloc32.h>
    4445
    4546#include "ehci_batch.h"
    4647#include "ehci_endpoint.h"
    47 #include "utils/malloc32.h"
    4848
    4949/* The buffer pointer list in the qTD is long enough to support a maximum
Note: See TracChangeset for help on using the changeset viewer.