Changeset 26fa0f9f in mainline


Ignore:
Timestamp:
2008-11-18T20:03:17Z (16 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1d8cdb1
Parents:
4ad8f19
Message:

Handle page faults from userspace properly on ppc32, do not panic.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ppc32/src/mm/tlb.c

    r4ad8f19 r26fa0f9f  
    3636#include <arch/mm/tlb.h>
    3737#include <arch/interrupt.h>
     38#include <interrupt.h>
    3839#include <mm/as.h>
    3940#include <arch.h>
     
    117118        if (s)
    118119                sym2 = s;
     120
     121        fault_if_from_uspace(istate,
     122            "%p: PHT Refill Exception at %p (%s<-%s)\n", badvaddr,
     123            istate->pc, symbol, sym2);
    119124        panic("%p: PHT Refill Exception at %p (%s<-%s)\n", badvaddr,
    120125            istate->pc, symbol, sym2);
Note: See TracChangeset for help on using the changeset viewer.