14 #include <asm/uaccess.h>
15 #include <asm/pgtable.h>
17 #include <asm/mmu_context.h>
32 int protection,
int writeaccess);
51 int miss, we, writeac;
58 select = *R_TLB_SELECT;
61 page_id =
IO_EXTRACT(R_MMU_CAUSE, page_id, cause);
62 acc =
IO_EXTRACT(R_MMU_CAUSE, acc_excp, cause);
63 inv =
IO_EXTRACT(R_MMU_CAUSE, inv_excp, cause);
64 index =
IO_EXTRACT(R_TLB_SELECT, index, select);
66 miss =
IO_EXTRACT(R_MMU_CAUSE, miss_excp, cause);
68 writeac =
IO_EXTRACT(R_MMU_CAUSE, wr_rd, cause);
70 D(
printk(
"bus_fault from IRP 0x%lx: addr 0x%lx, miss %d, inv %d, we %d, acc %d, dx %d pid %d\n",
71 regs->
irp, address, miss, inv, we, acc, index, page_id));