j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
Author: blueswirl Date: 2008-07-16 18:51:39 +0200 (Wed, 16 Jul 2008) New Revision: 204
Modified: openbios-devel/arch/sparc64/openbios.c Log: Fix MMU translation
Modified: openbios-devel/arch/sparc64/openbios.c =================================================================== --- openbios-devel/arch/sparc64/openbios.c 2008-07-16 11:48:43 UTC (rev 203) +++ openbios-devel/arch/sparc64/openbios.c 2008-07-16 16:51:39 UTC (rev 204) @@ -83,8 +83,9 @@ : "=r"(phys) : "r" (virt), "i" (ASI_DTLB_TAG_READ));
if (phys & 0x8000000000000000) { // Valid entry? + phys &= 0x000001fffffff000; + PUSH(phys & 0xffffffff); PUSH(phys >> 32); - PUSH(phys & 0xffffffff); PUSH(0); // XXX PUSH(-1); } else {