Changeset 54229db in mainline
- Timestamp:
- 2011-01-28T17:31:48Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b6120d90
- Parents:
- d1984e0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/uhci/utils/malloc32.h
rd1984e0 r54229db 46 46 uintptr_t result; 47 47 int ret = as_get_physical_mapping(addr, &result); 48 48 49 assert(ret == 0); 49 return (void*) result;50 return (void*)(result | ((uintptr_t)addr & 0xfff)); 50 51 } 51 52
Note:
See TracChangeset
for help on using the changeset viewer.