Ignore:
Timestamp:
2010-07-12T14:42:46Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
44c69b66
Parents:
d5a1c73
Message:

Introduce PF_ACCESS_UNKNOWN to be used by the debuging/panicking code in
situations in which the trap handler does not know the exact access type.

Do not pass context-specific messages of only minimal information value to
panic_memtrap().

File:
1 edited

Legend:

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

    rd5a1c73 rc15b374  
    183183        if (ret == AS_PF_FAULT) {
    184184                fault_if_from_uspace(istate, "Page fault: %#x.", badvaddr);
    185                 panic_memtrap(istate, access, badvaddr, "Page fault.");
     185                panic_memtrap(istate, access, badvaddr, NULL);
    186186        }
    187187}
     
    200200                fault_if_from_uspace(istate,
    201201                    "Page fault - prefetch_abort: %#x.", istate->pc);
    202                 panic_memtrap(istate, PF_ACCESS_EXEC, istate->pc,
    203                     "Page fault - prefetch_abort.");
     202                panic_memtrap(istate, PF_ACCESS_EXEC, istate->pc, NULL);
    204203        }
    205204}
Note: See TracChangeset for help on using the changeset viewer.