Changeset b7fd2a0 in mainline for uspace/lib/usbhost/include/usb/host/utils
- Timestamp:
- 2018-01-13T03:10:29Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a53ed3a
- Parents:
- 36f0738
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhost/include/usb/host/utils/malloc32.h
r36f0738 rb7fd2a0 59 59 { 60 60 uintptr_t result; 61 int ret = as_get_physical_mapping(addr, &result);61 errno_t ret = as_get_physical_mapping(addr, &result); 62 62 63 63 if (ret != EOK) … … 78 78 size_t real_size = ALIGN_UP(size, PAGE_SIZE); 79 79 80 const int ret = dmamem_map_anonymous(real_size,80 const errno_t ret = dmamem_map_anonymous(real_size, 81 81 DMAMEM_4GiB, AS_AREA_READ | AS_AREA_WRITE, 0, &phys, 82 82 &address);
Note:
See TracChangeset
for help on using the changeset viewer.
