Ignore:
Timestamp:
2012-11-25T21:34:07Z (12 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
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.
Message:

Merge mainline changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/arm32/src/mm/page_fault.c

    r150a271 r8f88beb  
    289289#error "Unsupported architecture"
    290290#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);
    297292}
    298293
     
    305300void prefetch_abort(unsigned int exc_no, istate_t *istate)
    306301{
    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);
    315303}
    316304
Note: See TracChangeset for help on using the changeset viewer.