Author: blueswirl Date: 2008-09-02 17:46:27 +0200 (Tue, 02 Sep 2008) New Revision: 233
Modified: openbios-devel/arch/sparc64/openbios.c Log: Fix virtual to physical address translation (Igor Kovalenko)
Modified: openbios-devel/arch/sparc64/openbios.c =================================================================== --- openbios-devel/arch/sparc64/openbios.c 2008-08-30 10:55:33 UTC (rev 232) +++ openbios-devel/arch/sparc64/openbios.c 2008-09-02 15:46:27 UTC (rev 233) @@ -110,7 +110,7 @@ } tag = spitfire_get_dtlb_tag(i); if ((virt & mask) == (tag & mask)) { - phys = tag & mask & 0x000001fffffff000; + phys = data & mask & 0x000001fffffff000; phys |= virt & ~mask; PUSH(phys & 0xffffffff); PUSH(phys >> 32);