mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user