Changes in uspace/drv/bus/usb/ohci/utils/malloc32.h [d4d74dc:f8dfb40] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ohci/utils/malloc32.h
rd4d74dc rf8dfb40 37 37 #include <assert.h> 38 38 #include <malloc.h> 39 #include <unistd.h>40 39 #include <errno.h> 41 40 #include <mem.h> … … 57 56 uintptr_t result; 58 57 int ret = as_get_physical_mapping(addr, &result); 59 58 60 59 if (ret != EOK) 61 60 return 0; 62 63 return result; 61 return (result | ((uintptr_t)addr & 0xfff)); 64 62 } 65 63 /*----------------------------------------------------------------------------*/
Note:
See TracChangeset
for help on using the changeset viewer.