Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[patch] M2P/P2M abstraction



Hi list,

M2P and P2M mechanisms are rather MD than MI. AFAIK, for Xen, the xpmap_phys_to_machine_mapping/machine_to_phys is x86 specific.

This small patch [1] makes use of abstraction macros for the M2P
translation, so that Xen drivers do not use M2P/P2M arrays directly.

Compile tested against XEN{2,3}_DOM{0,U}, and their PAE version. Please
review.

[1] http://www.netbsd.org/~jym/p2m.diff

--
Jean-Yves Migeon
jeanyves.migeon%free.fr@localhost




Home | Main Index | Thread Index | Old Index