xen: check memory area against e820 map
authorJuergen Gross <jgross@suse.com>
Fri, 17 Jul 2015 04:51:28 +0000 (06:51 +0200)
committerDavid Vrabel <david.vrabel@citrix.com>
Thu, 20 Aug 2015 11:24:20 +0000 (12:24 +0100)
commite612b4a7db4ae1dd8c2bbe171e10c21723de95b2
treeb8f5cba2c3ebb89e15e15704b907ae701f92eb59
parent5097cdf6cef15439f971df54f9abcf143d7ca698
xen: check memory area against e820 map

Provide a service routine to check a physical memory area against the
E820 map. The routine will return false if the complete area is RAM
according to the E820 map and true otherwise.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: David Vrabel <david.vrabel@citrix.com>
Acked-by: Konrad Rzeszutek Wilk <Konrad.wilk@oracle.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
arch/x86/xen/setup.c
arch/x86/xen/xen-ops.h