Changeset 60866a3 in mainline
- Timestamp:
- 2009-05-19T19:06:39Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5b9d80c5
- Parents:
- c00589d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/generic/ddi.c
rc00589d r60866a3 131 131 offset = pio_addr - phys; 132 132 pages = ALIGN_UP(offset + size, PAGE_SIZE) >> PAGE_WIDTH; 133 virt = as_get_mappable_page(pages );133 virt = as_get_mappable_page(pages << PAGE_WIDTH); 134 134 *use_addr = virt + offset; 135 135 return physmem_map(phys, virt, pages, AS_AREA_READ | AS_AREA_WRITE);
Note:
See TracChangeset
for help on using the changeset viewer.