Fix virtual to physical address translation (Igor Kovalenko)

git-svn-id: svn://coreboot.org/openbios/openbios-devel@233 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
Blue Swirl
2008-09-02 15:46:27 +00:00
parent b7d48e0105
commit c82272a91f

View File

@@ -110,7 +110,7 @@ mmu_translate(void)
}
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);