Changeset ddfd158 in mainline
- Timestamp:
- 2013-03-16T22:49:33Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 89f61be
- Parents:
- b696cbf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips32/src/mm/tlb.c
rb696cbf rddfd158 197 197 pte_t *pte; 198 198 199 badvaddr = cp0_badvaddr_read(); 200 199 201 /* 200 202 * Locate the faulting entry in TLB. … … 204 206 205 207 /* 206 * Fail if the entry is not in TLB. 208 * Emit warning if the entry is not in TLB. 209 * 210 * We do not assert on this because this could be a manifestation of 211 * an emulator bug, such as QEMU Bug #1128935: 212 * https://bugs.launchpad.net/qemu/+bug/1128935 207 213 */ 208 ASSERT(!index.p); 209 210 badvaddr = cp0_badvaddr_read(); 214 if (index.p) { 215 printf("%s: TLBP failed in exception handler (badvaddr=%#" 216 PRIxn ", ASID=%d).\n", __func__, badvaddr, 217 AS ? AS->asid : -1); 218 return; 219 } 211 220 212 221 pte = page_mapping_find(AS, badvaddr, true);
Note:
See TracChangeset
for help on using the changeset viewer.