Changeset 6e2bf29 in mainline
- Timestamp:
- 2010-05-31T19:09:07Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b0b2ac1
- Parents:
- e3ce39b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ppc32/src/mm/page.c
re3ce39b r6e2bf29 54 54 uintptr_t virtaddr = PA2KA(last_frame); 55 55 pfn_t i; 56 page_table_lock(AS_KERNEL, true); 56 57 for (i = 0; i < ADDR2PFN(ALIGN_UP(size, PAGE_SIZE)); i++) 57 58 page_mapping_insert(AS_KERNEL, virtaddr + PFN2ADDR(i), 58 59 physaddr + PFN2ADDR(i), PAGE_NOT_CACHEABLE | PAGE_WRITE); 60 page_table_unlock(AS_KERNEL, true); 59 61 60 62 last_frame = ALIGN_UP(last_frame + size, FRAME_SIZE);
Note:
See TracChangeset
for help on using the changeset viewer.