Changeset 8b655705 in mainline for kernel/generic/src/mm/backend_elf.c
- Timestamp:
- 2011-04-15T19:38:07Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9dd730d1
- Parents:
- 6b9e85b (diff), b2fb47f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/mm/backend_elf.c
r6b9e85b r8b655705 213 213 if (!as_area_check_access(area, access)) 214 214 return AS_PF_FAULT; 215 216 ASSERT((addr >= ALIGN_DOWN(entry->p_vaddr, PAGE_SIZE)) && 217 (addr < entry->p_vaddr + entry->p_memsz)); 215 216 if (addr < ALIGN_DOWN(entry->p_vaddr, PAGE_SIZE)) 217 return AS_PF_FAULT; 218 219 if (addr >= entry->p_vaddr + entry->p_memsz) 220 return AS_PF_FAULT; 221 218 222 i = (addr - ALIGN_DOWN(entry->p_vaddr, PAGE_SIZE)) >> PAGE_WIDTH; 219 223 base = (uintptr_t)
Note:
See TracChangeset
for help on using the changeset viewer.