mm: New XENMEM space, XENMAPSPACE_gmfn_range
authorJean Guyader <jean.guyader@eu.citrix.com>
Fri, 18 Nov 2011 13:42:08 +0000 (13:42 +0000)
committerJean Guyader <jean.guyader@eu.citrix.com>
Fri, 18 Nov 2011 13:42:08 +0000 (13:42 +0000)
commita04811a315e059101fa3b3303e75b97eac7c5c95
tree2dee7798c74f28aa485a2084fef1ab43729e31e9
parent19c617a85bb3c4d4fa9afc4919273e0f9b71cb85
mm: New XENMEM space, XENMAPSPACE_gmfn_range

XENMAPSPACE_gmfn_range is like XENMAPSPACE_gmfn but it runs on
a range of pages. The size of the range is defined in a new field.

This new field .size is located in the 16 bits padding between .domid
and .space in struct xen_add_to_physmap to stay compatible with older
versions.

Signed-off-by: Jean Guyader <jean.guyader@eu.citrix.com>
Committed-by: Keir Fraser <keir@xen.org>
xen/arch/x86/mm.c
xen/arch/x86/x86_64/compat/mm.c
xen/include/public/memory.h