commit | 32df75cd148b43e007848ddbfdb1ea25535114cb | [log] [tgz] |
---|---|---|
author | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | Tue Dec 31 12:37:52 2013 -0500 |
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | Mon Jan 06 10:44:02 2014 -0500 |
tree | 9c0154cf25df8736faa3c2315172a1258e18749e | |
parent | 696fd7c5b2ecb31b339019ced4fe15a3f9e7419a [diff] |
xen/mmu/p2m: Refactor the xen_pagetable_init code (v2). The revectoring and copying of the P2M only happens when !auto-xlat and on 64-bit builds. It is not obvious from the code, so lets have seperate 32 and 64-bit functions. We also invert the check for auto-xlat to make the code flow simpler. Suggested-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>