Changeset 6461d286 in mainline for kernel/generic/src/mm/backend_anon.c
- Timestamp:
- 2008-09-01T21:25:21Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ae7f6fb
- Parents:
- 82b72e40
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/mm/backend_anon.c
r82b72e40 r6461d286 79 79 { 80 80 uintptr_t frame; 81 bool dirty = false;82 81 83 82 if (!as_area_check_access(area, access)) … … 107 106 for (i = 0; i < leaf->keys; i++) { 108 107 if (leaf->key[i] == 109 ALIGN_DOWN(addr, PAGE_SIZE) ) {108 ALIGN_DOWN(addr, PAGE_SIZE) - area->base) { 110 109 allocate = false; 111 110 break; … … 115 114 frame = (uintptr_t) frame_alloc(ONE_FRAME, 0); 116 115 memsetb((void *) PA2KA(frame), FRAME_SIZE, 0); 117 dirty = true;118 116 119 117 /* … … 146 144 frame = (uintptr_t) frame_alloc(ONE_FRAME, 0); 147 145 memsetb((void *) PA2KA(frame), FRAME_SIZE, 0); 148 dirty = true;149 146 } 150 147
Note:
See TracChangeset
for help on using the changeset viewer.