Changeset 89c57b6 in mainline for kernel/arch/arm32/src/mm/page_fault.c
- Timestamp:
- 2011-04-13T14:45:41Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 88634420
- Parents:
- cefb126 (diff), 17279ead (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
rcefb126 r89c57b6 141 141 if (instr.condition == 0xf) { 142 142 panic("page_fault - instruction does not access memory " 143 "(instr_code: %x, badvaddr:%x).", instr, badvaddr); 143 "(instr_code: %#0" PRIx32 ", badvaddr:%p).", 144 instr_union.pc, (void *) badvaddr); 144 145 return PF_ACCESS_EXEC; 145 146 } … … 160 161 161 162 panic("page_fault - instruction doesn't access memory " 162 "(instr_code: %x, badvaddr:%x).", instr, badvaddr); 163 "(instr_code: %#0" PRIx32 ", badvaddr:%p).", 164 instr_union.pc, (void *) badvaddr); 163 165 164 166 return PF_ACCESS_EXEC; … … 183 185 if (ret == AS_PF_FAULT) { 184 186 fault_if_from_uspace(istate, "Page fault: %#x.", badvaddr); 185 panic_memtrap(istate, access, badvaddr, "Page fault.");187 panic_memtrap(istate, access, badvaddr, NULL); 186 188 } 187 189 } … … 198 200 199 201 if (ret == AS_PF_FAULT) { 200 panic_memtrap(istate, PF_ACCESS_EXEC, istate->pc, 201 "Page fault - prefetch_abort."); 202 fault_if_from_uspace(istate, 203 "Page fault - prefetch_abort: %#x.", istate->pc); 204 panic_memtrap(istate, PF_ACCESS_EXEC, istate->pc, NULL); 202 205 } 203 206 }
Note:
See TracChangeset
for help on using the changeset viewer.