[OpenBIOS] [PATCH] sparc64 add mmu translate and unmap methods

Igor Kovalenko igor.v.kovalenko at gmail.com
Sat Sep 27 19:50:01 CEST 2008


This patch enables mmu methonds "translate" and "unmap" for sparc64.

Helper function spitfire_translate walks through dtlb entries and
performs phys to virt translation. Two other helpers itlb_demap and
dtlb_demap perform actual tlb entry demapping. It is then easy to
implement unmap_pages() which is the reverse of map_pages(), and
enable mmu_unmap as the result.

I tested these changes to work with qemu-system-sparc64 loading gentoo
2008.0 iso image.
qemu is currently lacking spitfire demap ASI support which I'll post
there shortly.

Please apply.

Kind regards,
Igor V. Kovalenko
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qemu-sparc64-mmu-functions.patch
Type: application/octet-stream
Size: 3218 bytes
Desc: not available
URL: <http://lists.openbios.org/pipermail/openbios/attachments/20080927/6c548169/attachment.dll>

More information about the OpenBIOS mailing list