Changeset cf85e24c in mainline for generic/src/mm/page.c
- Timestamp:
- 2006-04-22T23:00:26Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 12c7f27
- Parents:
- e692a27
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/src/mm/page.c
re692a27 rcf85e24c 64 64 int i, cnt, length; 65 65 66 length = size + (s - (s & ~(PAGE_SIZE -1)));67 cnt = length /PAGE_SIZE + (length%PAGE_SIZE>0);66 length = size + (s - (s & ~(PAGE_SIZE - 1))); 67 cnt = length / PAGE_SIZE + (length % PAGE_SIZE > 0); 68 68 69 69 for (i = 0; i < cnt; i++) 70 page_mapping_insert(AS_KERNEL, s + i *PAGE_SIZE, s + i*PAGE_SIZE, PAGE_NOT_CACHEABLE);70 page_mapping_insert(AS_KERNEL, s + i * PAGE_SIZE, s + i * PAGE_SIZE, PAGE_NOT_CACHEABLE); 71 71 72 72 }
Note:
See TracChangeset
for help on using the changeset viewer.