staticunsignedlong virt_to_phys_slow(unsignedlong vaddr)
{ if (CPU_IS_060) { unsignedlong paddr;
/* The PLPAR instruction causes an access error if the translation * is not possible. To catch this we use the same exception mechanism
* as for user space accesses in <asm/uaccess.h>. */ asmvolatile (".chip 68060\n" "1: plpar (%0)\n" ".chip 68k\n" "2:\n" ".section .fixup,\"ax\"\n" " .even\n" "3: sub.l %0,%0\n" " jra 2b\n" ".previous\n" ".section __ex_table,\"a\"\n" " .align 4\n" " .long 1b,3b\n" ".previous"
: "=a" (paddr)
: "0" (vaddr)); return paddr;
} elseif (CPU_IS_040) { unsignedlong mmusr;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.