Changes in uspace/drv/uhci-hcd/utils/malloc32.h [7dd3318:d6f78857] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/uhci-hcd/utils/malloc32.h
r7dd3318 rd6f78857 45 45 #define UHCI_REQUIRED_PAGE_SIZE 4096 46 46 47 static inline uintptr_taddr_to_phys(void *addr)47 static inline void * addr_to_phys(void *addr) 48 48 { 49 49 uintptr_t result; … … 51 51 52 52 assert(ret == 0); 53 return ( result | ((uintptr_t)addr & 0xfff));53 return (void*)(result | ((uintptr_t)addr & 0xfff)); 54 54 } 55 55
Note:
See TracChangeset
for help on using the changeset viewer.