diff options
author | Juergen Gross <jgross@suse.com> | 2015-07-17 06:51:28 +0200 |
---|---|---|
committer | David Vrabel <david.vrabel@citrix.com> | 2015-08-20 13:24:20 +0200 |
commit | e612b4a7db4ae1dd8c2bbe171e10c21723de95b2 (patch) | |
tree | b8f5cba2c3ebb89e15e15704b907ae701f92eb59 /arch/x86/xen/xen-ops.h | |
parent | xen: split counting of extra memory pages from remapping (diff) | |
download | linux-e612b4a7db4ae1dd8c2bbe171e10c21723de95b2.tar.xz linux-e612b4a7db4ae1dd8c2bbe171e10c21723de95b2.zip |
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>
Diffstat (limited to 'arch/x86/xen/xen-ops.h')
-rw-r--r-- | arch/x86/xen/xen-ops.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/xen/xen-ops.h b/arch/x86/xen/xen-ops.h index 2292721b1d10..a4cbb76642d8 100644 --- a/arch/x86/xen/xen-ops.h +++ b/arch/x86/xen/xen-ops.h @@ -39,6 +39,7 @@ void xen_reserve_top(void); void xen_mm_pin_all(void); void xen_mm_unpin_all(void); +bool __init xen_is_e820_reserved(phys_addr_t start, phys_addr_t size); unsigned long __ref xen_chk_extra_mem(unsigned long pfn); void __init xen_inv_extra_mem(void); void __init xen_remap_memory(void); |