Changeset 8f88beb in mainline for kernel/arch/arm32/src/mm/page_fault.c
- Timestamp:
- 2012-11-25T21:34:07Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e1a27be
- Parents:
- 150a271 (diff), 7462674 (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/arch/arm32/src/mm/page_fault.c
r150a271 r8f88beb 289 289 #error "Unsupported architecture" 290 290 #endif 291 const int ret = as_page_fault(badvaddr, access, istate); 292 293 if (ret == AS_PF_FAULT) { 294 fault_if_from_uspace(istate, "Page fault: %#x.", badvaddr); 295 panic_memtrap(istate, access, badvaddr, NULL); 296 } 291 as_page_fault(badvaddr, access, istate); 297 292 } 298 293 … … 305 300 void prefetch_abort(unsigned int exc_no, istate_t *istate) 306 301 { 307 /* NOTE: We should use IFAR and IFSR here. */ 308 int ret = as_page_fault(istate->pc, PF_ACCESS_EXEC, istate); 309 310 if (ret == AS_PF_FAULT) { 311 fault_if_from_uspace(istate, 312 "Page fault - prefetch_abort: %#x.", istate->pc); 313 panic_memtrap(istate, PF_ACCESS_EXEC, istate->pc, NULL); 314 } 302 as_page_fault(istate->pc, PF_ACCESS_EXEC, istate); 315 303 } 316 304
Note:
See TracChangeset
for help on using the changeset viewer.