Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset e2718e1 in mainline


Ignore:
Timestamp:
2011-12-16T21:10:43Z (10 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master
Children:
c6ae4c2
Parents:
6645a14
Message:

reflect syscall change

Location:
uspace/drv/bus/usb
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/ohci/utils/malloc32.h

    r6645a14 re2718e1  
    5656        uintptr_t result;
    5757        int ret = as_get_physical_mapping(addr, &result);
    58 
     58       
    5959        if (ret != EOK)
    6060                return 0;
    61         return (result | ((uintptr_t)addr & 0xfff));
     61       
     62        return result;
    6263}
    6364/*----------------------------------------------------------------------------*/
  • uspace/drv/bus/usb/uhci/utils/malloc32.h

    r6645a14 re2718e1  
    5454        if (addr == NULL)
    5555                return 0;
    56 
     56       
    5757        uintptr_t result;
    5858        const int ret = as_get_physical_mapping(addr, &result);
    5959        if (ret != EOK)
    6060                return 0;
    61         return (result | ((uintptr_t)addr & 0xfff));
     61       
     62        return result;
    6263}
    6364/*----------------------------------------------------------------------------*/
Note: See TracChangeset for help on using the changeset viewer.