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